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. git-svn-id: svn://10.0.0.236/trunk@61424 18797224-902f-48f8-a5cc-f745e15eee43
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