From cedda7e6891372607a1669e0499d111176c45412 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 18 Apr 1999 21:22:40 +0000 Subject: [PATCH] fix for the fix for the umask fix in wxTempFile git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/file.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/file.cpp b/src/common/file.cpp index f563a5cd3d..b29367e389 100644 --- a/src/common/file.cpp +++ b/src/common/file.cpp @@ -523,11 +523,11 @@ bool wxTempFile::Open(const wxString& strName) { // file probably didn't exist, just create with default mode _using_ // user's umask (new files creation should respet umask) - changedUmask = TRUE; + changedUmask = FALSE; } #endif // Unix - bool ok = m_file.Open(m_strTemp, wxFile::write, access); + bool ok = m_file.Open(m_strTemp, wxFile::write, access); #ifdef __UNIX__ if ( changedUmask ) -- 2.45.2