From: Martin Mares Date: Fri, 24 Feb 2006 14:18:48 +0000 (+0100) Subject: Debugging traps should dwell only in v3.8, so reverting them after X-Git-Tag: holmes-import~673 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=010d8bd3d013a95c574cbf113d99f6f9465d20fc;p=libucw.git Debugging traps should dwell only in v3.8, so reverting them after the automatic merge brought them into mainline. --- diff --git a/lib/sighandler.c b/lib/sighandler.c index 9a768514..ca826908 100644 --- a/lib/sighandler.c +++ b/lib/sighandler.c @@ -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 }