Re: nsComponentManagerImpl::{Read,Write}PersistentRegistry

Doug Turner <[email protected]> Tue, 10 Dec 2002 13:08:28 -0800
Newsgroups gmane.comp.mozilla.devel.xpcom
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Gregory Steuck wrote:
>>>>>>"Doug" == Doug Turner <[email protected]> writes:
> 
> 
>     Doug> You're correct.  There was a bug in how the category manager
>     Doug> was started - it was only started if you ran through the
>     Doug> AutoRegister code path.  I fixes this bug for 1.3a which
>     Doug> should be out in a couple of days - the patch is on the trunk
>     Doug> now.  You can find the patch in this bug:
> 
>     Doug> http://bugzilla.mozilla.org/show_bug.cgi?id=182771
> 
> Thank you Doug. I applied the patch (or rather updated
> nsComponentManagerImpl.cpp to 1.216). I am getting a much better result
> now: CATEGORIES section is no longer empty. Yet, the orginal problem
> persists: no frame when compreg.dat exists. So, I went ahead and
> compared the original and rewritten files. There is still a small
> difference in some records in CLASSIDS group. Namely the second and the
> fourth tokens disappear. So,
> 
> {1cd91b88-1dd2-11b2-92e1-ed22ed298000},@mozilla.org/preferences-service;1,application/x-mozilla-static,Preferences Server,nsPrefModule
> 
> becomes:
> 
> {1cd91b88-1dd2-11b2-92e1-ed22ed298000},,application/x-mozilla-static,,nsPrefModule
> 
> 
> Maybe someone could comment if this is the correct behavior. Complete
> diff is attached.

Did you completely remove this compreg.dat and have it be regenerated 
after testing this new patch?

Doug Turner
[email protected]