fix for bug 2414 -- cookie file not being created

This commit is contained in:
morse%netscape.com 1999-03-13 21:26:35 +00:00
parent 111c3347ee
commit 72ed2fa179

View File

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