Explorar el Código

* alarm(0) on got_segv

svn: 1136
Bryan Drewery hace 22 años
padre
commit
efb6a6f69c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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