]> mj.ucw.cz Git - libucw.git/commitdiff
Debugging traps should dwell only in v3.8, so reverting them after
authorMartin Mares <mj@ucw.cz>
Fri, 24 Feb 2006 14:18:48 +0000 (15:18 +0100)
committerMartin Mares <mj@ucw.cz>
Fri, 24 Feb 2006 14:18:48 +0000 (15:18 +0100)
the automatic merge brought them into mainline.

lib/sighandler.c

index 9a76851423eaeaa5ad94c72e30ce1fab2988ee07..ca8269083afc44ebc7836ebc0c6f41e9acecaedc 100644 (file)
@@ -26,21 +26,17 @@ signal_handler_internal(int sig)
 void
 handle_signal(int signum, struct sigaction *oldact)
 {
-#if 0
   struct sigaction act;
   bzero(&act, sizeof(act));
   act.sa_handler = signal_handler_internal;
   act.sa_flags = SA_NOMASK;
   if (sigaction(signum, &act, oldact) < 0)
     die("sigaction: %m");
-#endif
 }
 
 void
 unhandle_signal(int signum, struct sigaction *oldact)
 {
-#if 0
   if (sigaction(signum, oldact, NULL) < 0)
     die("sigaction: %m");
-#endif
 }