diff src/tooltalk.c @ 371:cc15677e0335 r21-2b1

Import from CVS: tag r21-2b1
author cvs
date Mon, 13 Aug 2007 11:03:08 +0200
parents 182f72e8cd0d
children 8626e4521993
line wrap: on
line diff
--- a/src/tooltalk.c	Mon Aug 13 11:01:58 2007 +0200
+++ b/src/tooltalk.c	Mon Aug 13 11:03:08 2007 +0200
@@ -34,8 +34,6 @@
 #include "process.h"
 #include "tooltalk.h"
 
-#include "syssignal.h"
-
 Lisp_Object Vtooltalk_fd;
 
 #ifdef TT_DEBUG
@@ -1258,28 +1256,7 @@
   Lisp_Object lp;
   Lisp_Object fil;
 
-
-  /* tt_open() messes with our signal handler flags (at least when no 
-     ttsessions is running on the machine), therefore we save the 
-     actions and restore them after the call */
-#ifdef HAVE_SIGPROCMASK
-  {
-    struct sigaction ActSIGQUIT;
-    struct sigaction ActSIGINT;
-    struct sigaction ActSIGCHLD;
-    sigaction (SIGQUIT, NULL, &ActSIGQUIT);
-    sigaction (SIGINT, NULL, &ActSIGINT);
-    sigaction (SIGCHLD, NULL, &ActSIGCHLD);
-#endif
   retval = tt_open ();
-#ifdef HAVE_SIGPROCMASK
-    sigaction (SIGQUIT, &ActSIGQUIT, NULL);
-    sigaction (SIGINT, &ActSIGINT, NULL);
-    sigaction (SIGCHLD, &ActSIGCHLD, NULL);
-  }
-#endif
-
-
   if (tt_ptr_error (retval) != TT_OK)
     return;