This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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]

[PATCH 00/10] All of my not-yet-reviewed patches


I've rebased all of my not-yet-reviewed patches on latest master and
verified that they all still work (specifically, I get a green build
and testsuite run on x86-64-linux-gnu).  I'm running a many-glibcs
cycle, but that will take two days on available hardware.

I think that patches 1 through 7 should be good to go as is, but they
all do still need careful review, they're all touching old, dusty code
with API and ABI implications.  Patches 8, 9, and 10 are more
experimental; patch 8 in particular is a deliberate API (but not ABI,
I think) break.

I'd like to get at least 1-7 reviewed and landed soon.  Just rebasing
and reverifying them once a week eats all the time I have for glibc
work :-/

Please note that some of the renames identified in the summary
diffstat below are incorrect.

zw
-- 
Zack Weinberg (10):
  Remove _IO_MTSAFE_IO from public headers.
  Suppress internal declarations for most of the testsuite.
  The bits/types/*.h treatment for stdio and wchar.
  Convert signal.h from __need macros to bits/types/ headers.
  Remove __need macros from errno.h (__need_Emath, __need_error_t).
  Remove __need_list_t and __need_res_state.
  Remove __need_IOV_MAX and __need_FOPEN_MAX.
  Don't install libio.h or _G_config.h.
  Remove bits/string2.h.
  Remove bits/string.h.

 Makeconfig                                         |   29 +-
 Makefile                                           |    4 +-
 Makerules                                          |   63 +-
 Rules                                              |   18 +-
 argp/argp.h                                        |    8 +-
 benchtests/strcoll-inputs/filelist#en_US.UTF-8     |    2 -
 bits/errno.h                                       |   43 +-
 bits/sigevent-consts.h                             |   37 +
 bits/{siginfo.h => siginfo-consts.h}               |   74 +-
 bits/sigset.h                                      |   84 -
 bits/sigsetops.h                                   |   77 +
 bits/string.h                                      |   18 -
 bits/types/__sigset_t.h                            |    7 +
 bits/types/sigevent_t.h                            |   17 +
 bits/types/siginfo_t.h                             |   21 +
 bits/{uio.h => uio_lim.h}                          |   12 +-
 config.h.in                                        |   11 -
 conform/data/stdio.h-data                          |    2 +-
 csu/init.c                                         |    2 +-
 elf/Makefile                                       |   58 +-
 elf/dl-error-skeleton.c                            |    2 +-
 elf/tst-env-setuid-tunables.c                      |    6 +
 grp/fgetgrent_r.c                                  |    4 -
 grp/grp.h                                          |    3 +-
 grp/putgrent.c                                     |    3 -
 gshadow/fgetsgent_r.c                              |    8 +-
 gshadow/gshadow.h                                  |    4 +-
 gshadow/putsgent.c                                 |    4 +-
 hurd/hurd.h                                        |    3 +-
 iconv/gconv.h                                      |    6 +-
 include/bits/stdio.h                               |    9 +
 include/bits/string2.h                             |    1 -
 include/bits/string3.h                             |    1 -
 include/bits/string_fortified.h                    |    1 +
 include/bits/types/FILE.h                          |    1 +
 include/bits/types/FILE_internals.h                |    1 +
 include/bits/types/__FILE.h                        |    1 +
 include/bits/types/__fpos_t.h                      |    1 +
 include/bits/types/__mbstate_t.h                   |    1 +
 include/bits/types/cookie_io_functions_t.h         |    1 +
 include/bits/types/error_t.h                       |    1 +
 include/bits/types/mbstate_t.h                     |    1 +
 include/bits/types/res_state.h                     |    1 +
 include/bits/types/sig_atomic_t.h                  |    1 +
 include/bits/types/sigset_t.h                      |    1 +
 include/bits/types/sigval_t.h                      |    1 +
 include/bits/types/wint_t.h                        |    1 +
 include/bits/wctype-wchar.h                        |    1 +
 include/bits/xopen_lim.h                           |   13 +-
 include/errno.h                                    |   15 +-
 include/features.h                                 |    6 +
 include/libc-symbols.h                             |   64 +-
 include/libio.h                                    |   43 +-
 include/list.h                                     |   38 +-
 .../m68020/bits/string.h => include/list_t.h       |   23 +-
 include/math.h                                     |    5 +
 include/netdb.h                                    |    2 +-
 include/resolv.h                                   |    2 +-
 include/signal.h                                   |   15 +-
 include/stdio.h                                    |   72 +-
 include/stdio_ext.h                                |    1 +
 include/stdlib.h                                   |    4 -
 include/string.h                                   |   21 +-
 include/time.h                                     |    4 -
 include/unistd.h                                   |    3 -
 include/wchar.h                                    |   12 +-
 include/wctype.h                                   |   29 +-
 inet/Makefile                                      |    7 +-
 inet/rcmd.c                                        |   16 +-
 inet/tst-checks-posix.c                            |    1 -
 intl/dcigettext.c                                  |    2 +-
 intl/tst-gettext2.c                                |    2 +
 io/sys/poll.h                                      |    6 +-
 libio/Makefile                                     |    6 +-
 libio/__fbufsize.c                                 |    1 +
 libio/__flbf.c                                     |    1 +
 libio/__fpending.c                                 |    1 +
 libio/__freadable.c                                |    1 +
 libio/__freading.c                                 |    1 +
 libio/__fwritable.c                                |    1 +
 libio/__fwriting.c                                 |    1 +
 libio/bits/stdio.h                                 |   71 +-
 libio/bits/stdio2.h                                |   31 +-
 libio/bits/types/FILE.h                            |   12 +
 libio/bits/types/FILE_internals.h                  |  110 ++
 libio/bits/types/__FILE.h                          |   12 +
 libio/bits/types/__fpos_t.h                        |   19 +
 libio/bits/types/cookie_io_functions_t.h           |   61 +
 libio/libio.h                                      |  358 ++--
 libio/libioP.h                                     |    7 +-
 libio/oldfileops.c                                 |   54 +-
 libio/stdio.h                                      |  127 +-
 locale/localeinfo.h                                |    2 +-
 login/utmp_file.c                                  |    1 +
 mach/mach.h                                        |    6 +-
 malloc/Makefile                                    |    6 +-
 malloc/arena.c                                     |    2 +-
 malloc/malloc.c                                    |    1 +
 math/test-signgam-finite-c99.c                     |    1 -
 math/test-signgam-main.c                           |    1 -
 misc/Makefile                                      |    8 +-
 misc/err.c                                         |    4 +-
 misc/getpass.c                                     |    2 -
 misc/getttyent.c                                   |    3 -
 misc/mntent.h                                      |    4 +-
 misc/mntent_r.c                                    |    3 -
 misc/sys/cdefs.h                                   |   10 +
 misc/sys/select.h                                  |    9 +-
 misc/sys/uio.h                                     |   18 +-
 nptl/Makefile                                      |   31 +-
 nptl/descr.h                                       |    6 +-
 nss/Makefile                                       |    4 +-
 posix/Makefile                                     |   11 +-
 posix/bits/types.h                                 |    4 +
 posix/getopt.c                                     |   14 +-
 posix/spawn.h                                      |    3 +-
 posix/sys/wait.h                                   |    3 +-
 pwd/fgetpwent_r.c                                  |    3 -
 pwd/pwd.h                                          |    3 +-
 resolv/Makefile                                    |    2 +-
 resolv/bits/types/res_state.h                      |   71 +
 resolv/netdb.h                                     |    3 +-
 resolv/resolv.h                                    |   90 +-
 rt/aio.h                                           |    4 +-
 rt/mqueue.h                                        |    3 +-
 scripts/make-errno-enum.sh                         |   67 +
 setjmp/setjmp.h                                    |    3 +-
 shadow/fgetspent_r.c                               |    2 -
 shadow/lckpwdf.c                                   |    1 +
 shadow/putspent.c                                  |    2 -
 shadow/shadow.h                                    |    4 +-
 signal/Makefile                                    |    6 +-
 signal/Versions                                    |    8 +-
 signal/bits/types/sig_atomic_t.h                   |   10 +
 signal/bits/types/sigset_t.h                       |    9 +
 signal/bits/types/sigval_t.h                       |   13 +
 signal/sigaddset.c                                 |    3 +-
 signal/sigandset.c                                 |    8 +-
 signal/sigdelset.c                                 |    3 +-
 signal/sigisempty.c                                |    7 +-
 signal/signal.h                                    |   43 +-
 signal/sigorset.c                                  |    8 +-
 signal/sigsetops.c                                 |   58 +-
 signal/sigsetops.h                                 |    5 +
 socket/sys/socket.h                                |    5 -
 stdio-common/printf.h                              |    5 +-
 stdio-common/stdio_lim.h.in                        |   31 +-
 stdio-common/tstgetln.c                            |    3 +-
 stdlib/Makefile                                    |   20 +-
 stdlib/abort.c                                     |    9 +-
 stdlib/bits/types/error_t.h                        |   14 +
 stdlib/errno.h                                     |   60 +-
 stdlib/tst-strtod.c                                |   64 +-
 stdlib/tst-strtod1i.c                              |   83 +
 stdlib/tst-strtod5.c                               |   74 +-
 stdlib/tst-strtod5i.c                              |   99 +
 string/Makefile                                    |    8 +-
 string/Versions                                    |    2 +-
 string/argz.h                                      |    9 +-
 string/bits/string2.h                              |  119 --
 string/bits/{string3.h => string_fortified.h}      |   29 +-
 string/string-inlines.c                            |   36 +-
 string/string.h                                    |   47 +-
 string/strncat.c                                   |    5 +
 string/test-string.h                               |   11 +
 string/test-strstr.c                               |    1 +
 sunrpc/Makefile                                    |    3 +-
 sunrpc/rpc_thread.c                                |    2 +-
 sysdeps/arm/sys/ucontext.h                         |    1 +
 sysdeps/generic/_G_config.h                        |   53 +-
 sysdeps/generic/libc-tsd.h                         |    2 +-
 sysdeps/generic/stdio-lock.h                       |    1 +
 sysdeps/generic/sys/ucontext.h                     |    1 +
 .../bits/string.h => generic/sys/uio_ext.h}        |   15 +-
 sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S      |    3 +-
 sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S   |    3 +-
 sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S      |    3 +-
 sysdeps/i386/i686/multiarch/strncat-c.c            |    7 +-
 sysdeps/i386/string-inlines.c                      |  185 +-
 sysdeps/i386/sys/ucontext.h                        |    1 +
 sysdeps/ia64/fpu/libm-symbols.h                    |    2 +-
 sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c           |    2 +-
 sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h           |    3 +-
 sysdeps/ieee754/ldbl-opt/nldbl-compat.h            |   13 +-
 sysdeps/m68k/m680x0/fpu/bits/mathinline.h          |   15 +-
 sysdeps/m68k/sys/ucontext.h                        |    1 +
 sysdeps/mach/hurd/bits/errno.h                     |  503 ++---
 sysdeps/mach/hurd/errnos.awk                       |   89 +-
 sysdeps/mach/hurd/i386/bits/sigcontext.h           |    1 +
 sysdeps/mips/sys/ucontext.h                        |    1 +
 sysdeps/nacl/errnos.awk                            |   23 +-
 sysdeps/nptl/stdio-lock.h                          |    1 +
 sysdeps/posix/profil.c                             |    1 +
 sysdeps/posix/sigignore.c                          |    5 +-
 sysdeps/posix/sigintr.c                            |    1 +
 sysdeps/posix/signal.c                             |    7 +-
 sysdeps/posix/sigset.c                             |   65 +-
 sysdeps/posix/sprofil.c                            |    1 +
 sysdeps/posix/sysv_signal.c                        |    5 +-
 sysdeps/powerpc/Makefile                           |    2 +-
 sysdeps/powerpc/nofpu/soft-supp.h                  |    6 +-
 sysdeps/powerpc/novmxsetjmp.h                      |    2 +-
 .../powerpc/powerpc32/power4/multiarch/mempcpy.c   |    2 -
 sysdeps/powerpc/powerpc64/multiarch/mempcpy.c      |    3 +-
 sysdeps/powerpc/powerpc64/multiarch/stpcpy.c       |    1 +
 sysdeps/powerpc/soft-fp/sfp-machine.h              |    6 +-
 sysdeps/pthread/bits/sigthread.h                   |    1 +
 sysdeps/s390/bits/string.h                         |  252 ---
 sysdeps/s390/multiarch/mempcpy.c                   |    4 +-
 sysdeps/s390/multiarch/strncat-c.c                 |    2 +-
 sysdeps/unix/sysv/linux/Makefile                   |    6 +-
 sysdeps/unix/sysv/linux/_G_config.h                |   52 +-
 sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h     |    1 +
 sysdeps/unix/sysv/linux/alpha/bits/errno.h         |   46 +-
 sysdeps/unix/sysv/linux/alpha/sys/ucontext.h       |    1 +
 sysdeps/unix/sysv/linux/arm/sys/ucontext.h         |    1 +
 sysdeps/unix/sysv/linux/bits/errno.h               |   47 +-
 sysdeps/unix/sysv/linux/bits/fcntl-linux.h         |   18 +-
 sysdeps/unix/sysv/linux/bits/sigevent-consts.h     |   41 +
 sysdeps/unix/sysv/linux/bits/siginfo-arch.h        |    7 +
 sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h |    7 +
 sysdeps/unix/sysv/linux/bits/siginfo-consts.h      |  187 ++
 sysdeps/unix/sysv/linux/bits/siginfo.h             |  341 ----
 sysdeps/unix/sysv/linux/bits/sigset.h              |  124 --
 sysdeps/unix/sysv/linux/bits/sigsetops.h           |  108 ++
 sysdeps/unix/sysv/linux/bits/types/__sigset_t.h    |   10 +
 sysdeps/unix/sysv/linux/bits/types/sigevent_t.h    |   48 +
 sysdeps/unix/sysv/linux/bits/types/siginfo_t.h     |  134 ++
 .../string.h => unix/sysv/linux/bits/uio_lim.h}    |   28 +-
 sysdeps/unix/sysv/linux/hppa/bits/errno.h          |   39 +-
 sysdeps/unix/sysv/linux/hppa/sys/ucontext.h        |    1 +
 sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h   |   15 +
 .../sysv/linux/ia64/bits/siginfo-consts-arch.h     |   45 +
 sysdeps/unix/sysv/linux/ia64/bits/siginfo.h        |  360 ----
 sysdeps/unix/sysv/linux/m68k/sys/ucontext.h        |    1 +
 sysdeps/unix/sysv/linux/mips/bits/errno.h          |   45 +-
 sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h   |   13 +
 sysdeps/unix/sysv/linux/mips/bits/siginfo.h        |  344 ----
 sysdeps/unix/sysv/linux/mips/sys/ucontext.h        |    1 +
 sysdeps/unix/sysv/linux/nios2/sys/ucontext.h       |    1 +
 sysdeps/unix/sysv/linux/nptl-signals.h             |    1 +
 sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h     |    4 +-
 sysdeps/unix/sysv/linux/s390/bits/siginfo.h        |  341 ----
 sysdeps/unix/sysv/linux/s390/sys/ucontext.h        |    1 +
 sysdeps/unix/sysv/linux/sh/sys/ucontext.h          |    1 +
 sysdeps/unix/sysv/linux/sparc/bits/errno.h         |   46 +-
 sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h  |   12 +
 .../sysv/linux/sparc/bits/siginfo-consts-arch.h    |   12 +
 sysdeps/unix/sysv/linux/sparc/bits/siginfo.h       |  352 ----
 sysdeps/unix/sysv/linux/sparc/sys/ucontext.h       |    1 +
 sysdeps/unix/sysv/linux/sys/epoll.h                |    8 +-
 sysdeps/unix/sysv/linux/sys/signalfd.h             |    3 +-
 .../unix/sysv/linux/{bits/uio.h => sys/uio_ext.h}  |   37 +-
 sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h   |   10 +
 .../sysv/linux/tile/bits/siginfo-consts-arch.h     |   14 +
 sysdeps/unix/sysv/linux/tile/bits/siginfo.h        |  347 ----
 sysdeps/unix/sysv/linux/tile/sys/ucontext.h        |    1 +
 sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h    |   26 +
 sysdeps/unix/sysv/linux/x86/bits/siginfo.h         |  360 ----
 sysdeps/unix/sysv/linux/x86/sys/ucontext.h         |    1 +
 sysdeps/x86/bits/string.h                          | 1996 --------------------
 sysdeps/x86_64/fpu/Makefile                        |    8 +
 sysdeps/x86_64/fpu/math-tests-arch.h               |    8 +-
 sysdeps/x86_64/fpu/s_cosf.S                        |    3 +-
 sysdeps/x86_64/fpu/s_sincosf.S                     |    3 +-
 sysdeps/x86_64/fpu/s_sinf.S                        |    3 +-
 sysdeps/x86_64/multiarch/strncat-c.c               |    7 +-
 sysdeps/x86_64/multiarch/test-multiarch.c          |    2 +-
 wcsmbs/Makefile                                    |    3 +-
 wcsmbs/bits/types/__mbstate_t.h                    |   19 +
 wcsmbs/bits/types/mbstate_t.h                      |    8 +
 wcsmbs/bits/types/wint_t.h                         |   27 +
 wcsmbs/uchar.h                                     |    9 +-
 wcsmbs/wchar.h                                     |  125 +-
 wctype/Makefile                                    |    2 +-
 wctype/bits/wctype-wchar.h                         |  173 ++
 wctype/wctype.h                                    |  179 +-
 277 files changed, 3346 insertions(+), 7446 deletions(-)
 create mode 100644 bits/sigevent-consts.h
 rename bits/{siginfo.h => siginfo-consts.h} (68%)
 delete mode 100644 bits/sigset.h
 create mode 100644 bits/sigsetops.h
 delete mode 100644 bits/string.h
 create mode 100644 bits/types/__sigset_t.h
 create mode 100644 bits/types/sigevent_t.h
 create mode 100644 bits/types/siginfo_t.h
 rename bits/{uio.h => uio_lim.h} (79%)
 create mode 100644 include/bits/stdio.h
 delete mode 100644 include/bits/string2.h
 delete mode 100644 include/bits/string3.h
 create mode 100644 include/bits/string_fortified.h
 create mode 100644 include/bits/types/FILE.h
 create mode 100644 include/bits/types/FILE_internals.h
 create mode 100644 include/bits/types/__FILE.h
 create mode 100644 include/bits/types/__fpos_t.h
 create mode 100644 include/bits/types/__mbstate_t.h
 create mode 100644 include/bits/types/cookie_io_functions_t.h
 create mode 100644 include/bits/types/error_t.h
 create mode 100644 include/bits/types/mbstate_t.h
 create mode 100644 include/bits/types/res_state.h
 create mode 100644 include/bits/types/sig_atomic_t.h
 create mode 100644 include/bits/types/sigset_t.h
 create mode 100644 include/bits/types/sigval_t.h
 create mode 100644 include/bits/types/wint_t.h
 create mode 100644 include/bits/wctype-wchar.h
 rename sysdeps/m68k/m680x0/m68020/bits/string.h => include/list_t.h (62%)
 create mode 100644 libio/bits/types/FILE.h
 create mode 100644 libio/bits/types/FILE_internals.h
 create mode 100644 libio/bits/types/__FILE.h
 create mode 100644 libio/bits/types/__fpos_t.h
 create mode 100644 libio/bits/types/cookie_io_functions_t.h
 create mode 100644 resolv/bits/types/res_state.h
 create mode 100644 scripts/make-errno-enum.sh
 create mode 100644 signal/bits/types/sig_atomic_t.h
 create mode 100644 signal/bits/types/sigset_t.h
 create mode 100644 signal/bits/types/sigval_t.h
 create mode 100644 stdlib/bits/types/error_t.h
 create mode 100644 stdlib/tst-strtod1i.c
 create mode 100644 stdlib/tst-strtod5i.c
 delete mode 100644 string/bits/string2.h
 rename string/bits/{string3.h => string_fortified.h} (89%)
 rename sysdeps/{aarch64/bits/string.h => generic/sys/uio_ext.h} (70%)
 delete mode 100644 sysdeps/s390/bits/string.h
 create mode 100644 sysdeps/unix/sysv/linux/bits/sigevent-consts.h
 create mode 100644 sysdeps/unix/sysv/linux/bits/siginfo-arch.h
 create mode 100644 sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
 create mode 100644 sysdeps/unix/sysv/linux/bits/siginfo-consts.h
 delete mode 100644 sysdeps/unix/sysv/linux/bits/siginfo.h
 delete mode 100644 sysdeps/unix/sysv/linux/bits/sigset.h
 create mode 100644 sysdeps/unix/sysv/linux/bits/sigsetops.h
 create mode 100644 sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
 create mode 100644 sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
 create mode 100644 sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
 rename sysdeps/{sparc/bits/string.h => unix/sysv/linux/bits/uio_lim.h} (56%)
 create mode 100644 sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
 create mode 100644 sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
 delete mode 100644 sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
 create mode 100644 sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
 delete mode 100644 sysdeps/unix/sysv/linux/mips/bits/siginfo.h
 delete mode 100644 sysdeps/unix/sysv/linux/s390/bits/siginfo.h
 create mode 100644 sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
 create mode 100644 sysdeps/unix/sysv/linux/sparc/bits/siginfo-consts-arch.h
 delete mode 100644 sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
 rename sysdeps/unix/sysv/linux/{bits/uio.h => sys/uio_ext.h} (57%)
 create mode 100644 sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
 create mode 100644 sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
 delete mode 100644 sysdeps/unix/sysv/linux/tile/bits/siginfo.h
 create mode 100644 sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h
 delete mode 100644 sysdeps/unix/sysv/linux/x86/bits/siginfo.h
 delete mode 100644 sysdeps/x86/bits/string.h
 create mode 100644 wcsmbs/bits/types/__mbstate_t.h
 create mode 100644 wcsmbs/bits/types/mbstate_t.h
 create mode 100644 wcsmbs/bits/types/wint_t.h
 create mode 100644 wctype/bits/wctype-wchar.h

-- 
2.11.0


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