Closed Bug 191055 Opened 22 years ago Closed 22 years ago

compreg.dat woes...

Categories

(Core :: XPCOM, defect)

x86
Windows XP
defect
Not set
blocker

Tracking

()

RESOLVED FIXED
mozilla1.4alpha

People

(Reporter: dougt, Assigned: dougt)

Details

Attachments

(1 file)

copied from an internal db: It looks as if the .reg files *must* go in the same place as the components, or else none of the components can get registered. NS_XPCOM_COMPONENT_REGISTRY_FILE is not honored.
Severity: normal → blocker
Target Milestone: --- → mozilla1.4alpha
Attached patch patchSplinter Review
adds a new directory service key for the xpti registry. fixes the component registry keys.
Attachment #116485 - Flags: review?(darin)
Comment on attachment 116485 [details] [diff] [review] patch ignore those diffs to tests/nsIFileEnumerator.cpp and sample/*
Comment on attachment 116485 [details] [diff] [review] patch >Index: components/nsComponentManager.cpp >+ nsCAutoString leafName = originalLeafName; >+ leafName.Append(nsDependentCString(".tmp")); leafName.Assign(originalLeafName + NS_LITERAL_CSTRING(".tmp")); >Index: reflect/xptinfo/src/xptiManifest.cpp >+ nsCAutoString leafName = originalLeafName; >+ leafName.Append(nsDependentCString(".tmp")); same nit here. r+sr=darin with those changes.
Attachment #116485 - Flags: review?(darin)
Attachment #116485 - Flags: review+
Checking in components/nsComponentManager.cpp; /cvsroot/mozilla/xpcom/components/nsComponentManager.cpp,v <-- nsComponentManager.cpp new revision: 1.225; previous revision: 1.224 done Checking in components/nsComponentManager.h; /cvsroot/mozilla/xpcom/components/nsComponentManager.h,v <-- nsComponentManager.h new revision: 1.84; previous revision: 1.83 done Removing glue/standalone/nsDebugGlue.cpp; /cvsroot/mozilla/xpcom/glue/standalone/nsDebugGlue.cpp,v <-- nsDebugGlue.cpp new revision: delete; previous revision: 1.1 done Checking in io/nsDirectoryService.cpp; /cvsroot/mozilla/xpcom/io/nsDirectoryService.cpp,v <-- nsDirectoryService.cpp new revision: 1.58; previous revision: 1.57 done Checking in io/nsDirectoryService.h; /cvsroot/mozilla/xpcom/io/nsDirectoryService.h,v <-- nsDirectoryService.h new revision: 1.24; previous revision: 1.23 done Checking in io/nsDirectoryServiceDefs.h; /cvsroot/mozilla/xpcom/io/nsDirectoryServiceDefs.h,v <-- nsDirectoryServiceDefs.h new revision: 1.22; previous revision: 1.21 done Checking in reflect/xptinfo/src/xptiInterfaceInfoManager.cpp; /cvsroot/mozilla/xpcom/reflect/xptinfo/src/xptiInterfaceInfoManager.cpp,v <-- xptiInterfaceInfoManager.cpp new revision: 1.46; previous revision: 1.45 done Checking in reflect/xptinfo/src/xptiManifest.cpp; /cvsroot/mozilla/xpcom/reflect/xptinfo/src/xptiManifest.cpp,v <-- xptiManifest.cpp new revision: 1.27; previous revision: 1.26 done Checking in reflect/xptinfo/src/xptiprivate.h; /cvsroot/mozilla/xpcom/reflect/xptinfo/src/xptiprivate.h,v <-- xptiprivate.h new revision: 1.28; previous revision: 1.27 done bash-2.05b$ The keys can be found in nsDirectoryServiceDefs.h Thanks. marking fixed.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: