public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Mostly mechanical libio decrufting.
@ 2018-02-11 16:36 Zack Weinberg
  2018-02-11 16:36 ` [PATCH 5/6] Remove miscellaneous debris from libio Zack Weinberg
                   ` (6 more replies)
  0 siblings, 7 replies; 29+ messages in thread
From: Zack Weinberg @ 2018-02-11 16:36 UTC (permalink / raw)
  To: libc-alpha; +Cc: fweimer, adhemerval.zanella

This patch set performs a number of largely search-and-replace
cleanups to libio enabled by libio.h no longer being a public header.
It includes all of the follow-up changes requested by Adhemerval for
the patchset that stopped installing libio.h.

Every patch in this series meets the "installed stripped binaries are
unchanged" criterion, except for a handful of assertions whose line
numbers change.

Zack Weinberg (6):
  Remove vestiges of external build support from libio headers.
  Mechanically remove _IO_ name aliases for types and constants.
  Remove legacy configuration knobs from libio.
  Remove _IO_file_flags define.
  Remove miscellaneous debris from libio.
  Remove completely unused libio flag bits.

 debug/fgets_chk.c                          |  12 +-
 debug/fgets_u_chk.c                        |  13 +-
 debug/fgetws_chk.c                         |  10 +-
 debug/fgetws_u_chk.c                       |  13 +-
 debug/gets_chk.c                           |  10 +-
 debug/vasprintf_chk.c                      |   6 +-
 debug/vdprintf_chk.c                       |   3 -
 debug/vsprintf_chk.c                       |   4 +-
 debug/vswprintf_chk.c                      |   2 +-
 hurd/fopenport.c                           |   2 +-
 include/stdio.h                            |  16 +-
 libio/bits/types/struct_FILE.h             |   4 +-
 libio/clearerr.c                           |   2 +-
 libio/feof.c                               |   2 +-
 libio/feof_u.c                             |   2 +-
 libio/ferror.c                             |   2 +-
 libio/ferror_u.c                           |   2 +-
 libio/filedoalloc.c                        |   8 +-
 libio/fileno.c                             |   2 +-
 libio/fileops.c                            | 171 +++++-------
 libio/fmemopen.c                           |   8 +-
 libio/fputc.c                              |   4 +-
 libio/fputc_u.c                            |   2 +-
 libio/fputwc.c                             |   2 +-
 libio/fputwc_u.c                           |   2 +-
 libio/fseek.c                              |   2 +-
 libio/fseeko.c                             |   2 +-
 libio/fseeko64.c                           |   2 +-
 libio/ftello.c                             |   6 +-
 libio/ftello64.c                           |   4 +-
 libio/fwide.c                              |   2 +-
 libio/genops.c                             | 280 ++++++-------------
 libio/getchar.c                            |   2 +-
 libio/iofclose.c                           |   8 +-
 libio/iofdopen.c                           |  11 +-
 libio/iofflush.c                           |   2 +-
 libio/iofflush_u.c                         |   2 +-
 libio/iofgetpos.c                          |   6 +-
 libio/iofgetpos64.c                        |   4 +-
 libio/iofgets.c                            |  13 +-
 libio/iofgets_u.c                          |  13 +-
 libio/iofgetws.c                           |  10 +-
 libio/iofgetws_u.c                         |  13 +-
 libio/iofopen.c                            |  13 +-
 libio/iofopen64.c                          |   2 +-
 libio/iofopncook.c                         |  63 ++---
 libio/iofputs.c                            |   4 +-
 libio/iofputs_u.c                          |   4 +-
 libio/iofputws.c                           |   4 +-
 libio/iofputws_u.c                         |   4 +-
 libio/iofread.c                            |   8 +-
 libio/iofread_u.c                          |   8 +-
 libio/iofsetpos.c                          |   2 +-
 libio/iofsetpos64.c                        |   2 +-
 libio/ioftell.c                            |   6 +-
 libio/iofwide.c                            |   6 +-
 libio/iofwrite.c                           |   8 +-
 libio/iofwrite_u.c                         |   9 +-
 libio/iogetdelim.c                         |  14 +-
 libio/iogetline.c                          |  14 +-
 libio/iogets.c                             |  10 +-
 libio/iogetwline.c                         |  14 +-
 libio/iolibio.h                            |  91 +++---
 libio/iopadn.c                             |   8 +-
 libio/iopopen.c                            |  23 +-
 libio/ioputs.c                             |   2 +-
 libio/ioseekoff.c                          |  10 +-
 libio/ioseekpos.c                          |  10 +-
 libio/iosetbuffer.c                        |   2 +-
 libio/iosetvbuf.c                          |  14 +-
 libio/ioungetc.c                           |   2 +-
 libio/ioungetwc.c                          |   2 +-
 libio/iovdprintf.c                         |   5 +-
 libio/iovsprintf.c                         |   2 +-
 libio/iovsscanf.c                          |   2 +-
 libio/iovswscanf.c                         |   4 +-
 libio/iowpadn.c                            |   8 +-
 libio/libio.h                              | 252 ++++++-----------
 libio/libioP.h                             | 427 +++++++++++++----------------
 libio/memstream.c                          |  20 +-
 libio/obprintf.c                           |   6 +-
 libio/oldfileops.c                         |  85 +++---
 libio/oldfmemopen.c                        |   6 +-
 libio/oldiofclose.c                        |   8 +-
 libio/oldiofdopen.c                        |   9 +-
 libio/oldiofgetpos.c                       |   4 +-
 libio/oldiofgetpos64.c                     |   4 +-
 libio/oldiofopen.c                         |   9 +-
 libio/oldiofsetpos.c                       |   2 +-
 libio/oldiofsetpos64.c                     |   2 +-
 libio/oldiopopen.c                         |  21 +-
 libio/oldpclose.c                          |   8 +-
 libio/oldstdfiles.c                        |   6 +-
 libio/pclose.c                             |   8 +-
 libio/peekc.c                              |   2 +-
 libio/putc.c                               |   2 +-
 libio/putc_u.c                             |   2 +-
 libio/putwc.c                              |   2 +-
 libio/putwc_u.c                            |   2 +-
 libio/rewind.c                             |   2 +-
 libio/setbuf.c                             |   4 +-
 libio/setlinebuf.c                         |   2 +-
 libio/stdio.c                              |   6 +-
 libio/strfile.h                            |   7 +-
 libio/strops.c                             |  52 ++--
 libio/tst-mmap-eofsync.c                   |   2 -
 libio/vasprintf.c                          |   8 +-
 libio/vscanf.c                             |   2 +-
 libio/vsnprintf.c                          |   8 +-
 libio/vswprintf.c                          |  10 +-
 libio/vwscanf.c                            |   2 +-
 libio/wfiledoalloc.c                       |   4 +-
 libio/wfileops.c                           |  51 ++--
 libio/wgenops.c                            | 128 ++++-----
 libio/wmemstream.c                         |  20 +-
 libio/wstrops.c                            |  56 ++--
 malloc/malloc.c                            |   6 +-
 stdio-common/fxprintf.c                    |   6 +-
 stdio-common/getline.c                     |   8 +-
 stdio-common/isoc99_vfscanf.c              |   2 +-
 stdio-common/isoc99_vscanf.c               |   2 +-
 stdio-common/isoc99_vsscanf.c              |   2 +-
 stdio-common/printf_fp.c                   |   7 +-
 stdio-common/printf_fphex.c                |   7 +-
 stdio-common/printf_size.c                 |   8 +-
 stdio-common/scanf15.c                     |   7 -
 stdio-common/scanf17.c                     |   7 -
 stdio-common/vfprintf.c                    |  32 +--
 stdio-common/vfscanf.c                     |   9 +-
 sysdeps/generic/stdio-lock.h               |   4 +-
 sysdeps/ieee754/ldbl-opt/nldbl-compat.c    |   3 +-
 sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c |   2 +-
 sysdeps/nptl/stdio-lock.h                  |   4 +-
 wcsmbs/isoc99_vfwscanf.c                   |   2 +-
 wcsmbs/isoc99_vswscanf.c                   |   5 +-
 wcsmbs/isoc99_vwscanf.c                    |   2 +-
 136 files changed, 1020 insertions(+), 1422 deletions(-)

-- 
2.16.1

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

end of thread, other threads:[~2018-02-21 22:39 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-11 16:36 [PATCH 0/6] Mostly mechanical libio decrufting Zack Weinberg
2018-02-11 16:36 ` [PATCH 5/6] Remove miscellaneous debris from libio Zack Weinberg
2018-02-11 18:39   ` Andreas Schwab
2018-02-11 19:06     ` Zack Weinberg
2018-02-11 19:32       ` Andreas Schwab
2018-02-12 16:39     ` Joseph Myers
2018-02-12 16:44       ` Zack Weinberg
2018-02-19 19:12     ` Florian Weimer
2018-02-19 20:10       ` Zack Weinberg
2018-02-19 21:29         ` Florian Weimer
2018-02-20  0:18       ` Andreas Schwab
2018-02-20 10:26         ` Florian Weimer
2018-02-20 18:38           ` Andreas Schwab
2018-02-13 16:56   ` Zack Weinberg
2018-02-19 17:41   ` Florian Weimer
2018-02-21 21:25     ` Zack Weinberg
2018-02-21 23:24       ` Joseph Myers
2018-02-11 16:36 ` [PATCH 1/6] Remove vestiges of external build support from libio headers Zack Weinberg
2018-02-11 17:54   ` Andreas Schwab
2018-02-11 16:36 ` [PATCH 2/6] Mechanically remove _IO_ name aliases for types and constants Zack Weinberg
2018-02-11 17:57   ` Andreas Schwab
2018-02-11 16:36 ` [PATCH 6/6] Remove completely unused libio flag bits Zack Weinberg
2018-02-12 12:42   ` Adhemerval Zanella
2018-02-11 17:45 ` [PATCH 3/6] Remove legacy configuration knobs from libio Zack Weinberg
2018-02-11 18:07   ` Andreas Schwab
2018-02-12 11:41   ` Adhemerval Zanella
2018-02-11 17:52 ` [PATCH 4/6] Remove _IO_file_flags define Zack Weinberg
2018-02-11 18:20   ` Andreas Schwab
2018-02-21 21:25 ` [PATCH 0/6] Mostly mechanical libio decrufting Zack Weinberg

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).