From 010d8bd3d013a95c574cbf113d99f6f9465d20fc Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 24 Feb 2006 15:18:48 +0100 Subject: [PATCH] Debugging traps should dwell only in v3.8, so reverting them after the automatic merge brought them into mainline. --- lib/sighandler.c | 4 ---- 1 file changed, 4 deletions(-) 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 } -- 2.39.5