From: Martin Mares Date: Mon, 27 Feb 2006 15:27:57 +0000 (+0100) Subject: Reverted most of the Robert's confused commit (the rest should be X-Git-Tag: holmes-import~671 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=bde8136d09223fb60c4c61b015dde6ebd97c48de;p=libucw.git Reverted most of the Robert's confused commit (the rest should be harmless). --- 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 }