зеркало из https://github.com/mozilla/pjs.git
match buffered i/o registry change in XP_MAC section
This commit is contained in:
Родитель
0e6a16c9a4
Коммит
b83b004785
|
@ -470,11 +470,7 @@ NS_IMETHODIMP nsRegistry::OpenWellKnownRegistry( uint32 regid ) {
|
|||
return NS_ERROR_REG_BADTYPE;
|
||||
}
|
||||
|
||||
// WARNING:
|
||||
// regNSPRPath and regFile need to have the same scope
|
||||
// since the regFile will point to data in regNSPRPath
|
||||
nsNSPRPath regNSPRPath(*registryLocation);
|
||||
const char *regFile = (const char *) regNSPRPath;
|
||||
const char *regFile = registryLocation->GetNativePathCString();
|
||||
|
||||
#ifdef DEBUG_dp
|
||||
printf("nsRegistry: Opening std registry %s\n", regFile);
|
||||
|
|
|
@ -2010,11 +2010,7 @@ NS_IMETHODIMP nsProfile::MigrateProfileInfo()
|
|||
*regLocation += "Preferences";
|
||||
*regLocation += oldMacReg;
|
||||
|
||||
// WARNING
|
||||
// regNSPRPath and regFile need to have the same scope
|
||||
// since the regFile will point to data in regNSPRPath
|
||||
nsNSPRPath regNSPRPath(*regLocation);
|
||||
PL_strcpy(oldRegFile, (const char *) regNSPRPath);
|
||||
PL_strcpy(oldRegFile, regLocation->GetNativePathCString());
|
||||
#endif
|
||||
rv = m_reg->Open(oldRegFile);
|
||||
|
||||
|
|
|
@ -470,11 +470,7 @@ NS_IMETHODIMP nsRegistry::OpenWellKnownRegistry( uint32 regid ) {
|
|||
return NS_ERROR_REG_BADTYPE;
|
||||
}
|
||||
|
||||
// WARNING:
|
||||
// regNSPRPath and regFile need to have the same scope
|
||||
// since the regFile will point to data in regNSPRPath
|
||||
nsNSPRPath regNSPRPath(*registryLocation);
|
||||
const char *regFile = (const char *) regNSPRPath;
|
||||
const char *regFile = registryLocation->GetNativePathCString();
|
||||
|
||||
#ifdef DEBUG_dp
|
||||
printf("nsRegistry: Opening std registry %s\n", regFile);
|
||||
|
|
Загрузка…
Ссылка в новой задаче