diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-04-10 14:15:39 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-04-10 14:21:34 +0200 |
commit | fa6c211a454fa51feb36f7e4dae966c31bef432e (patch) | |
tree | 48642413f37c6ba0f1889372a23cb68992c4d1f3 /sal | |
parent | a41c2e16f6b8a402cf228aa25d790dee53f3f666 (diff) |
Revert "If you can't load a shared library it should be a warning"
This reverts commit 8b561c0012546aabbaff33b32a79833997aa8902. There are
legitimate cases for osl_loadModule to fail (like when UNO only resorts to
indirect bridging via binary UNO once it has not found a direct bridge
implementation), so this adds too much noise. (Rather add SAL_WARNs to those
places up the call stack where it is known to be an error, and/or enable
+INFO.sal.osl.)
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/module.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/module.cxx b/sal/osl/unx/module.cxx index ebeceb62b139..cc615bff7089 100644 --- a/sal/osl/unx/module.cxx +++ b/sal/osl/unx/module.cxx @@ -162,7 +162,7 @@ oslModule SAL_CALL osl_loadModuleAscii(const sal_Char *pModuleName, sal_Int32 nR ((nRtldMode & SAL_LOADMODULE_GLOBAL) ? RTLD_GLOBAL : RTLD_LOCAL); void* pLib = dlopen(pModuleName, rtld_mode); - SAL_WARN_IF( + SAL_INFO_IF( pLib == 0, "sal.osl", "dlopen(" << pModuleName << ", " << rtld_mode << "): " << dlerror()); |