diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2003-05-10 15:59:26 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2003-05-10 15:59:26 +0000 |
commit | 6caa5a9cfe39f91bc44bba937a0b491f754fe9cd (patch) | |
tree | c0c05d9ceb6d662f4b5d5e79d0cdfdf2d7a01c3f /perliol.h | |
parent | 37725cdcc38b517ef70773e843427b086c3d89e1 (diff) | |
download | perl-6caa5a9cfe39f91bc44bba937a0b491f754fe9cd.tar.gz |
Fix for bugs 21717 and 22140.
Win32's lseek claims to have succeeded in pipes etc. Which confuses :perlio
and derived layers. So have :unix's "pushed" method stat() the fd and
cache non S_ISREG nature. Have Unix_seek fail if fd is NOT S_ISREG to match
UNIX behaviour.
p4raw-id: //depot/perlio@19475
Diffstat (limited to 'perliol.h')
-rw-r--r-- | perliol.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -88,6 +88,7 @@ struct _PerlIO { #define PERLIO_F_OPEN 0x00200000 #define PERLIO_F_FASTGETS 0x00400000 #define PERLIO_F_TTY 0x00800000 +#define PERLIO_F_NOTREG 0x01000000 #define PerlIOBase(f) (*(f)) #define PerlIOSelf(f,type) ((type *)PerlIOBase(f)) |