r,a=brendan@mozilla.org 24052
git-svn-id: svn://10.0.0.236/trunk@74606 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -375,10 +375,7 @@ nsSaveViaTempStream::nsSaveViaTempStream(const nsFileSpec& inFileToSave)
|
||||
{
|
||||
// Make sure the temp file's unique (in particular, different from the target file)
|
||||
mTempFileSpec->MakeUnique();
|
||||
open(
|
||||
*mTempFileSpec,
|
||||
(PR_WRONLY | PR_CREATE_FILE | PR_TRUNCATE),
|
||||
0700 /*(octal)*/);
|
||||
open(*mTempFileSpec, (PR_WRONLY | PR_CREATE_FILE | PR_TRUNCATE), 0666);
|
||||
} // nsSaveViaTempStream::nsSaveViaTempStream
|
||||
|
||||
//----------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user