From bde8136d09223fb60c4c61b015dde6ebd97c48de Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 27 Feb 2006 16:27:57 +0100 Subject: [PATCH] Reverted most of the Robert's confused commit (the rest should be harmless). --- build/sherlock.cfg | 6 +++--- lib/sighandler.c | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/build/sherlock.cfg b/build/sherlock.cfg index bb92a153..b5b5683a 100644 --- a/build/sherlock.cfg +++ b/build/sherlock.cfg @@ -1,11 +1,11 @@ # Configuration variables of Sherlock and their default values -# (c) 2005--2006 Martin Mares +# (c) 2005 Martin Mares # Version of the whole package -Set("SHERLOCK_VERSION" => "3.9"); +Set("SHERLOCK_VERSION" => "3.8"); # Installation directory for `make install' -Set("INSTALL_DIR" => "~/run-3.9"); +Set("INSTALL_DIR" => "~/run-3.8"); # Compile everything with debug information and ASSERT's UnSet("CONFIG_DEBUG"); diff --git a/lib/sighandler.c b/lib/sighandler.c index ca826908..9a768514 100644 --- a/lib/sighandler.c +++ b/lib/sighandler.c @@ -26,17 +26,21 @@ 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.2