develooper Front page | perl.perl5.porters | Postings from July 2001

Re: [ID 20010703.002] [5.6.2-to-be] PerlIO is EVIL

Thread Previous | Thread Next
Nick Ing-Simmons
July 9, 2001 01:11
Re: [ID 20010703.002] [5.6.2-to-be] PerlIO is EVIL
Message ID:
Ilya Zakharevich <> writes:
>On Fri, Jul 06, 2001 at 01:46:05PM +0100, Nick Ing-Simmons wrote:
>> >And the current state of FD should have been queried when PerlIO is
>> >created (may be this is done already?).
>> Querying the state needs Configure-oid probing to see how the CRTL flags 
>> that state.
>No need to Configure.  There is win32ish.h etc.

It is Configure-oid - because Borland, VC++ and Mingw32 all have different 
header files - so you at least need a 3-way #ifdef nest.

>> There isn't a clean API. Switching modes other than 
>> just-after-open is not reliable on most CRTLs.
>Existence of non-reliable CRTLs should not make it not work anywhere.


Nick Ing-Simmons

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About