diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2000-11-03 22:19:10 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2000-11-03 22:19:10 +0000 |
commit | 9e353e3b7330a59ca210e75e4484e7762fcd1ce4 (patch) | |
tree | 6d914b3ca2a231451741ea002f5920690b4edccf /iperlsys.h | |
parent | e9e021e644582e6ca1e9f6b4c1f1a8a7c7e2a58d (diff) | |
download | perl-9e353e3b7330a59ca210e75e4484e7762fcd1ce4.tar.gz |
Implement stack of layers - (perlio.c _is_ derived from the old file honest...)
- Works on Linux with
perlio + unix
stdio
- Works on Solaris with
perlio + unix
- Fails ONE test (print to STDIN should fail) on Solaris with stdio.
- Fails (hangs in openpid) if you try and stack
perlio + stdio - Linux stdio's read() logic is hanging.
p4raw-id: //depot/perlio@7535
Diffstat (limited to 'iperlsys.h')
-rw-r--r-- | iperlsys.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/iperlsys.h b/iperlsys.h index caca9df2d8..94e5fd614c 100644 --- a/iperlsys.h +++ b/iperlsys.h @@ -81,7 +81,9 @@ typedef Signal_t (*Sighandler_t) (int); #if defined(PERL_IMPLICIT_SYS) #ifndef PerlIO -typedef struct _PerlIO PerlIO; +typedef struct _PerlIO PerlIOl; +typedef PerlIOl *PerlIO; +#define PerlIO PerlIO #endif /* IPerlStdIO */ @@ -331,7 +333,8 @@ struct IPerlStdIOInfo #endif #ifndef PerlIO -typedef struct _PerlIO PerlIO; +typedef struct _PerlIO PerlIOl; +typedef PerlIOl *PerlIO; #define PerlIO PerlIO #endif /* No PerlIO */ |