mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 19:33:18 +00:00
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:
parent
887eabb12d
commit
2851ebfb56
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user