setvbuf/setlinebuf issue

Christopher Faylor cgf-rcm@cygwin.com
Sat Sep 20 02:55:00 GMT 2003


On Wed, Sep 17, 2003 at 12:57:10PM -0500, Brian Ford wrote:
>Jan Jaeger wrote here:
>
>http://www.cygwin.com/ml/cygwin/2003-09/msg01159.html
>
>> The issue appears related to the use of the pthread library, where is
>> almost appears if every thread now has its own streams buffer, rather
>> then a shared buffer as the threading model dictates.
>>
>This problem appears analogous to the at_exit problem in newlib fixed by
>Thomas Pfaff here:
>
>http://sources.redhat.com/ml/newlib/2003/msg00527.html
>
>I assume a similar fix is in order, but I don't currently have to time to
>cook one up and test it.  Is anyone else game?

Except that, I thought that Thomas already fixed this in newlib some time
ago.

cgf



More information about the Newlib mailing list