r457 - trunk

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Jan 24 03:43:55 EST 2008


Author: icculus
Date: 2008-01-24 03:43:53 -0500 (Thu, 24 Jan 2008)
New Revision: 457

Modified:
   trunk/platform_unix.c
Log:
SIGABRT (assertion failure, etc) should be considered a crash signal.


Modified: trunk/platform_unix.c
===================================================================
--- trunk/platform_unix.c	2008-01-23 22:33:14 UTC (rev 456)
+++ trunk/platform_unix.c	2008-01-24 08:43:53 UTC (rev 457)
@@ -1160,7 +1160,7 @@
 
 static void install_signals(void)
 {
-    static int crash_sigs[] = { SIGSEGV, SIGILL, SIGBUS, SIGFPE, SIGTRAP };
+    static int crash_sigs[] = { SIGSEGV,SIGILL,SIGBUS,SIGFPE,SIGTRAP,SIGABRT };
     static int term_sigs[] = { SIGQUIT, SIGINT, SIGTERM, SIGHUP };
     static int ignore_sigs[] = { SIGPIPE };
     int i;




More information about the mojosetup-commits mailing list