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
This commit is contained in:
dwitte%stanford.edu
2004-07-20 00:25:48 +00:00
parent 8721fb6de7
commit 0993cbca5f

View File

@@ -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);