[PATCH] _fwalk walks through thread local FILE pointer

Jeff Johnston jjohnstn@redhat.com
Sat Jan 31 01:23:00 GMT 2004


Christopher Faylor wrote:

>On Thu, Jan 29, 2004 at 06:23:30PM -0500, Jeff Johnston wrote:
>  
>
>>I think that the stdin/stdout/stderr for the thread should also be 
>>walked in addition to the global list for now.  I don't think that 
>>should cause problems with Cygwin but if so, we can add an #ifdef check.
>>    
>>
>
>It does cause problems with cygwin since the global list could be the
>same as the thread's list so the list could be walked twice.
>
>cgf
>
Hmm, good catch.  I have added a check to ensure that the passed-in 
reentrancy struct
file chain is not traversed if it is _GLOBAL_REENT.

-- Jeff J.






More information about the Newlib mailing list