The stdout always becomes line buffered mode.

Kazuhiro Fujieda fujieda@jaist.ac.jp
Tue May 1 05:22:00 GMT 2001


>>> 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.
____
  | AIST      Kazuhiro Fujieda <fujieda@jaist.ac.jp>
  | HOKURIKU  School of Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology



More information about the Newlib mailing list