projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c4a30c8
)
In Perl_magic_setsig(), clarify the scope of a block that interacts with #ifdef.
Nicholas Clark [Tue, 19 May 2009 15:54:13 +0000 (17:54 +0200)]
mg.c
patch
|
blob
|
blame
|
history
diff --git
a/mg.c
b/mg.c
index
276e13d
..
f6b6d87
100644
(file)
--- 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 {
/*