diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2003-05-17 13:38:35 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2003-05-17 13:38:35 +0000 |
commit | 8a521f284323c7ef06cccf453146cc13958cfd6d (patch) | |
tree | 621fe79ca218a7117ce4e05946d5e2ddc64c0afe /perlio.c | |
parent | 6a93df2e699ee31021f3373dcafbb41d67f7f951 (diff) | |
download | perl-8a521f284323c7ef06cccf453146cc13958cfd6d.tar.gz |
Spotted a bare close() where PerlLIO_close() seems correct.
p4raw-id: //depot/perlio@19543
Diffstat (limited to 'perlio.c')
-rw-r--r-- | perlio.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -432,7 +432,7 @@ PerlIO_findFILE(PerlIO *pio) /* * Why is this here - not in perlio.h? RMB - */ + */ void PerlIO_debug(const char *fmt, ...) #ifdef CHECK_FORMAT __attribute__ ((__format__(__printf__, 1, 2))) @@ -2946,7 +2946,7 @@ PerlIOStdio_close(pTHX_ PerlIO *f) } if (dupfd) { PerlLIO_dup2(dupfd,fd); - close(dupfd); + PerlLIO_close(dupfd); } return result; } |