diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-21 14:04:13 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:29:54 -0500 |
commit | 2a65d17e06da3b1f1f78d9586fd82a79ba2f73a6 (patch) | |
tree | 91cf2a31e0c3d54e9bd4f1d13f8cfc37ea6d77f3 /source4/lib | |
parent | 04598d3832ef26c40c6b320e5e806f4e92947572 (diff) | |
download | samba-2a65d17e06da3b1f1f78d9586fd82a79ba2f73a6.tar.gz samba-2a65d17e06da3b1f1f78d9586fd82a79ba2f73a6.tar.bz2 samba-2a65d17e06da3b1f1f78d9586fd82a79ba2f73a6.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
(This used to be commit 802724cf69e65a07202f3399a4321a35c2f3c018)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/fault.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/fault.c b/source4/lib/fault.c index 22efb4825d..3670575dcc 100644 --- a/source4/lib/fault.c +++ b/source4/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 } /* |