summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-10-02 01:02:09 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-10-02 01:02:09 +0000
commitaba27d8868c4da5501a93098d949549307dd9a6a (patch)
treeb2c7b478fdb25005bf4bd529399089e3eb4dc4dc /pp_ctl.c
parent3c8a44569607336e4bea79da62162b3ded82557b (diff)
downloadperl-aba27d8868c4da5501a93098d949549307dd9a6a.tar.gz
use SETERRNO() to reset errno (suggested by Charles Bailey)
p4raw-id: //depot/perl@1900
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 7fcdf3de51..eb5e3c2ef8 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -2686,7 +2686,7 @@ PP(pp_require)
RETPUSHUNDEF;
}
else
- errno = 0;
+ SETERRNO(0, SS$_NORMAL);
/* Assume success here to prevent recursive requirement. */
(void)hv_store(GvHVn(PL_incgv), name, strlen(name),