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 | 0227568209c83e1789a056b14932520d280d2c2f (patch) | |
tree | fbb33f0e64247b2348a26060bb702e60dd6f39d5 | |
parent | 29e67cad0552fd89c8f59e8e90523347addb6660 (diff) | |
download | samba-0227568209c83e1789a056b14932520d280d2c2f.tar.gz samba-0227568209c83e1789a056b14932520d280d2c2f.tar.bz2 samba-0227568209c83e1789a056b14932520d280d2c2f.zip |
Also look for libinsure.so where the full version installs it.
(This used to be commit 2bf6595a2a5527ff64f9083f2434aa344c9637d9)
-rw-r--r-- | source3/lib/util.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index d8bc17221e..7e2ad49639 100644 --- a/source3/lib/util.c +++ b/source3/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); |