From b008274afdbe375b32a7e66dbd073e200f6f0587 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 4 Feb 2011 12:57:53 +0100 Subject: Nuked almost all trailing white space. We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again. --- common/signal.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'common/signal.c') diff --git a/common/signal.c b/common/signal.c index ee55f1917..9f11b9922 100644 --- a/common/signal.c +++ b/common/signal.c @@ -45,7 +45,7 @@ init_one_signal (int sig, RETSIGTYPE (*handler)(int), int check_ign ) { # ifdef HAVE_SIGACTION struct sigaction oact, nact; - + if (check_ign) { /* we don't want to change an IGN handler */ @@ -58,11 +58,11 @@ init_one_signal (int sig, RETSIGTYPE (*handler)(int), int check_ign ) sigemptyset (&nact.sa_mask); nact.sa_flags = 0; sigaction ( sig, &nact, NULL); -# else +# else RETSIGTYPE (*ohandler)(int); - + ohandler = signal (sig, handler); - if (check_ign && ohandler == SIG_IGN) + if (check_ign && ohandler == SIG_IGN) { /* Change it back if it was already set to IGN */ signal (sig, SIG_IGN); @@ -96,7 +96,7 @@ got_fatal_signal (int sig) if (caught_fatal_sig) raise (sig); caught_fatal_sig = 1; - + if (cleanup_fnc) cleanup_fnc (); /* Better don't translate these messages. */ @@ -118,7 +118,7 @@ got_fatal_signal (int sig) this is a bug in that system, we will protect against it. */ if (sig < 0 || sig >= 100000) res = write (2, "?", 1); - else + else { int i, value, any=0; @@ -135,7 +135,7 @@ got_fatal_signal (int sig) } } res = write (2, " caught ... exiting\n", 20); - + /* Reset action to default action and raise signal again */ init_one_signal (sig, SIG_DFL, 0); /* Fixme: remove_lockfiles ();*/ -- cgit v1.2.3