From bdd33f736707f3684547b525a62c6622a2e3db42 Mon Sep 17 00:00:00 2001 From: cxl Date: Fri, 31 Oct 2008 12:16:37 +0000 Subject: [PATCH] gcc4.3 Stream fix git-svn-id: svn://ultimatepp.org/upp/trunk@581 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/Stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/Core/Stream.cpp b/uppsrc/Core/Stream.cpp index 156366d51..591554647 100644 --- a/uppsrc/Core/Stream.cpp +++ b/uppsrc/Core/Stream.cpp @@ -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