This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: The stdout always becomes line buffered mode.



> The latest newlib always sets the stdout to the line buffered
> mode against the standard quoted below.
> 
>   ISO/IEC 9899:1999, Second Edition 1999-12-01, p.266
>     As initially opened, the standard error stream is not fully buffered;
>     the standard input and standard output streams are fully buffered if
>     and only if the stream can be determined not to refer to an interective
>     device.

The streams aren't fully buffered, they're line buffered.  I think
this complies with the spec.  I think your patch is correct, but not
because of that standard.  The ChangeLog entry explains it enough on
its own.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]