From 00935c465481f07e5d556d784809219bf87740cb Mon Sep 17 00:00:00 2001 From: "dougt%netscape.com" Date: Tue, 23 Apr 2002 23:55:49 +0000 Subject: [PATCH] Fix for 139512. GPF During Installation in Regxpcom during install. patch by jband, r=dougt, sr=shaver --- .../reflect/xptinfo/src/xptiInterfaceInfoManager.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/xpcom/reflect/xptinfo/src/xptiInterfaceInfoManager.cpp b/xpcom/reflect/xptinfo/src/xptiInterfaceInfoManager.cpp index c8bb7ce9392..55660699098 100644 --- a/xpcom/reflect/xptinfo/src/xptiInterfaceInfoManager.cpp +++ b/xpcom/reflect/xptinfo/src/xptiInterfaceInfoManager.cpp @@ -993,12 +993,12 @@ xptiInterfaceInfoManager::AddOnlyNewFilesFromFileList(nsISupportsArray* aSearchP rv = loader->EnumerateEntries(file, sink); if (NS_FAILED(rv)) return PR_FALSE; + // This will correspond to typelibRecord used in + // xptiInterfaceInfoManager::FoundEntry. + aWorkingSet->AppendFile(fileRecord); } else { NS_WARNING("Could not load XPT Zip loader"); } - // This will correspond to typelibRecord used in - // xptiInterfaceInfoManager::FoundEntry. - aWorkingSet->AppendFile(fileRecord); } } @@ -1140,12 +1140,12 @@ xptiInterfaceInfoManager::DoFullValidationMergeFromFileList(nsISupportsArray* aS rv = loader->EnumerateEntries(file, sink); if (NS_FAILED(rv)) return PR_FALSE; + // This will correspond to typelibRecord used in + // xptiInterfaceInfoManager::FoundEntry. + aWorkingSet->AppendFile(fileRecord); } else { NS_WARNING("Could not load XPT Zip loader"); } - // This will correspond to typelibRecord used in - // xptiInterfaceInfoManager::FoundEntry. - aWorkingSet->AppendFile(fileRecord); } } return PR_TRUE;