summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-03-14 12:48:09 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-03-14 12:48:09 +0000
commit7f1236c00d2708a214ae3f72897a3a14ec6d9792 (patch)
tree53745d9c07b6a99652ba5554f75366f18c117272 /mg.c
parentb25be8c8e60818c456365b065e4f7d7801d8c147 (diff)
downloadperl-7f1236c00d2708a214ae3f72897a3a14ec6d9792.tar.gz
whichsig() really does return -1 for unknown signals.
p4raw-id: //depot/perl@18979
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mg.c b/mg.c
index 0c3780758f..63b9cfc10f 100644
--- a/mg.c
+++ b/mg.c
@@ -2450,7 +2450,7 @@ Perl_whichsig(pTHX_ char *sig)
if (strEQ(sig,"CLD"))
return SIGCHLD;
#endif
- return 0;
+ return -1;
}
#if !defined(PERL_IMPLICIT_CONTEXT)