Date: Fri, 14 Apr 2000 19:43:28 -0400 From: pete collins <pete@postpagan.com> To: Ken Lui <klui@cup.hp.com> Cc: freebsd-mozilla@FreeBSD.ORG Subject: Re: M16 with FreeBSD 3.2 Message-ID: <38F7AD1F.DD00668@postpagan.com> References: <Pine.HPX.4.10.10004141455530.24600-100000@cup44ux.cup.hp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------8722EA9833D5EDA905ED2D5D Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > > I understand that the problem is due to the way dlopen() works for > FreeBSD 3.x prior to 3.4 as discussed here: > <URL:http://x21.deja.com/getdoc.xp?AN=561730645&CONTEXT=955748598.1821704201&hitnum=51> > > Is there a back patch for FreeBSD 3.2 so that I won't need to upgrade > my installation of 3.2 to 3.4? Sure: Bruce M might be checking this patch in in the next day or so. http://bugzilla.mozilla.org/show_bug.cgi?id=14676 I'm attaching the patch here also. pete --------------8722EA9833D5EDA905ED2D5D Content-Type: text/plain; charset=us-ascii; name="DIFFS" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="DIFFS" Index: uconv//ucvcn/nsUCvCnModule.cpp =================================================================== RCS file: /cvsroot/mozilla/intl/uconv/ucvcn/nsUCvCnModule.cpp,v retrieving revision 1.11 diff -r1.11 nsUCvCnModule.cpp 142c142 < // Class nsConverterFactory [declaration] --- > // Class nsUCvCnFactory [declaration] 150c150 < class nsConverterFactory : public nsIFactory --- > class nsUCvCnFactory : public nsIFactory 163c163 < nsConverterFactory(FactoryData * aData); --- > nsUCvCnFactory(FactoryData * aData); 168c168 < virtual ~nsConverterFactory(); --- > virtual ~nsUCvCnFactory(); 179c179 < // Class nsConverterModule [declaration] --- > // Class nsUCvCnModule [declaration] 181c181 < class nsConverterModule : public nsIModule --- > class nsUCvCnModule : public nsIModule 194c194 < nsConverterModule(); --- > nsUCvCnModule(); 196c196 < virtual ~nsConverterModule(); --- > virtual ~nsUCvCnModule(); 205c205 < static nsConverterModule * gModule = NULL; --- > static nsUCvCnModule * gModule = NULL; 217c217 < nsConverterModule * m = new nsConverterModule(); --- > nsUCvCnModule * m = new nsUCvCnModule(); 233c233 < // Class nsConverterFactory [implementation] --- > // Class nsUCvCnFactory [implementation] 235c235 < NS_IMPL_ISUPPORTS(nsConverterFactory, NS_GET_IID(nsIFactory)); --- > NS_IMPL_ISUPPORTS(nsUCvCnFactory, NS_GET_IID(nsIFactory)); 237c237 < nsConverterFactory::nsConverterFactory(FactoryData * aData) --- > nsUCvCnFactory::nsUCvCnFactory(FactoryData * aData) 245c245 < nsConverterFactory::~nsConverterFactory() --- > nsUCvCnFactory::~nsUCvCnFactory() 253c253 < NS_IMETHODIMP nsConverterFactory::CreateInstance(nsISupports *aDelegate, --- > NS_IMETHODIMP nsUCvCnFactory::CreateInstance(nsISupports *aDelegate, 273c273 < NS_IMETHODIMP nsConverterFactory::LockFactory(PRBool aLock) --- > NS_IMETHODIMP nsUCvCnFactory::LockFactory(PRBool aLock) 282c282 < // Class nsConverterModule [implementation] --- > // Class nsUCvCnModule [implementation] 284c284 < NS_IMPL_ISUPPORTS(nsConverterModule, NS_GET_IID(nsIModule)) --- > NS_IMPL_ISUPPORTS(nsUCvCnModule, NS_GET_IID(nsIModule)) 286c286 < nsConverterModule::nsConverterModule() --- > nsUCvCnModule::nsUCvCnModule() 292c292 < nsConverterModule::~nsConverterModule() --- > nsUCvCnModule::~nsUCvCnModule() 297c297 < nsresult nsConverterModule::Initialize() --- > nsresult nsUCvCnModule::Initialize() 302c302 < void nsConverterModule::Shutdown() --- > void nsUCvCnModule::Shutdown() 309c309 < NS_IMETHODIMP nsConverterModule::GetClassObject(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvCnModule::GetClassObject(nsIComponentManager *aCompMgr, 331c331 < nsConverterFactory * fact; --- > nsUCvCnFactory * fact; 337c337 < fact = new nsConverterFactory(data); --- > fact = new nsUCvCnFactory(data); 351c351 < NS_IMETHODIMP nsConverterModule::RegisterSelf(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvCnModule::RegisterSelf(nsIComponentManager *aCompMgr, 414c414 < NS_IMETHODIMP nsConverterModule::UnregisterSelf(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvCnModule::UnregisterSelf(nsIComponentManager *aCompMgr, 428c428 < NS_IMETHODIMP nsConverterModule::CanUnload(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvCnModule::CanUnload(nsIComponentManager *aCompMgr, Index: uconv//ucvja/nsUCvJaModule.cpp =================================================================== RCS file: /cvsroot/mozilla/intl/uconv/ucvja/nsUCvJaModule.cpp,v retrieving revision 1.10 diff -r1.10 nsUCvJaModule.cpp 176c176 < // Class nsConverterFactory [declaration] --- > // Class nsUCvJaFactory [declaration] 184c184 < class nsConverterFactory : public nsIFactory --- > class nsUCvJaFactory : public nsIFactory 197c197 < nsConverterFactory(FactoryData * aData); --- > nsUCvJaFactory(FactoryData * aData); 202c202 < virtual ~nsConverterFactory(); --- > virtual ~nsUCvJaFactory(); 213c213 < // Class nsConverterModule [declaration] --- > // Class nsUCvJaModule [declaration] 215c215 < class nsConverterModule : public nsIModule --- > class nsUCvJaModule : public nsIModule 228c228 < nsConverterModule(); --- > nsUCvJaModule(); 230c230 < virtual ~nsConverterModule(); --- > virtual ~nsUCvJaModule(); 239c239 < static nsConverterModule * gModule = NULL; --- > static nsUCvJaModule * gModule = NULL; 251c251 < nsConverterModule * m = new nsConverterModule(); --- > nsUCvJaModule * m = new nsUCvJaModule(); 267c267 < // Class nsConverterFactory [implementation] --- > // Class nsUCvJaFactory [implementation] 269c269 < NS_IMPL_ISUPPORTS(nsConverterFactory, NS_GET_IID(nsIFactory)); --- > NS_IMPL_ISUPPORTS(nsUCvJaFactory, NS_GET_IID(nsIFactory)); 271c271 < nsConverterFactory::nsConverterFactory(FactoryData * aData) --- > nsUCvJaFactory::nsUCvJaFactory(FactoryData * aData) 279c279 < nsConverterFactory::~nsConverterFactory() --- > nsUCvJaFactory::~nsUCvJaFactory() 287c287 < NS_IMETHODIMP nsConverterFactory::CreateInstance(nsISupports *aDelegate, --- > NS_IMETHODIMP nsUCvJaFactory::CreateInstance(nsISupports *aDelegate, 307c307 < NS_IMETHODIMP nsConverterFactory::LockFactory(PRBool aLock) --- > NS_IMETHODIMP nsUCvJaFactory::LockFactory(PRBool aLock) 316c316 < // Class nsConverterModule [implementation] --- > // Class nsUCvJaModule [implementation] 318c318 < NS_IMPL_ISUPPORTS(nsConverterModule, NS_GET_IID(nsIModule)) --- > NS_IMPL_ISUPPORTS(nsUCvJaModule, NS_GET_IID(nsIModule)) 320c320 < nsConverterModule::nsConverterModule() --- > nsUCvJaModule::nsUCvJaModule() 326c326 < nsConverterModule::~nsConverterModule() --- > nsUCvJaModule::~nsUCvJaModule() 331c331 < nsresult nsConverterModule::Initialize() --- > nsresult nsUCvJaModule::Initialize() 336c336 < void nsConverterModule::Shutdown() --- > void nsUCvJaModule::Shutdown() 343c343 < NS_IMETHODIMP nsConverterModule::GetClassObject(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvJaModule::GetClassObject(nsIComponentManager *aCompMgr, 365c365 < nsConverterFactory * fact; --- > nsUCvJaFactory * fact; 371c371 < fact = new nsConverterFactory(data); --- > fact = new nsUCvJaFactory(data); 385c385 < NS_IMETHODIMP nsConverterModule::RegisterSelf(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvJaModule::RegisterSelf(nsIComponentManager *aCompMgr, 448c448 < NS_IMETHODIMP nsConverterModule::UnregisterSelf(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvJaModule::UnregisterSelf(nsIComponentManager *aCompMgr, 462c462 < NS_IMETHODIMP nsConverterModule::CanUnload(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvJaModule::CanUnload(nsIComponentManager *aCompMgr, Index: uconv//ucvko/nsUCvKoModule.cpp =================================================================== RCS file: /cvsroot/mozilla/intl/uconv/ucvko/nsUCvKoModule.cpp,v retrieving revision 1.10 diff -r1.10 nsUCvKoModule.cpp 110c110 < // Class nsConverterFactory [declaration] --- > // Class nsUCvKoFactory [declaration] 118c118 < class nsConverterFactory : public nsIFactory --- > class nsUCvKoFactory : public nsIFactory 131c131 < nsConverterFactory(FactoryData * aData); --- > nsUCvKoFactory(FactoryData * aData); 136c136 < virtual ~nsConverterFactory(); --- > virtual ~nsUCvKoFactory(); 147c147 < // Class nsConverterModule [declaration] --- > // Class nsUCvKoModule [declaration] 149c149 < class nsConverterModule : public nsIModule --- > class nsUCvKoModule : public nsIModule 162c162 < nsConverterModule(); --- > nsUCvKoModule(); 164c164 < virtual ~nsConverterModule(); --- > virtual ~nsUCvKoModule(); 173c173 < static nsConverterModule * gModule = NULL; --- > static nsUCvKoModule * gModule = NULL; 185c185 < nsConverterModule * m = new nsConverterModule(); --- > nsUCvKoModule * m = new nsUCvKoModule(); 201c201 < // Class nsConverterFactory [implementation] --- > // Class nsUCvKoFactory [implementation] 203c203 < NS_IMPL_ISUPPORTS(nsConverterFactory, NS_GET_IID(nsIFactory)); --- > NS_IMPL_ISUPPORTS(nsUCvKoFactory, NS_GET_IID(nsIFactory)); 205c205 < nsConverterFactory::nsConverterFactory(FactoryData * aData) --- > nsUCvKoFactory::nsUCvKoFactory(FactoryData * aData) 213c213 < nsConverterFactory::~nsConverterFactory() --- > nsUCvKoFactory::~nsUCvKoFactory() 221c221 < NS_IMETHODIMP nsConverterFactory::CreateInstance(nsISupports *aDelegate, --- > NS_IMETHODIMP nsUCvKoFactory::CreateInstance(nsISupports *aDelegate, 241c241 < NS_IMETHODIMP nsConverterFactory::LockFactory(PRBool aLock) --- > NS_IMETHODIMP nsUCvKoFactory::LockFactory(PRBool aLock) 250c250 < // Class nsConverterModule [implementation] --- > // Class nsUCvKoModule [implementation] 252c252 < NS_IMPL_ISUPPORTS(nsConverterModule, NS_GET_IID(nsIModule)) --- > NS_IMPL_ISUPPORTS(nsUCvKoModule, NS_GET_IID(nsIModule)) 254c254 < nsConverterModule::nsConverterModule() --- > nsUCvKoModule::nsUCvKoModule() 260c260 < nsConverterModule::~nsConverterModule() --- > nsUCvKoModule::~nsUCvKoModule() 265c265 < nsresult nsConverterModule::Initialize() --- > nsresult nsUCvKoModule::Initialize() 270c270 < void nsConverterModule::Shutdown() --- > void nsUCvKoModule::Shutdown() 277c277 < NS_IMETHODIMP nsConverterModule::GetClassObject(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvKoModule::GetClassObject(nsIComponentManager *aCompMgr, 299c299 < nsConverterFactory * fact; --- > nsUCvKoFactory * fact; 305c305 < fact = new nsConverterFactory(data); --- > fact = new nsUCvKoFactory(data); 319c319 < NS_IMETHODIMP nsConverterModule::RegisterSelf(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvKoModule::RegisterSelf(nsIComponentManager *aCompMgr, 382c382 < NS_IMETHODIMP nsConverterModule::UnregisterSelf(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvKoModule::UnregisterSelf(nsIComponentManager *aCompMgr, 396c396 < NS_IMETHODIMP nsConverterModule::CanUnload(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvKoModule::CanUnload(nsIComponentManager *aCompMgr, Index: uconv//ucvlatin/nsUCvLatinModule.cpp =================================================================== RCS file: /cvsroot/mozilla/intl/uconv/ucvlatin/nsUCvLatinModule.cpp,v retrieving revision 1.12 diff -r1.12 nsUCvLatinModule.cpp 805c805 < // Class nsConverterFactory [declaration] --- > // Class nsUCvLatinFactory [declaration] 813c813 < class nsConverterFactory : public nsIFactory --- > class nsUCvLatinFactory : public nsIFactory 826c826 < nsConverterFactory(FactoryData * aData); --- > nsUCvLatinFactory(FactoryData * aData); 831c831 < virtual ~nsConverterFactory(); --- > virtual ~nsUCvLatinFactory(); 842c842 < // Class nsConverterModule [declaration] --- > // Class nsUCvLatinModule [declaration] 844c844 < class nsConverterModule : public nsIModule --- > class nsUCvLatinModule : public nsIModule 857c857 < nsConverterModule(); --- > nsUCvLatinModule(); 859c859 < virtual ~nsConverterModule(); --- > virtual ~nsUCvLatinModule(); 868c868 < static nsConverterModule * gModule = NULL; --- > static nsUCvLatinModule * gModule = NULL; 880c880 < nsConverterModule * m = new nsConverterModule(); --- > nsUCvLatinModule * m = new nsUCvLatinModule(); 896c896 < // Class nsConverterFactory [implementation] --- > // Class nsUCvLatinFactory [implementation] 898c898 < NS_IMPL_THREADSAFE_ISUPPORTS1(nsConverterFactory, nsIFactory); --- > NS_IMPL_THREADSAFE_ISUPPORTS1(nsUCvLatinFactory, nsIFactory); 900c900 < nsConverterFactory::nsConverterFactory(FactoryData * aData) --- > nsUCvLatinFactory::nsUCvLatinFactory(FactoryData * aData) 908c908 < nsConverterFactory::~nsConverterFactory() --- > nsUCvLatinFactory::~nsUCvLatinFactory() 916c916 < NS_IMETHODIMP nsConverterFactory::CreateInstance(nsISupports *aDelegate, --- > NS_IMETHODIMP nsUCvLatinFactory::CreateInstance(nsISupports *aDelegate, 936c936 < NS_IMETHODIMP nsConverterFactory::LockFactory(PRBool aLock) --- > NS_IMETHODIMP nsUCvLatinFactory::LockFactory(PRBool aLock) 945c945 < // Class nsConverterModule [implementation] --- > // Class nsUCvLatinModule [implementation] 947c947 < NS_IMPL_ISUPPORTS(nsConverterModule, NS_GET_IID(nsIModule)) --- > NS_IMPL_ISUPPORTS(nsUCvLatinModule, NS_GET_IID(nsIModule)) 949c949 < nsConverterModule::nsConverterModule() --- > nsUCvLatinModule::nsUCvLatinModule() 955c955 < nsConverterModule::~nsConverterModule() --- > nsUCvLatinModule::~nsUCvLatinModule() 960c960 < nsresult nsConverterModule::Initialize() --- > nsresult nsUCvLatinModule::Initialize() 965c965 < void nsConverterModule::Shutdown() --- > void nsUCvLatinModule::Shutdown() 972c972 < NS_IMETHODIMP nsConverterModule::GetClassObject(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvLatinModule::GetClassObject(nsIComponentManager *aCompMgr, 994c994 < nsConverterFactory * fact; --- > nsUCvLatinFactory * fact; 1000c1000 < fact = new nsConverterFactory(data); --- > fact = new nsUCvLatinFactory(data); 1014c1014 < NS_IMETHODIMP nsConverterModule::RegisterSelf(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvLatinModule::RegisterSelf(nsIComponentManager *aCompMgr, 1077c1077 < NS_IMETHODIMP nsConverterModule::UnregisterSelf(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvLatinModule::UnregisterSelf(nsIComponentManager *aCompMgr, 1091c1091 < NS_IMETHODIMP nsConverterModule::CanUnload(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvLatinModule::CanUnload(nsIComponentManager *aCompMgr, Index: uconv//ucvtw2/nsUCvTw2Module.cpp =================================================================== RCS file: /cvsroot/mozilla/intl/uconv/ucvtw2/nsUCvTw2Module.cpp,v retrieving revision 1.11 diff -r1.11 nsUCvTw2Module.cpp 190c190 < // Class nsConverterFactory [declaration] --- > // Class nsUCvTw2Factory [declaration] 198c198 < class nsConverterFactory : public nsIFactory --- > class nsUCvTw2Factory : public nsIFactory 211c211 < nsConverterFactory(FactoryData * aData); --- > nsUCvTw2Factory(FactoryData * aData); 216c216 < virtual ~nsConverterFactory(); --- > virtual ~nsUCvTw2Factory(); 227c227 < // Class nsConverterModule [declaration] --- > // Class nsUCvTw2Module [declaration] 229c229 < class nsConverterModule : public nsIModule --- > class nsUCvTw2Module : public nsIModule 242c242 < nsConverterModule(); --- > nsUCvTw2Module(); 244c244 < virtual ~nsConverterModule(); --- > virtual ~nsUCvTw2Module(); 253c253 < static nsConverterModule * gModule = NULL; --- > static nsUCvTw2Module * gModule = NULL; 265c265 < nsConverterModule * m = new nsConverterModule(); --- > nsUCvTw2Module * m = new nsUCvTw2Module(); 281c281 < // Class nsConverterFactory [implementation] --- > // Class nsUCvTw2Factory [implementation] 283c283 < NS_IMPL_ISUPPORTS(nsConverterFactory, NS_GET_IID(nsIFactory)); --- > NS_IMPL_ISUPPORTS(nsUCvTw2Factory, NS_GET_IID(nsIFactory)); 285c285 < nsConverterFactory::nsConverterFactory(FactoryData * aData) --- > nsUCvTw2Factory::nsUCvTw2Factory(FactoryData * aData) 293c293 < nsConverterFactory::~nsConverterFactory() --- > nsUCvTw2Factory::~nsUCvTw2Factory() 301c301 < NS_IMETHODIMP nsConverterFactory::CreateInstance(nsISupports *aDelegate, --- > NS_IMETHODIMP nsUCvTw2Factory::CreateInstance(nsISupports *aDelegate, 321c321 < NS_IMETHODIMP nsConverterFactory::LockFactory(PRBool aLock) --- > NS_IMETHODIMP nsUCvTw2Factory::LockFactory(PRBool aLock) 330c330 < // Class nsConverterModule [implementation] --- > // Class nsUCvTw2Module [implementation] 332c332 < NS_IMPL_ISUPPORTS(nsConverterModule, NS_GET_IID(nsIModule)) --- > NS_IMPL_ISUPPORTS(nsUCvTw2Module, NS_GET_IID(nsIModule)) 334c334 < nsConverterModule::nsConverterModule() --- > nsUCvTw2Module::nsUCvTw2Module() 340c340 < nsConverterModule::~nsConverterModule() --- > nsUCvTw2Module::~nsUCvTw2Module() 345c345 < nsresult nsConverterModule::Initialize() --- > nsresult nsUCvTw2Module::Initialize() 350c350 < void nsConverterModule::Shutdown() --- > void nsUCvTw2Module::Shutdown() 357c357 < NS_IMETHODIMP nsConverterModule::GetClassObject(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvTw2Module::GetClassObject(nsIComponentManager *aCompMgr, 379c379 < nsConverterFactory * fact; --- > nsUCvTw2Factory * fact; 385c385 < fact = new nsConverterFactory(data); --- > fact = new nsUCvTw2Factory(data); 399c399 < NS_IMETHODIMP nsConverterModule::RegisterSelf(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvTw2Module::RegisterSelf(nsIComponentManager *aCompMgr, 462c462 < NS_IMETHODIMP nsConverterModule::UnregisterSelf(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvTw2Module::UnregisterSelf(nsIComponentManager *aCompMgr, 476c476 < NS_IMETHODIMP nsConverterModule::CanUnload(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvTw2Module::CanUnload(nsIComponentManager *aCompMgr, --------------8722EA9833D5EDA905ED2D5D-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mozilla" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38F7AD1F.DD00668>