summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2003-01-22 08:47:24 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2003-01-22 08:47:24 +0000
commit9110aad070a9791bfefe4a0d1718537633723305 (patch)
tree6c20d6b78ea288b7a01bca029d894bf41d3fbf8d /perlio.c
parent9d9116831508c6c9cd81c32834701af14b7647a4 (diff)
downloadperl-9110aad070a9791bfefe4a0d1718537633723305.tar.gz
Add defined(__osf__) case to invalidate_fileno (for Tru64).
p4raw-id: //depot/perlio@18548
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/perlio.c b/perlio.c
index 225cdf4082..888e59a22f 100644
--- a/perlio.c
+++ b/perlio.c
@@ -2726,7 +2726,11 @@ PerlIOStdio_invalidate_fileno(pTHX_ FILE *f)
f->__fileH = 0xff;
f->__fileL = 0xff;
return 1;
-# elif defined(_AIX)
+ /* Next one ->_file seems to be a reasonable fallback
+ For OSF only have confirmation for Tru64 (alpha)
+ but assume other OSFs will be similar.
+ */
+# elif defined(_AIX) || defined(__osf__)
f->_file = -1;
return 1;
# elif defined(__FreeBSD__)