Caused a regression in the nsLocalFile. If ResolveAndStat fails, we want

to return the NS_ERROR_FILE_NOT_FOUND value, not the NS_ERROR_FAILURE value.
a=jar.
This commit is contained in:
dougt%netscape.com 2000-02-22 06:16:08 +00:00
parent 887eabb12d
commit 2851ebfb56

View File

@ -546,7 +546,7 @@ nsLocalFile::ResolveAndStat(PRBool resolveTerminal)
if ( status == PR_SUCCESS )
mDirty = PR_FALSE;
else
result = NS_ERROR_FAILURE;
result = NS_ERROR_FILE_NOT_FOUND;
return result;
}