Abigail <[EMAIL PROTECTED]> writes:
>Now, this might be related to the remark in perlport.pod:
>
>    =item exec LIST;
>
>    Does not automatically flush output handles on some platforms.
>    (SunOS, Solaris, HP-UX)
>
>But if that's true, why does it work when using perlio, even if you
>say PERLIO=stdio?

Because there is a code above stdio which knows what to do.
Thus although stdio's fflush(NULL) may not do the right thing,
we don't use that when -Duseperlio, rather perlio.c itterates 
though _its_ record of open streams and fflush(f) (non-NULL)
on the one(s) that need it. 

(I continue to be gratified at how many things work "better" - if 
 not yet perfectly with -Duseperlio.)

-- 
Nick Ing-Simmons
http://www.ni-s.u-net.com/

Reply via email to