linux fix for creating new files
parent
e3b6d341cd
commit
ead9dfad99
|
@ -948,7 +948,7 @@ out:
|
||||||
internal
|
internal
|
||||||
Sys_Save_File_Sig(system_save_file){
|
Sys_Save_File_Sig(system_save_file){
|
||||||
b32 result = 0;
|
b32 result = 0;
|
||||||
int fd = open(filename, O_WRONLY | O_TRUNC);
|
int fd = open(filename, O_WRONLY | O_TRUNC | O_CREAT, 00640);
|
||||||
|
|
||||||
LINUX_FN_DEBUG("%s %d", filename, size);
|
LINUX_FN_DEBUG("%s %d", filename, size);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue