summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2003-01-22 12:27:48 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2003-01-22 12:27:48 +0000
commit9837d3731bea1e0d3aaed58a46127574f76ffe53 (patch)
tree9b2bccf8d497161a0c41602b4bb1c315027ac569 /perlio.c
parentc7732655732824f25d1659f5ebb5d4c3538d32e8 (diff)
downloadperl-9837d3731bea1e0d3aaed58a46127574f76ffe53.tar.gz
#if defined(__irix__) (for stdio invalidate) from Jarkko.
p4raw-id: //depot/perlio@18550
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/perlio.c b/perlio.c
index 888e59a22f..d9cfc39121 100644
--- a/perlio.c
+++ b/perlio.c
@@ -2726,11 +2726,12 @@ PerlIOStdio_invalidate_fileno(pTHX_ FILE *f)
f->__fileH = 0xff;
f->__fileL = 0xff;
return 1;
- /* Next one ->_file seems to be a reasonable fallback
- For OSF only have confirmation for Tru64 (alpha)
- but assume other OSFs will be similar.
+ /* Next one ->_file seems to be a reasonable fallback, i.e. if
+ your platform does not have special entry try this one.
+ [For OSF only have confirmation for Tru64 (alpha)
+ but assume other OSFs will be similar.]
*/
-# elif defined(_AIX) || defined(__osf__)
+# elif defined(_AIX) || defined(__osf__) || defined(__irix__)
f->_file = -1;
return 1;
# elif defined(__FreeBSD__)