[PATCH] _fwalk walks through thread local FILE pointer
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.
Hmm, good catch. I have added a check to ensure that the passed-in
file chain is not traversed if it is _GLOBAL_REENT.
-- Jeff J.
More information about the Newlib