projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
9c17f24
)
Don't pretend SIGZERO exists [#35291].
Abhijit Menon-Sen [Fri, 6 May 2005 15:17:26 +0000 (15:17 +0000)]
p4raw-id: //depot/perl@24406
mg.c
patch
|
blob
|
blame
|
history
diff --git
a/mg.c
b/mg.c
index
b04e24f
..
8fa8ae9
100644
(file)
--- a/
mg.c
+++ b/
mg.c
@@
-1312,7
+1312,7
@@
Perl_magic_setsig(pTHX_ SV *sv, MAGIC *mg)
}
else {
i = whichsig(s); /* ...no, a brick */
- if (i < 0) {
+ if (i <= 0) {
if (ckWARN(WARN_SIGNAL))
Perl_warner(aTHX_ packWARN(WARN_SIGNAL), "No such signal: SIG%s", s);
return 0;