summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2003-01-23 07:26:43 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2003-01-23 07:26:43 +0000
commit673c27c1f741b8f21e9f8e87048c7df824507930 (patch)
tree98d19936a23ae59228dab633f934966187ec008b /perlio.c
parent3bef8b4a6d7c7e51bf579a6adc7c4edd24022569 (diff)
downloadperl-673c27c1f741b8f21e9f8e87048c7df824507930.tar.gz
Fix Solaris 32-bit invalidate case.
p4raw-id: //depot/perl@18573
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perlio.c b/perlio.c
index e6de36f29a..a9228b4766 100644
--- a/perlio.c
+++ b/perlio.c
@@ -2736,7 +2736,7 @@ PerlIOStdio_invalidate_fileno(pTHX_ FILE *f)
even if that would be treated as 0xFF - so will
a dup fail ...
*/
- f->_file = PerlLIO_dup(fd);
+ f->_file = PerlLIO_dup(fileno(f));
# endif /* defined(_LP64) */
return 1;
# elif defined(__hpux)