summaryrefslogtreecommitdiff
path: root/perlapi.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-07-26 02:11:31 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-07-26 02:11:31 +0000
commitf2b5be74500fffd3dc232fca7cb3c51bc3b9abf9 (patch)
tree4ca90dcb7912cdbeb031dd0bba3a9b3f5b55ef72 /perlapi.c
parenta682de96b5260e75b40bb25b8d2eb16f338518c6 (diff)
downloadperl-f2b5be74500fffd3dc232fca7cb3c51bc3b9abf9.tar.gz
ensure implicitly closed handles don't set $? or $!
p4raw-id: //depot/perl@3752
Diffstat (limited to 'perlapi.c')
-rwxr-xr-xperlapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/perlapi.c b/perlapi.c
index a7934fb8a0..78d1bce4e1 100755
--- a/perlapi.c
+++ b/perlapi.c
@@ -1379,9 +1379,9 @@ Perl_instr(pTHXo_ const char* big, const char* little)
#undef Perl_io_close
bool
-Perl_io_close(pTHXo_ IO* io)
+Perl_io_close(pTHXo_ IO* io, bool not_implicit)
{
- return ((CPerlObj*)pPerl)->Perl_io_close(io);
+ return ((CPerlObj*)pPerl)->Perl_io_close(io, not_implicit);
}
#undef Perl_invert