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
This commit is contained in:
tingley@sundell.net
2001-12-22 19:08:48 +00:00
parent 5cd70489f5
commit db2df145c6
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;
}