diff options
author | Tim Potter <tpot@samba.org> | 2002-04-04 04:54:44 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-04-04 04:54:44 +0000 |
commit | 2bf6595a2a5527ff64f9083f2434aa344c9637d9 (patch) | |
tree | dddf9f33308f87fe566aa72fb27d70aa5754fe1f /source/lib/util.c | |
parent | f287f62962feca6dac8747d16676dc64723eb5b1 (diff) | |
download | samba-2bf6595a2a5527ff64f9083f2434aa344c9637d9.tar.gz samba-2bf6595a2a5527ff64f9083f2434aa344c9637d9.tar.xz samba-2bf6595a2a5527ff64f9083f2434aa344c9637d9.zip |
Also look for libinsure.so where the full version installs it.
Diffstat (limited to 'source/lib/util.c')
-rw-r--r-- | source/lib/util.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/lib/util.c b/source/lib/util.c index d8bc17221e2..7e2ad496395 100644 --- a/source/lib/util.c +++ b/source/lib/util.c @@ -2201,6 +2201,11 @@ int _Insure_trap_error(int a1, int a2, int a3, int a4, int a5, int a6) static void *h; h = dlopen("/usr/local/parasoft/insure++lite/lib.linux2/libinsure.so", RTLD_LAZY); fn = dlsym(h, "_Insure_trap_error"); + + if (!h || h == _Insure_trap_error) { + h = dlopen("/usr/local/parasoft/lib.linux2/libinsure.so", RTLD_LAZY); + fn = dlsym(h, "_Insure_trap_error"); + } } ret = fn(a1, a2, a3, a4, a5, a6); |