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] |
This isn't right. You are passed a REENT pointer and cannot simply ignore it.
This will break any code that depends upon the existing behavior. In RTEMS, we use _fwalk as it exists to implement sync() and walk each thread's open files. It is also used as part of the per-thread cleanup dynamically.
If you want to have NULL ptr argument imply the global reent, great but don't break it.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |