mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-04 21:10:32 +00:00
Merge pull request #638 from Ragora/bugfix-create-directory-logic
BugFix: Correct usage of mkdir in posixVolume.cpp
This commit is contained in:
commit
8c2aaaad18
1 changed files with 1 additions and 1 deletions
|
|
@ -196,7 +196,7 @@ FileNodeRef PosixFileSystem::create(const Path& path, FileNode::Mode mode)
|
|||
{
|
||||
String file = buildFileName(_volume,path);
|
||||
|
||||
if (mkdir(file.c_str(),S_IRWXU | S_IRWXG | S_IRWXO))
|
||||
if (mkdir(file.c_str(),S_IRWXU | S_IRWXG | S_IRWXO) == 0)
|
||||
return new PosixDirectory(path,file);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue