mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
fix for bug 2414 -- cookie file not being created
This commit is contained in:
parent
111c3347ee
commit
72ed2fa179
@ -848,7 +848,7 @@ PRIntn nsNetFile::convertToPRFlag(nsFileMode aMode) {
|
||||
case nsReadWriteBinary:
|
||||
return PR_RDWR;
|
||||
case nsOverWrite:
|
||||
return (PR_TRUNCATE | PR_WRONLY);
|
||||
return (PR_TRUNCATE | PR_WRONLY | PR_CREATE_FILE);
|
||||
default:
|
||||
return PR_RDONLY;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user