diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-07-29 03:08:05 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-07-29 03:08:05 +0000 |
commit | 3bda7ac417107a7b01d91805ca71c4330657ed21 (patch) | |
tree | 0fb2fb0cbd2df1b77ea814ba30e2bb1f8a1d999f /source/lib/fault.c | |
parent | 7b3a9d6285cc0d1967155a68845e28c6296ecc67 (diff) | |
download | samba-3bda7ac417107a7b01d91805ca71c4330657ed21.tar.gz samba-3bda7ac417107a7b01d91805ca71c4330657ed21.tar.xz samba-3bda7ac417107a7b01d91805ca71c4330657ed21.zip |
merge from the autoconf2 branch to the main branch
Diffstat (limited to 'source/lib/fault.c')
-rw-r--r-- | source/lib/fault.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/lib/fault.c b/source/lib/fault.c index f46ccbb1855..e1b3c6cd9f9 100644 --- a/source/lib/fault.c +++ b/source/lib/fault.c @@ -45,10 +45,10 @@ static void fault_report(int sig) fault_setup(cont_fn); cont_fn(NULL); #ifdef SIGSEGV - signal(SIGSEGV,SIGNAL_CAST SIG_DFL); + CatchSignal(SIGSEGV,SIGNAL_CAST SIG_DFL); #endif #ifdef SIGBUS - signal(SIGBUS,SIGNAL_CAST SIG_DFL); + CatchSignal(SIGBUS,SIGNAL_CAST SIG_DFL); #endif return; /* this should cause a core dump */ } @@ -71,10 +71,10 @@ void fault_setup(void (*fn)(void *)) cont_fn = fn; #ifdef SIGSEGV - signal(SIGSEGV,SIGNAL_CAST sig_fault); + CatchSignal(SIGSEGV,SIGNAL_CAST sig_fault); #endif #ifdef SIGBUS - signal(SIGBUS,SIGNAL_CAST sig_fault); + CatchSignal(SIGBUS,SIGNAL_CAST sig_fault); #endif } |