bug 100132: clean up over-zealous error masking in

nsRDFXMLDataSource::BlockingParse(), and bring nsLocalFileUnix's
OpenNSPRFileDesc() return values in line with other platforms.
r=waterson, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@111039 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
tingley%sundell.net
2001-12-22 19:08:48 +00:00
parent 12243f1699
commit c0aa10d601
2 changed files with 4 additions and 3 deletions

View File

@@ -350,7 +350,7 @@ nsLocalFile::OpenNSPRFileDesc(PRInt32 flags, PRInt32 mode, PRFileDesc **_retval)
*_retval = PR_Open(mPath.get(), flags, mode);
if (! *_retval)
return NS_ERROR_FAILURE;
return NS_ErrorAccordingToNSPR();
return NS_OK;
}