From ffce76ed5cd4ddaa07e4681fea2652fc0310ebfd Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Sun, 6 Aug 2006 20:36:26 +0000 Subject: fix for g_file_open --- common/os_calls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/os_calls.c b/common/os_calls.c index 6dc41e95..4269faba 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -501,7 +501,7 @@ g_file_open(char* file_name) FILE_SHARE_READ | FILE_SHARE_WRITE, 0, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, 0); #else - return open(file_name, O_RDWR | O_CREAT); + return open(file_name, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); #endif } -- cgit v1.2.1