Explorar o código

* Raise SIGABRT after catching it

Bryan Drewery %!s(int64=16) %!d(string=hai) anos
pai
achega
380c16c278
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/debug.c

+ 1 - 1
src/debug.c

@@ -222,7 +222,7 @@ static void got_abort(int z)
   write_debug();
   write_debug();
   fatal("GOT SIGABRT -- CRASHING!", 1);
   fatal("GOT SIGABRT -- CRASHING!", 1);
 #ifdef DEBUG
 #ifdef DEBUG
-  raise(SIGSEGV);
+  raise(SIGABRT);
 #else
 #else
   exit(1);
   exit(1);
 #endif /* DEBUG */
 #endif /* DEBUG */