diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-04-24 11:31:20 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-04-24 11:31:20 +0000 |
commit | 73417c07f73290bfc15f1d16d97d4a4d62a7a945 (patch) | |
tree | c37f71a0e5a69fc41aab6bebc3f169243b44ff52 /source3 | |
parent | befb7a100e4e60655ecbf4e3c9bfd91048dda92f (diff) | |
download | samba-73417c07f73290bfc15f1d16d97d4a4d62a7a945.tar.gz samba-73417c07f73290bfc15f1d16d97d4a4d62a7a945.tar.bz2 samba-73417c07f73290bfc15f1d16d97d4a4d62a7a945.zip |
moved INSURE hook into util.c
(This used to be commit 2fba24ef0e4cae64c5a179370c83d8bbf4e70bb8)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/server.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 387aeb5df1..83c70a9e89 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -780,26 +780,3 @@ static void usage(char *pname) return(0); } - -#ifdef __INSURE__ -int _Insure_trap_error(int a1, int a2, int a3, int a4, int a5, int a6) -{ - static int (*fn)(); - int ret; - char *cmd = lp_panic_action(); - - if (!fn) { - static void *h; - h = dlopen("/usr/local/parasoft/insure++lite/lib.linux2/libinsure.so", RTLD_LAZY); - fn = dlsym(h, "_Insure_trap_error"); - } - - ret = fn(a1, a2, a3, a4, a5, a6); - - if (cmd && *cmd) { - system(cmd); - } - - return ret; -} -#endif |