summaryrefslogtreecommitdiff
path: root/vms
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-11-16 13:16:13 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-11-16 13:16:13 +0000
commit73e350d9d5d4fc48f0ec92bcf573a95a671ec89c (patch)
tree79ed19f3f8857020855fe0a69271a5e5b9889aa9 /vms
parent210b36aa2e9e009554be8970c3315c2658c0384f (diff)
downloadperl-73e350d9d5d4fc48f0ec92bcf573a95a671ec89c.tar.gz
A missing return; from Charles Lane.
p4raw-id: //depot/perl@13042
Diffstat (limited to 'vms')
-rw-r--r--vms/vms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vms/vms.c b/vms/vms.c
index 33254a840d..aa5577df2b 100644
--- a/vms/vms.c
+++ b/vms/vms.c
@@ -5571,7 +5571,7 @@ int my_sigdelset(sigset_t *set, int sig) {
int my_sigismember(sigset_t *set, int sig) {
if (!set) { SETERRNO(EFAULT,SS$_ACCVIO); return -1; }
if (sig > NSIG) { SETERRNO(EINVAL,LIB$_INVARG); return -1; }
- *set & (1 << (sig - 1));
+ return *set & (1 << (sig - 1));
}
/*}}}*/