2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2025-01-23 18:40:15 +01:00

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

This commit is contained in:
Roman Chistokhodov 2021-11-18 22:39:50 +03:00 committed by GitHub
parent 6802cda932
commit 0c46e1b5bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
//=========================================================