Fix for 139512. GPF During Installation in Regxpcom during install. patch by jband, r=dougt, sr=shaver, a=blizzard

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119632 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dougt%netscape.com
2002-04-23 21:19:39 +00:00
parent c5bd386711
commit 521e7835df

View File

@@ -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;