mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-02 16:22:40 -06:00
gcc4.3 Stream fix
git-svn-id: svn://ultimatepp.org/upp/trunk@581 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
557fb2cd4d
commit
bdd33f7367
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue