fix for bug 2414 -- cookie file not being created
git-svn-id: svn://10.0.0.236/trunk@24077 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user