diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-21 14:04:13 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2005-07-21 14:04:13 +0000 |
commit | 1a0f83f63b02d6c04dd1a1539f09a7524ae4b98c (patch) | |
tree | 1eb0b28b2584dec5b22ae154d0615c9badf402a9 /source/lib | |
parent | 5ddfff7409bf24fc83060f1238cadb181777341b (diff) | |
download | samba-1a0f83f63b02d6c04dd1a1539f09a7524ae4b98c.tar.gz samba-1a0f83f63b02d6c04dd1a1539f09a7524ae4b98c.tar.xz samba-1a0f83f63b02d6c04dd1a1539f09a7524ae4b98c.zip |
r8685: an alpha in the build farm is dying with a floating point
exception. Catch these in out fault handler, so we get a backtrace
Diffstat (limited to 'source/lib')
-rw-r--r-- | source/lib/fault.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/lib/fault.c b/source/lib/fault.c index 22efb4825d7..3670575dcc7 100644 --- a/source/lib/fault.c +++ b/source/lib/fault.c @@ -187,6 +187,9 @@ void fault_setup(const char *pname) #ifdef SIGABRT CatchSignal(SIGABRT,SIGNAL_CAST sig_fault); #endif +#ifdef SIGFPE + CatchSignal(SIGFPE,SIGNAL_CAST sig_fault); +#endif } /* |