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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user