зеркало из https://github.com/mozilla/gecko-dev.git
fix regression #33625 - back out removal of Exists() for now (eventually there will be a better fix here)
This commit is contained in:
Родитель
dec52fb3d2
Коммит
3b3ee468e0
|
@ -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)))
|
||||
|
|
Загрузка…
Ссылка в новой задаче