From 0993cbca5fc7d7074242ddc95b876a8a48591efc Mon Sep 17 00:00:00 2001 From: "dwitte%stanford.edu" Date: Tue, 20 Jul 2004 00:25:48 +0000 Subject: [PATCH] backing out file permissions change to see if it fixes orange. git-svn-id: svn://10.0.0.236/trunk@159523 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/modules/libpref/src/nsPrefService.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mozilla/modules/libpref/src/nsPrefService.cpp b/mozilla/modules/libpref/src/nsPrefService.cpp index ca2c9084a3e..cb0d2a00209 100644 --- a/mozilla/modules/libpref/src/nsPrefService.cpp +++ b/mozilla/modules/libpref/src/nsPrefService.cpp @@ -480,10 +480,7 @@ nsresult nsPrefService::WritePrefFile(nsIFile* aFile) // execute a "safe" save by saving through a tempfile rv = NS_NewSafeLocalFileOutputStream(getter_AddRefs(outStreamSink), - aFile, - PR_WRONLY, - /*octal*/ 0600, - 0); + aFile); if (NS_FAILED(rv)) return rv; rv = NS_NewBufferedOutputStream(getter_AddRefs(outStream), outStreamSink, 4096);