[PATCH v2 08/11] Add stdio_exit_handler()
Corinna Vinschen
vinschen@redhat.com
Thu May 12 19:11:34 GMT 2022
On May 12 14:11, Matthew Joyce wrote:
> From: Matt Joyce <matthew.joyce@embedded-brains.de>
>
> Added a dedicated stdio exit handler to avoid using _GLOBAL_REENT
> in exit().
> ---
> newlib/libc/include/sys/reent.h | 2 ++
> newlib/libc/stdio/findfp.c | 11 ++++++++++-
> newlib/libc/stdlib/exit.c | 5 +++--
> winsup/cygwin/signal.cc | 5 +++--
> 4 files changed, 18 insertions(+), 5 deletions(-)
Just FYI, the winsup/cygwin/signal.cc snippet doesn't apply cleanly
anymore due to Sebastian's patch. It's just a minor conflict,
nothing to worry about.
Corinna
More information about the Newlib
mailing list