gcc4.3 Stream fix

git-svn-id: svn://ultimatepp.org/upp/trunk@581 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2008-10-31 12:16:37 +00:00
parent 557fb2cd4d
commit bdd33f7367

View file

@ -1303,7 +1303,7 @@ bool FileMapping::Create(const char *file, int64 filesize_, bool delete_share)
}
#endif
#ifdef PLATFORM_POSIX
hfile = open(ToSystemCharset(file), O_RDWR | O_CREAT);
hfile = open(ToSystemCharset(file), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
if(hfile == -1)
return false;
#endif