From 92ccebf6dca558a9d1d69809929eccd88712af2d Mon Sep 17 00:00:00 2001 From: "gavin%gavinsharp.com" Date: Sun, 24 Sep 2006 15:53:37 +0000 Subject: [PATCH] Temporary hack to fix bustage from bug 333129 git-svn-id: svn://10.0.0.236/trunk@212247 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/modules/libjar/nsZipArchive.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mozilla/modules/libjar/nsZipArchive.cpp b/mozilla/modules/libjar/nsZipArchive.cpp index f656cdb5d90..0f5afdc6989 100644 --- a/mozilla/modules/libjar/nsZipArchive.cpp +++ b/mozilla/modules/libjar/nsZipArchive.cpp @@ -696,7 +696,8 @@ nsZipArchive::FindInit(const char * aPattern, nsZipFind **aFind) // Create synthetic directory entries on demand nsresult rv = BuildSynthetics(); - if (NS_FAILED(rv)) return rv; + // XXX NS_FAILED doesn't exist when building STANDALONE + if (rv & 0x80000000) return rv; // validate the pattern if (aPattern)