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]
Other format: [Raw text]

Re: [PATCH] _fwalk walks through thread local FILE pointer


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.





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