diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2003-01-22 12:27:48 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2003-01-22 12:27:48 +0000 |
commit | 9837d3731bea1e0d3aaed58a46127574f76ffe53 (patch) | |
tree | 9b2bccf8d497161a0c41602b4bb1c315027ac569 /perlio.c | |
parent | c7732655732824f25d1659f5ebb5d4c3538d32e8 (diff) | |
download | perl-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.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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__) |