Browse Source

Fix graphs directory being created with strange permissions (#205)

hl_urbicide
Roman Chistokhodov 3 years ago committed by GitHub
parent
commit
0c46e1b5bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dlls/nodes.cpp

2
dlls/nodes.cpp

@ -48,7 +48,7 @@ LINK_ENTITY_TO_CLASS( info_node_air, CNodeEnt ) @@ -48,7 +48,7 @@ LINK_ENTITY_TO_CLASS( info_node_air, CNodeEnt )
#elif !_WIN32
#include <unistd.h>
#include <sys/stat.h>
#define CreateDirectoryA(p, n) mkdir(p,777)
#define CreateDirectoryA(p, n) mkdir(p, 0777)
#endif
//=========================================================

Loading…
Cancel
Save