Empowering the world. Bug. 25374, basically we create a directory without

the correct permission.
r=racham&&mozbot.
This commit is contained in:
dougt%netscape.com 2000-02-04 22:57:37 +00:00
Родитель 22851e58a4
Коммит a10fe33677
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -502,8 +502,8 @@ class NS_COM nsFileSpec
// point to the original. Sets mError.
nsresult ResolveSymlink(PRBool& wasSymlink);
void CreateDirectory(int mode = 0700 /* for unix */);
void CreateDir(int mode = 0700) { CreateDirectory(mode); }
void CreateDirectory(int mode = 0775 /* for unix */);
void CreateDir(int mode = 0775) { CreateDirectory(mode); }
// workaround for yet another VC++ bug with long identifiers.
void Delete(PRBool inRecursive) const;
nsresult Truncate(PRInt32 aNewLength) const;