summaryrefslogtreecommitdiff
path: root/perliol.h
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2003-05-10 15:59:26 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2003-05-10 15:59:26 +0000
commit6caa5a9cfe39f91bc44bba937a0b491f754fe9cd (patch)
treec0c05d9ceb6d662f4b5d5e79d0cdfdf2d7a01c3f /perliol.h
parent37725cdcc38b517ef70773e843427b086c3d89e1 (diff)
downloadperl-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/perliol.h b/perliol.h
index fa399e6f50..47fe6fc679 100644
--- a/perliol.h
+++ b/perliol.h
@@ -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))