From 2851ebfb5651aa30440325551c822913c4b7ee9a 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. --- xpcom/io/nsLocalFileWin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpcom/io/nsLocalFileWin.cpp b/xpcom/io/nsLocalFileWin.cpp index 188746803487..ea1e1f795561 100644 --- a/xpcom/io/nsLocalFileWin.cpp +++ b/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; }