Remove the O_TRUNC when we open a newly created file (its not needed and
produces undesirable side effects on OpenVMS). b=68255 r=sspitzer sr=mscott a=leaf
This commit is contained in:
Родитель
fffc361896
Коммит
b3e430cc14
|
@ -766,7 +766,7 @@ nsresult nsExternalAppHandler::SetUpTempFile(nsIChannel * aChannel)
|
|||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
nsCOMPtr<nsITransport> fileTransport;
|
||||
rv = fts->CreateTransport(mTempFile, PR_WRONLY | PR_CREATE_FILE | PR_TRUNCATE, 0664, getter_AddRefs(fileTransport));
|
||||
rv = fts->CreateTransport(mTempFile, PR_WRONLY | PR_CREATE_FILE, 0664, getter_AddRefs(fileTransport));
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
rv = fileTransport->OpenOutputStream(0, -1, 0, getter_AddRefs(mOutStream));
|
||||
|
|
Загрузка…
Ссылка в новой задаче