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

This commit is contained in:
dougt%netscape.com 2002-04-23 23:55:49 +00:00
Родитель e35ea80166
Коммит 00935c4654
1 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

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