This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: The stdout always becomes line buffered mode.
Kazuhiro Fujieda wrote:
>
> >>> On Mon, 30 Apr 2001 17:23:59 -0400
> >>> "J. Johnston" <jjohnstn@cygnus.com> said:
>
> > however, there are a few out there that return failure for
> > fstat() (not unreasonable) and a few return 0 for isatty().
> > The __smakebuf() routine doesn't handle these situations
> > properly because it changes to line buffering only if the
> > device is found to be a terminal.
>
> I supposed there were such ports.
>
> > Thus, I propose the fix be:
> >
> > Index: findfp.c
> (snip)
>
> It seems fine to me.
> Please check in.
Done.
-- Jeff J.