summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-05-11 01:05:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:32 -0500
commit372dac6c982ac52926c268df71bf6fb4ca2d155b (patch)
tree164646a672e178e88872e89d66585f39c5a24778 /source3/lib
parent6945febc4f5db7496f4651fbfc9fa1a1c8c0fd61 (diff)
downloadsamba-372dac6c982ac52926c268df71bf6fb4ca2d155b.tar.gz
samba-372dac6c982ac52926c268df71bf6fb4ca2d155b.tar.bz2
samba-372dac6c982ac52926c268df71bf6fb4ca2d155b.zip
r645: Patch from kawasa_r@itg.hitachi.co.jp to correctly enable core dumps.
Jeremy. (This used to be commit ea41d694270264557f740cd40ccc69b4acaa57e9)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 527e1376d1..e8ffd9d8d2 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -1440,6 +1440,9 @@ void smb_panic2(const char *why, BOOL decrement_pid_count )
#endif
dbgflush();
+#ifdef SIGABRT
+ CatchSignal(SIGABRT,SIGNAL_CAST SIG_DFL);
+#endif
abort();
}