public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2 00/11] Decouple global file object list from _GLOBAL_REENT
@ 2022-05-12 12:11 Matthew Joyce
  2022-05-12 12:11 ` [PATCH v2 01/11] Remove duplicate stdio initializations Matthew Joyce
                   ` (11 more replies)
  0 siblings, 12 replies; 27+ messages in thread
From: Matthew Joyce @ 2022-05-12 12:11 UTC (permalink / raw)
  To: newlib

From: Matt Joyce <matthew.joyce@embedded-brains.de>

Hello Corinna,

Per your comments, please see version 2.

1) stdio_atexit is now called stdio_exit_handler
2) declarations for stdio_exit_handler() and _fwalk_sglue() are moved
   to sys/reent.h

Thanks!

Matt

Matt Joyce (9):
  Remove duplicate stdio initializations
  Remove duplicate sglue initializations
  Add two __sglue initialization macros
  Remove __sinit_locks / __sinit_recursive_mutex
  Move __sglue initializations to __sfp()
  Add CLEANUP_FILE define
  Add stdio_exit_handler()
  Add global __sglue object for all configurations
  Remove __sglue member for one configuration

Sebastian Huber (2):
  Declare global __sf[] only once
  stdio: Replace _fwalk_reent() with _fwalk_sglue()

 newlib/libc/include/sys/reent.h |  26 ++++++--
 newlib/libc/reent/reent.c       |   6 +-
 newlib/libc/stdio/fcloseall.c   |   9 ++-
 newlib/libc/stdio/fflush.c      |   2 +-
 newlib/libc/stdio/findfp.c      | 112 +++++++++++++++++---------------
 newlib/libc/stdio/fwalk.c       |  16 ++---
 newlib/libc/stdio/local.h       |   3 -
 newlib/libc/stdio/refill.c      |   4 +-
 newlib/libc/stdlib/exit.c       |   5 +-
 winsup/cygwin/signal.cc         |   5 +-
 winsup/cygwin/syscalls.cc       |   6 +-
 11 files changed, 110 insertions(+), 84 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2022-05-17 10:13 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-12 12:11 [PATCH v2 00/11] Decouple global file object list from _GLOBAL_REENT Matthew Joyce
2022-05-12 12:11 ` [PATCH v2 01/11] Remove duplicate stdio initializations Matthew Joyce
2022-05-12 12:11 ` [PATCH v2 02/11] Remove duplicate sglue initializations Matthew Joyce
2022-05-12 12:11 ` [PATCH v2 03/11] Declare global __sf[] only once Matthew Joyce
2022-05-12 12:11 ` [PATCH v2 04/11] Add two __sglue initialization macros Matthew Joyce
2022-05-12 12:11 ` [PATCH v2 05/11] Remove __sinit_locks / __sinit_recursive_mutex Matthew Joyce
2022-05-12 13:25   ` Torbjorn SVENSSON
2022-05-12 13:51     ` Sebastian Huber
2022-05-12 12:11 ` [PATCH v2 06/11] Move __sglue initializations to __sfp() Matthew Joyce
2022-05-12 12:11 ` [PATCH v2 07/11] Add CLEANUP_FILE define Matthew Joyce
2022-05-12 12:11 ` [PATCH v2 08/11] Add stdio_exit_handler() Matthew Joyce
2022-05-12 19:11   ` Corinna Vinschen
2022-05-17  8:36   ` Takashi Yano
2022-05-17 10:13     ` Sebastian Huber
2022-05-12 12:11 ` [PATCH v2 09/11] stdio: Replace _fwalk_reent() with _fwalk_sglue() Matthew Joyce
2022-05-12 12:11 ` [PATCH v2 10/11] Add global __sglue object for all configurations Matthew Joyce
2022-05-12 12:11 ` [PATCH v2 11/11] Remove __sglue member for one configuration Matthew Joyce
2022-05-12 19:09   ` Corinna Vinschen
2022-05-12 19:14 ` [PATCH v2 00/11] Decouple global file object list from _GLOBAL_REENT Corinna Vinschen
2022-05-12 19:44   ` Corinna Vinschen
2022-05-13  5:44     ` Sebastian Huber
2022-05-13  7:53       ` Corinna Vinschen
2022-05-13 10:54     ` Sebastian Huber
2022-05-13 11:20       ` Corinna Vinschen
2022-05-13  8:03   ` Corinna Vinschen
2022-05-13 11:20     ` Sebastian Huber
2022-05-13 11:30       ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).