summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhijit Menon-Sen <ams@wiw.org>2005-05-06 15:17:26 +0000
committerAbhijit Menon-Sen <ams@wiw.org>2005-05-06 15:17:26 +0000
commit86d86cadad68b71393e3371f0e467c29982578f9 (patch)
treee3f4a8c1660f2d93d1888f905e59743bf45706fa
parent9c17f24aa487711c8756a0b66e6cfd58e2633f42 (diff)
downloadperl-86d86cadad68b71393e3371f0e467c29982578f9.tar.gz
Don't pretend SIGZERO exists [#35291].
p4raw-id: //depot/perl@24406
-rw-r--r--mg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mg.c b/mg.c
index b04e24faa4..8fa8ae9f48 100644
--- 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;