From bb7f9cc62a5611f4c7159fc61374e197e8646a8a Mon Sep 17 00:00:00 2001 From: "dougt%netscape.com" Date: Tue, 22 Feb 2000 06:16:08 +0000 Subject: [PATCH] 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 --- mozilla/xpcom/io/nsLocalFileWin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/xpcom/io/nsLocalFileWin.cpp b/mozilla/xpcom/io/nsLocalFileWin.cpp index 18874680348..ea1e1f79556 100644 --- a/mozilla/xpcom/io/nsLocalFileWin.cpp +++ b/mozilla/xpcom/io/nsLocalFileWin.cpp @@ -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; }