MRE based clients crash when the components dir not present, r=chak, sr=alec, b=160404

This commit is contained in:
dougt%netscape.com 2002-08-09 04:31:58 +00:00
parent 36abefe61e
commit 23fe7fc407

View File

@ -293,6 +293,8 @@ xptiInterfaceInfoManager::GetCloneOfManifestDir(nsILocalFile** aDir)
// To be sure after the stuff above.
if(!mManifestDir)
return PR_FALSE;
mManifestDir->Create(nsIFile::DIRECTORY_TYPE, 0666);
}
return NS_SUCCEEDED(xptiCloneLocalFile(mManifestDir, aDir));
}