Patch for profiling

From: David Fox <fox_at_graphics.cs.nyu.edu>
Date: Wed, 30 Oct 1996 15:46:31 -0500

diff -ru STk-3.1/Src/signal.c.orig STk-3.1/Src/signal.c
--- STk-3.1/Src/signal.c.orig Sun Jul 14 06:34:09 1996
+++ STk-3.1/Src/signal.c Wed Oct 30 15:37:49 1996
_at_@ -185,6 +185,12 @@
       0) ? Ntruth : NIL;
     /* Treat specially SIGINT (^C) */
     signals[SIGINT] = NIL;
+#ifdef SIGPROF
+ if (i == SIGPROF) {
+ signals[SIGPROF] = NIL;
+ continue; /* Don't interfere with the profiler */
+ }
+#endif
 #ifdef HAVE_SIGACTION
     {
       /* Use the secure Posix.1 way */
Received on Wed Oct 30 1996 - 21:43:37 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST