зеркало из https://github.com/mozilla/gecko-dev.git
Make ResolveSymLink() fail silently if target was not a shortcut. r=lumpy
This commit is contained in:
Родитель
822f287fa2
Коммит
dde56e71e8
|
@ -348,6 +348,11 @@ nsresult nsFileSpec::ResolveSymlink(PRBool& wasSymlink)
|
|||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
// It wasn't a shortcut. Oh well. Leave it like it was.
|
||||
hres = 0;
|
||||
}
|
||||
|
||||
// Release the pointer to the IPersistFile interface.
|
||||
ppf->Release();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче