diff options
| author | Alan Conway <aconway@apache.org> | 2009-11-04 19:33:56 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2009-11-04 19:33:56 +0000 |
| commit | deb38bdd13c1cb4255eda867af66b763d8ded3be (patch) | |
| tree | 9da1d0eee1504d7a006a87094959f0e03cec9ffb /cpp/src/qpid/sys/posix | |
| parent | 05865f45db96f411b495aa1129c62ef96ed6b8d8 (diff) | |
| download | qpid-python-deb38bdd13c1cb4255eda867af66b763d8ded3be.tar.gz | |
Automatically add shared library suffix to module name in --load-module.
Allows the suffix to be omitted in qpidd.conf or qpidd options so they are portable.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@832853 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/posix')
| -rw-r--r-- | cpp/src/qpid/sys/posix/Shlib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/posix/Shlib.cpp b/cpp/src/qpid/sys/posix/Shlib.cpp index 62dbfb3dd9..299331103c 100644 --- a/cpp/src/qpid/sys/posix/Shlib.cpp +++ b/cpp/src/qpid/sys/posix/Shlib.cpp @@ -27,7 +27,7 @@ namespace qpid { namespace sys { void Shlib::load(const char* name) { - dlerror(); + ::dlerror(); handle = ::dlopen(name, RTLD_NOW); const char* error = ::dlerror(); if (error) { |
