Ver Fonte

* alarm(0) on got_segv

svn: 1136
Bryan Drewery há 22 anos atrás
pai
commit
efb6a6f69c
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      src/debug.c

+ 1 - 0
src/debug.c

@@ -235,6 +235,7 @@ stackdump(int idx)
 
 static void got_segv(int z)
 {
+  alarm(0);		/* dont let anything jump out of this signal! */
   signal(SIGSEGV, SIG_DFL);
   /* stackdump(0); */
 #ifdef DEBUG_CONTEXT