mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-07 05:15:09 +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 )
|
if ( status == PR_SUCCESS )
|
||||||
mDirty = PR_FALSE;
|
mDirty = PR_FALSE;
|
||||||
else
|
else
|
||||||
result = NS_ERROR_FAILURE;
|
result = NS_ERROR_FILE_NOT_FOUND;
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user