diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-09-23 10:52:27 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-09-23 10:52:27 +0000 |
commit | d8bfb8bddf933a815b590823bd52295534e6ded0 (patch) | |
tree | 1869ec33a1495cd9dac410767afba099345206a3 /pp_ctl.c | |
parent | ae6c4aacfc47e208b21e9afbaa0d848ac3097fbc (diff) | |
download | perl-d8bfb8bddf933a815b590823bd52295534e6ded0.tar.gz |
reset errno after C<require> search (as suggested by Larry)
p4raw-id: //depot/perl@1855
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2674,6 +2674,8 @@ PP(pp_require) RETPUSHUNDEF; } + else + errno = 0; /* Assume success here to prevent recursive requirement. */ (void)hv_store(GvHVn(PL_incgv), name, strlen(name), |