From: Nicholas Clark Date: Tue, 19 May 2009 15:54:13 +0000 (+0200) Subject: In Perl_magic_setsig(), clarify the scope of a block that interacts with #ifdef. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=136e04590f528eea37793a322fcdfb91199ffff4;p=p5sagit%2Fp5-mst-13.2.git In Perl_magic_setsig(), clarify the scope of a block that interacts with #ifdef. --- diff --git a/mg.c b/mg.c index 276e13d..f6b6d87 100644 --- a/mg.c +++ b/mg.c @@ -1519,15 +1519,14 @@ Perl_magic_setsig(pTHX_ SV *sv, MAGIC *mg) } } else if (strEQ(s,"DEFAULT") || !*s) { - if (i) + if (i) { #ifdef FAKE_DEFAULT_SIGNAL_HANDLERS - { PL_sig_defaulting[i] = 1; (void)rsignal(i, PL_csighandlerp); - } #else (void)rsignal(i, (Sighandler_t) SIG_DFL); #endif + } } else { /*