fix regression #33625 - back out removal of Exists() for now (eventually there will be a better fix here)

git-svn-id: svn://10.0.0.236/trunk@64409 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
alecf%netscape.com
2000-03-29 00:39:47 +00:00
parent d77f1e218b
commit bdf03fd66e

View File

@@ -1007,6 +1007,9 @@ PrefResult pref_OpenFileSpec(
if (NS_FAILED(fileSpec->ResolveSymlink()))
return PREF_ERROR;
if (!fileSpec->Exists())
return PREF_ERROR;
char* readBuf;
if (NS_FAILED(fileSpec->GetFileContents(&readBuf)))