This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Problems with setvbuf
authorIlya Zakharevich <ilya@math.ohio-state.edu>
Thu, 7 Aug 1997 00:00:00 +0000 (00:00 +0000)
committerTim Bunce <Tim.Bunce@ig.co.uk>
Wed, 6 Aug 1997 12:00:00 +0000 (00:00 +1200)
commitd924de76f77ae52d0d85935b55bcc109810da0ba
tree95dae7783513a41f11c6cd1c0ae8baba567229d4
parent6f1abe2b022469d02f6d0ced94b9c90cbb1362c6
Problems with setvbuf

Nick Ing-Simmons writes:
> > I see two possible solutions:
> >
> > a) correct this on the level of IO.xs (manually check for
> >         IoIFP(sv_2io(ST(0)));
>
> I like adding this code to the else branch.

This is almost as you ask:

p5p-msgid: 199707250040.UAA11000@monk.mps.ohio-state.edu
ext/IO/IO.xs