Type: required
Title: osl_loadModuleRelative
Posted by: [EMAIL PROTECTED]
Affected: -
Effective from: CWS sb71 (OOo 2.4)
*Summary*
--------
osl/module.h:
+oslModule SAL_CALL osl_loadModuleRelative(oslGenericFunction baseModule,
rtl_uString * relativePath, sal_Int32 mode);
osl/module.hxx:
+ sal_Bool SAL_CALL ::osl::Module::loadRelative(::oslGenericFunction
baseModule, ::rtl::OUString const & relativePath, ::sal_Int32 mode =
SAL_LOADMODULE_DEFAULT);
*Description*
-------------
Work on CWS sb71 revealed that there are many places in the code where
dlopen is called with a plain filename instead of an absolute path,
and that that is a bad thing, especially on Mac OS X and if we ever
want to get rid of LD_LIBRARY_PATH. See
<http://wiki.services.openoffice.org/wiki/ODF_Toolkit/Efforts/OOo_without_URE>.
Therefore:
- On CWS sb71 (targeting OOo 2.4), two helper functions (see Summary)
are added to make it easier for a caller to search for libraries next
to itself.
- I will adapt all existing code on that CWS accordingly.
- Please coordinate with me if you add any new code that loads libraries.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]