From e1280386c6ba3e4ecf014df909177617c9353c1c Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 27 Dec 2024 23:14:03 +0100 Subject: [PATCH] Rename module errno to errno-h. * modules/errno-h: Renamed from modules/errno. * modules/errno-h-tests: Renamed from modules/errno-tests. * modules/errno-h-c++-tests: Renamed from modules/errno-c++-tests. * tests/test-errno-h.c: Renamed from tests/test-errno.c. * tests/test-errno-h-c++.cc: Renamed from tests/test-errno-c++.cc. * tests/test-errno-h-c++2.cc: Renamed from tests/test-errno-c++2.cc. * doc/posix-headers/errno.texi: Update. * modules/* (Depends-on): Update. * modules/errno: New file. --- ChangeLog | 13 +++++ doc/posix-headers/errno.texi | 4 +- modules/accept | 2 +- modules/areadlinkat | 2 +- modules/areadlinkat-with-size | 2 +- modules/at-internal | 2 +- modules/bind | 2 +- modules/c-nstrftime | 2 +- modules/c-stack | 2 +- modules/c-vasnprintf | 2 +- modules/canonicalize | 2 +- modules/canonicalize-lgpl | 2 +- modules/cond | 2 +- modules/connect | 2 +- modules/dirfd | 2 +- modules/dprintf | 2 +- modules/dzprintf | 2 +- modules/errno | 42 +++------------ modules/errno-c++-tests | 18 ------- modules/errno-h | 53 +++++++++++++++++++ modules/errno-h-c++-tests | 18 +++++++ modules/errno-h-tests | 13 +++++ modules/errno-tests | 13 ----- modules/faccessat | 2 +- modules/fchmodat | 2 +- modules/fchownat | 2 +- modules/fchownat-tests | 2 +- modules/fdatasync-tests | 2 +- modules/fdopendir | 2 +- modules/file-has-acl | 2 +- modules/fprintf-posix | 2 +- modules/fstatat | 2 +- modules/fsync-tests | 2 +- modules/ftell | 2 +- modules/fts-tests | 2 +- modules/fwriteerror | 2 +- modules/fzprintf | 2 +- modules/getcwd-tests | 2 +- modules/getdelim | 2 +- modules/gethostname | 2 +- modules/getpeername | 2 +- modules/getsockname | 2 +- modules/getsockname-tests | 2 +- modules/getsockopt | 2 +- modules/getugroups | 2 +- modules/inet_ntop | 2 +- modules/inet_pton | 2 +- modules/ioctl | 2 +- modules/lchmod | 2 +- modules/lchown | 2 +- modules/lchown-tests | 2 +- modules/link-tests | 2 +- modules/linkat | 2 +- modules/listen | 2 +- modules/lstat-tests | 2 +- modules/mkdirat | 2 +- modules/mkfifoat | 2 +- modules/nstrftime | 2 +- modules/openat | 2 +- modules/perror | 2 +- modules/poll | 2 +- modules/poll-tests | 2 +- modules/posix_spawn-internal | 2 +- modules/priv-set | 2 +- modules/pselect-tests | 2 +- modules/readlinkat | 2 +- modules/recv | 2 +- modules/recvfrom | 2 +- modules/relocatable-prog-wrapper | 2 +- modules/rename-tests | 2 +- modules/savewd | 2 +- modules/select-tests | 2 +- modules/selinux-at | 2 +- modules/selinux-h | 2 +- modules/send | 2 +- modules/sendto | 2 +- modules/sethostname | 2 +- modules/setsockopt | 2 +- modules/settime | 2 +- modules/shutdown | 2 +- modules/snprintf | 2 +- modules/snzprintf | 2 +- modules/socket | 2 +- modules/sprintf-posix | 2 +- modules/stat-time | 2 +- modules/strerror | 2 +- modules/strerror-override | 2 +- modules/strerror_r-posix | 2 +- modules/symlinkat | 2 +- modules/sys_socket | 2 +- modules/szprintf | 2 +- modules/unistdio/u16-u16-vasnprintf | 2 +- modules/unistdio/u16-u16-vasprintf | 2 +- modules/unistdio/u16-u16-vsnprintf | 2 +- modules/unistdio/u16-u16-vsprintf | 2 +- modules/unistdio/u16-vasnprintf | 2 +- modules/unistdio/u16-vasprintf | 2 +- modules/unistdio/u16-vsnprintf | 2 +- modules/unistdio/u16-vsprintf | 2 +- modules/unistdio/u32-u32-vasnprintf | 2 +- modules/unistdio/u32-u32-vasprintf | 2 +- modules/unistdio/u32-u32-vsnprintf | 2 +- modules/unistdio/u32-u32-vsprintf | 2 +- modules/unistdio/u32-vasnprintf | 2 +- modules/unistdio/u32-vasprintf | 2 +- modules/unistdio/u32-vsnprintf | 2 +- modules/unistdio/u32-vsprintf | 2 +- modules/unistdio/u8-u8-vasnprintf | 2 +- modules/unistdio/u8-u8-vasprintf | 2 +- modules/unistdio/u8-u8-vsnprintf | 2 +- modules/unistdio/u8-u8-vsprintf | 2 +- modules/unistdio/u8-vasnprintf | 2 +- modules/unistdio/u8-vasprintf | 2 +- modules/unistdio/u8-vsnprintf | 2 +- modules/unistdio/u8-vsprintf | 2 +- modules/unistdio/ulc-fprintf | 2 +- modules/unistdio/ulc-vasnprintf | 2 +- modules/unistdio/ulc-vasprintf | 2 +- modules/unistdio/ulc-vfprintf | 2 +- modules/unistdio/ulc-vsnprintf | 2 +- modules/unistdio/ulc-vsprintf | 2 +- modules/unlinkat | 2 +- modules/utimens | 2 +- modules/utimensat | 2 +- modules/vasnprintf | 2 +- modules/vasnwprintf | 2 +- modules/vasprintf | 2 +- modules/vaszprintf | 2 +- modules/vdprintf | 2 +- modules/vdzprintf | 2 +- modules/vfprintf-posix | 2 +- modules/vfzprintf | 2 +- modules/vsnprintf | 2 +- modules/vsnzprintf | 2 +- modules/vsprintf-posix | 2 +- modules/vszprintf | 2 +- modules/windows-cond | 2 +- modules/windows-timedmutex | 2 +- modules/windows-timedrecmutex | 2 +- modules/windows-timedrwlock | 2 +- modules/xvasprintf | 2 +- ...{test-errno-c++.cc => test-errno-h-c++.cc} | 0 ...est-errno-c++2.cc => test-errno-h-c++2.cc} | 0 tests/{test-errno.c => test-errno-h.c} | 0 144 files changed, 239 insertions(+), 201 deletions(-) delete mode 100644 modules/errno-c++-tests create mode 100644 modules/errno-h create mode 100644 modules/errno-h-c++-tests create mode 100644 modules/errno-h-tests delete mode 100644 modules/errno-tests rename tests/{test-errno-c++.cc => test-errno-h-c++.cc} (100%) rename tests/{test-errno-c++2.cc => test-errno-h-c++2.cc} (100%) rename tests/{test-errno.c => test-errno-h.c} (100%) diff --git a/ChangeLog b/ChangeLog index b687a04939..605a4c462c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2024-12-27 Bruno Haible + + Rename module errno to errno-h. + * modules/errno-h: Renamed from modules/errno. + * modules/errno-h-tests: Renamed from modules/errno-tests. + * modules/errno-h-c++-tests: Renamed from modules/errno-c++-tests. + * tests/test-errno-h.c: Renamed from tests/test-errno.c. + * tests/test-errno-h-c++.cc: Renamed from tests/test-errno-c++.cc. + * tests/test-errno-h-c++2.cc: Renamed from tests/test-errno-c++2.cc. + * doc/posix-headers/errno.texi: Update. + * modules/* (Depends-on): Update. + * modules/errno: New file. + 2024-12-27 Bruno Haible Rename module dirent to dirent-h. diff --git a/doc/posix-headers/errno.texi b/doc/posix-headers/errno.texi index 1a0dc9d2cb..79c4518a6c 100644 --- a/doc/posix-headers/errno.texi +++ b/doc/posix-headers/errno.texi @@ -3,8 +3,8 @@ POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/errno.h.html} -Gnulib module: errno -@mindex errno +Gnulib module: errno-h +@mindex errno-h Portability problems fixed by Gnulib: @itemize diff --git a/modules/accept b/modules/accept index 875d90cadb..682cd2a489 100644 --- a/modules/accept +++ b/modules/accept @@ -9,7 +9,7 @@ Depends-on: extensions sys_socket socketlib -errno [test "$ac_cv_header_winsock2_h" = yes] +errno-h [test "$ac_cv_header_winsock2_h" = yes] msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] configure.ac: diff --git a/modules/areadlinkat b/modules/areadlinkat index 3b36f131f5..3af6ba62f1 100644 --- a/modules/areadlinkat +++ b/modules/areadlinkat @@ -11,7 +11,7 @@ areadlink careadlinkat readlinkat at-internal -errno +errno-h extensions fchdir fcntl-h diff --git a/modules/areadlinkat-with-size b/modules/areadlinkat-with-size index 0fe291ee84..a47fa0f904 100644 --- a/modules/areadlinkat-with-size +++ b/modules/areadlinkat-with-size @@ -11,7 +11,7 @@ areadlink-with-size stdint readlinkat at-internal -errno +errno-h extensions fchdir fcntl-h diff --git a/modules/at-internal b/modules/at-internal index 0d17b9339a..60627dbdeb 100644 --- a/modules/at-internal +++ b/modules/at-internal @@ -6,7 +6,7 @@ lib/openat-priv.h lib/openat-proc.c Depends-on: -errno +errno-h fcntl-h intprops open [case $host_os in mingw* | windows*) false;; *) :;; esac] diff --git a/modules/bind b/modules/bind index 6d2b888b0d..fad39d8af2 100644 --- a/modules/bind +++ b/modules/bind @@ -8,7 +8,7 @@ lib/w32sock.h Depends-on: sys_socket socketlib -errno [test "$ac_cv_header_winsock2_h" = yes] +errno-h [test "$ac_cv_header_winsock2_h" = yes] msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] configure.ac: diff --git a/modules/c-nstrftime b/modules/c-nstrftime index e737fe70d6..25c182ab13 100644 --- a/modules/c-nstrftime +++ b/modules/c-nstrftime @@ -12,7 +12,7 @@ Depends-on: attribute c-ctype c99 -errno +errno-h extensions intprops libc-config diff --git a/modules/c-stack b/modules/c-stack index e351e39095..4a7d816e51 100644 --- a/modules/c-stack +++ b/modules/c-stack @@ -8,7 +8,7 @@ m4/c-stack.m4 Depends-on: c99 -errno +errno-h exitfail getprogname gettext-h diff --git a/modules/c-vasnprintf b/modules/c-vasnprintf index 53c7babe84..c3f998aa5d 100644 --- a/modules/c-vasnprintf +++ b/modules/c-vasnprintf @@ -32,7 +32,7 @@ nocrash printf-safe alloca-opt xsize -errno +errno-h memchr multiarch mbszero diff --git a/modules/canonicalize b/modules/canonicalize index 25667c431b..fe44d75050 100644 --- a/modules/canonicalize +++ b/modules/canonicalize @@ -10,7 +10,7 @@ m4/lstat.m4 Depends-on: attribute double-slash-root -errno +errno-h extensions fcntl-h file-set diff --git a/modules/canonicalize-lgpl b/modules/canonicalize-lgpl index 7842cda2da..d334356ec1 100644 --- a/modules/canonicalize-lgpl +++ b/modules/canonicalize-lgpl @@ -13,7 +13,7 @@ stdlib nocrash double-slash-root [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] eloop-threshold [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] -errno [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] +errno-h [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] fcntl-h [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] filename [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] idx [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1] diff --git a/modules/cond b/modules/cond index 5f2ea4edec..3d8e31aaf0 100644 --- a/modules/cond +++ b/modules/cond @@ -9,7 +9,7 @@ m4/cond.m4 Depends-on: threadlib lock -errno +errno-h extern-inline stdbool time-h diff --git a/modules/connect b/modules/connect index d56088f30f..445e6f9960 100644 --- a/modules/connect +++ b/modules/connect @@ -8,7 +8,7 @@ lib/w32sock.h Depends-on: sys_socket socketlib -errno [test "$ac_cv_header_winsock2_h" = yes] +errno-h [test "$ac_cv_header_winsock2_h" = yes] msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] configure.ac: diff --git a/modules/dirfd b/modules/dirfd index 9f20c05cb1..d8503f41b7 100644 --- a/modules/dirfd +++ b/modules/dirfd @@ -9,7 +9,7 @@ m4/dirfd.m4 Depends-on: dirent-h extensions -errno [test $HAVE_DIRFD = 0 || test $REPLACE_DIRFD = 1] +errno-h [test $HAVE_DIRFD = 0 || test $REPLACE_DIRFD = 1] configure.ac: gl_FUNC_DIRFD diff --git a/modules/dprintf b/modules/dprintf index 1e9d208df9..fb1cb408a0 100644 --- a/modules/dprintf +++ b/modules/dprintf @@ -9,7 +9,7 @@ Depends-on: stdio vdzprintf [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1] intprops [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1] -errno [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1] +errno-h [test $ac_cv_func_dprintf = no || test $REPLACE_DPRINTF = 1] configure.ac: gl_FUNC_DPRINTF diff --git a/modules/dzprintf b/modules/dzprintf index ea3dc9d033..d1908574f3 100644 --- a/modules/dzprintf +++ b/modules/dzprintf @@ -11,7 +11,7 @@ vasnprintf intprops free-posix full-write -errno +errno-h configure.ac: gl_STDIO_MODULE_INDICATOR([dzprintf]) diff --git a/modules/errno b/modules/errno index 385985feab..abe19350b5 100644 --- a/modules/errno +++ b/modules/errno @@ -1,47 +1,20 @@ Description: A POSIX-like . +Status: +deprecated + +Notice: +This module is deprecated. Use the module 'errno-h' instead. + Files: -lib/errno.in.h -m4/errno_h.m4 Depends-on: -gen-header -include_next -extensions-aix +errno-h configure.ac: -gl_HEADER_ERRNO_H -gl_CONDITIONAL_HEADER([errno.h]) -AC_PROG_MKDIR_P Makefile.am: -BUILT_SOURCES += $(ERRNO_H) - -# We need the following in order to create when the system -# doesn't have one that is POSIX compliant. -if GL_GENERATE_ERRNO_H -errno.h: errno.in.h $(top_builddir)/config.status -@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' - $(gl_V_at)$(SED_HEADER_STDOUT) \ - -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ - -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ - -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ - -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ - -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \ - -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \ - -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \ - -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \ - -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \ - -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \ - -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \ - $(srcdir)/errno.in.h > $@-t - $(AM_V_at)mv $@-t $@ -else -errno.h: $(top_builddir)/config.status - rm -f $@ -endif -MOSTLYCLEANFILES += errno.h errno.h-t Include: @@ -50,4 +23,3 @@ License: LGPLv2+ Maintainer: -all diff --git a/modules/errno-c++-tests b/modules/errno-c++-tests deleted file mode 100644 index f4083bd1ba..0000000000 --- a/modules/errno-c++-tests +++ /dev/null @@ -1,18 +0,0 @@ -Files: -tests/test-errno-c++.cc -tests/test-errno-c++2.cc - -Status: -c++-test - -Depends-on: -ansi-c++-opt - -configure.ac: - -Makefile.am: -if ANSICXX -TESTS += test-errno-c++ -check_PROGRAMS += test-errno-c++ -test_errno_c___SOURCES = test-errno-c++.cc test-errno-c++2.cc -endif diff --git a/modules/errno-h b/modules/errno-h new file mode 100644 index 0000000000..385985feab --- /dev/null +++ b/modules/errno-h @@ -0,0 +1,53 @@ +Description: +A POSIX-like . + +Files: +lib/errno.in.h +m4/errno_h.m4 + +Depends-on: +gen-header +include_next +extensions-aix + +configure.ac: +gl_HEADER_ERRNO_H +gl_CONDITIONAL_HEADER([errno.h]) +AC_PROG_MKDIR_P + +Makefile.am: +BUILT_SOURCES += $(ERRNO_H) + +# We need the following in order to create when the system +# doesn't have one that is POSIX compliant. +if GL_GENERATE_ERRNO_H +errno.h: errno.in.h $(top_builddir)/config.status +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ + -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \ + -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \ + -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \ + -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \ + -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \ + -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \ + -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \ + $(srcdir)/errno.in.h > $@-t + $(AM_V_at)mv $@-t $@ +else +errno.h: $(top_builddir)/config.status + rm -f $@ +endif +MOSTLYCLEANFILES += errno.h errno.h-t + +Include: + + +License: +LGPLv2+ + +Maintainer: +all diff --git a/modules/errno-h-c++-tests b/modules/errno-h-c++-tests new file mode 100644 index 0000000000..759da2adbc --- /dev/null +++ b/modules/errno-h-c++-tests @@ -0,0 +1,18 @@ +Files: +tests/test-errno-h-c++.cc +tests/test-errno-h-c++2.cc + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-errno-h-c++ +check_PROGRAMS += test-errno-h-c++ +test_errno_h_c___SOURCES = test-errno-h-c++.cc test-errno-h-c++2.cc +endif diff --git a/modules/errno-h-tests b/modules/errno-h-tests new file mode 100644 index 0000000000..8f6ff6ad73 --- /dev/null +++ b/modules/errno-h-tests @@ -0,0 +1,13 @@ +Files: +tests/test-errno-h.c + +Depends-on: +assert-h +c99 +errno-h-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-errno-h +check_PROGRAMS += test-errno-h diff --git a/modules/errno-tests b/modules/errno-tests deleted file mode 100644 index f77aa5ae6b..0000000000 --- a/modules/errno-tests +++ /dev/null @@ -1,13 +0,0 @@ -Files: -tests/test-errno.c - -Depends-on: -assert-h -c99 -errno-c++-tests - -configure.ac: - -Makefile.am: -TESTS += test-errno -check_PROGRAMS += test-errno diff --git a/modules/faccessat b/modules/faccessat index f560dd66e5..90513909f2 100644 --- a/modules/faccessat +++ b/modules/faccessat @@ -10,7 +10,7 @@ Depends-on: unistd extensions at-internal [test $HAVE_FACCESSAT = 0 || test $REPLACE_FACCESSAT = 1] -errno [test $HAVE_FACCESSAT = 0 || test $REPLACE_FACCESSAT = 1] +errno-h [test $HAVE_FACCESSAT = 0 || test $REPLACE_FACCESSAT = 1] fchdir [test $HAVE_FACCESSAT = 0 || test $REPLACE_FACCESSAT = 1] fcntl-h [test $HAVE_FACCESSAT = 0 || test $REPLACE_FACCESSAT = 1] filename [test $HAVE_FACCESSAT = 0 || test $REPLACE_FACCESSAT = 1] diff --git a/modules/fchmodat b/modules/fchmodat index 4de4314859..d7698cd391 100644 --- a/modules/fchmodat +++ b/modules/fchmodat @@ -9,7 +9,7 @@ m4/fchmodat.m4 Depends-on: sys_stat extensions -errno [test $HAVE_FCHMODAT = 0 || test $REPLACE_FCHMODAT = 1] +errno-h [test $HAVE_FCHMODAT = 0 || test $REPLACE_FCHMODAT = 1] fcntl-h [test $HAVE_FCHMODAT = 0 || test $REPLACE_FCHMODAT = 1] unistd [test $HAVE_FCHMODAT = 0 || test $REPLACE_FCHMODAT = 1] intprops [test $HAVE_FCHMODAT = 0 || test $REPLACE_FCHMODAT = 1] diff --git a/modules/fchownat b/modules/fchownat index 49c4b18096..44d5cfc9b6 100644 --- a/modules/fchownat +++ b/modules/fchownat @@ -10,7 +10,7 @@ Depends-on: unistd extensions at-internal [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] -errno [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] +errno-h [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] extern-inline [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] fchdir [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] fcntl-h [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] diff --git a/modules/fchownat-tests b/modules/fchownat-tests index 2f804eccc1..856ccf8467 100644 --- a/modules/fchownat-tests +++ b/modules/fchownat-tests @@ -7,7 +7,7 @@ tests/signature.h tests/macros.h Depends-on: -errno +errno-h ignore-value mgetgroups nanosleep diff --git a/modules/fdatasync-tests b/modules/fdatasync-tests index 88da0b10de..0126e1d623 100644 --- a/modules/fdatasync-tests +++ b/modules/fdatasync-tests @@ -4,7 +4,7 @@ tests/signature.h tests/macros.h Depends-on: -errno +errno-h configure.ac: diff --git a/modules/fdopendir b/modules/fdopendir index a47049f377..8e55856eb0 100644 --- a/modules/fdopendir +++ b/modules/fdopendir @@ -12,7 +12,7 @@ extensions at-internal [test $HAVE_FDOPENDIR = 0] dirfd [test $HAVE_FDOPENDIR = 0] dup [test $HAVE_FDOPENDIR = 0] -errno [test $HAVE_FDOPENDIR = 0] +errno-h [test $HAVE_FDOPENDIR = 0] fchdir [test $HAVE_FDOPENDIR = 0] fstat [test $HAVE_FDOPENDIR = 0] openat-die [test $HAVE_FDOPENDIR = 0] diff --git a/modules/file-has-acl b/modules/file-has-acl index ad06e7f0cc..a20724bd97 100644 --- a/modules/file-has-acl +++ b/modules/file-has-acl @@ -12,7 +12,7 @@ acl-permissions assert-h attribute dirent-h -errno +errno-h extern-inline minmax free-posix diff --git a/modules/fprintf-posix b/modules/fprintf-posix index 3ccb9be175..ce34fcbb72 100644 --- a/modules/fprintf-posix +++ b/modules/fprintf-posix @@ -17,7 +17,7 @@ Depends-on: stdio nocrash printf-safe -errno +errno-h multiarch vfzprintf [test $REPLACE_FPRINTF = 1] mixin/printf-posix [test $REPLACE_FPRINTF = 1] diff --git a/modules/fstatat b/modules/fstatat index 6ad36d1b82..aa129072e3 100644 --- a/modules/fstatat +++ b/modules/fstatat @@ -11,7 +11,7 @@ Depends-on: sys_stat extensions at-internal [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1] -errno [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1] +errno-h [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1] extern-inline [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1] fchdir [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1] fcntl-h [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1] diff --git a/modules/fsync-tests b/modules/fsync-tests index 3db181be7d..7457d83498 100644 --- a/modules/fsync-tests +++ b/modules/fsync-tests @@ -4,7 +4,7 @@ tests/signature.h tests/macros.h Depends-on: -errno +errno-h configure.ac: diff --git a/modules/ftell b/modules/ftell index d9d754d917..cfd1ad1596 100644 --- a/modules/ftell +++ b/modules/ftell @@ -7,7 +7,7 @@ m4/ftell.m4 Depends-on: stdio -errno +errno-h ftello [test $REPLACE_FTELL = 1] configure.ac: diff --git a/modules/fts-tests b/modules/fts-tests index fc1e479231..5feb3c3c6e 100644 --- a/modules/fts-tests +++ b/modules/fts-tests @@ -6,7 +6,7 @@ tests/test-fts.c Depends-on: c99 -errno +errno-h remove unlinkat diff --git a/modules/fwriteerror b/modules/fwriteerror index 9386e01430..3960762d7f 100644 --- a/modules/fwriteerror +++ b/modules/fwriteerror @@ -6,7 +6,7 @@ lib/fwriteerror.h lib/fwriteerror.c Depends-on: -errno +errno-h stdbool configure.ac: diff --git a/modules/fzprintf b/modules/fzprintf index b822f26c59..a6e2f2d065 100644 --- a/modules/fzprintf +++ b/modules/fzprintf @@ -11,7 +11,7 @@ vasnprintf intprops free-posix fseterr -errno +errno-h configure.ac: gl_STDIO_MODULE_INDICATOR([fzprintf]) diff --git a/modules/getcwd-tests b/modules/getcwd-tests index 4a8aee2540..c7b0f80346 100644 --- a/modules/getcwd-tests +++ b/modules/getcwd-tests @@ -5,7 +5,7 @@ tests/qemu.h tests/macros.h Depends-on: -errno +errno-h fcntl-h getcwd-lgpl pathmax diff --git a/modules/getdelim b/modules/getdelim index 632e1dfec5..24484f0aab 100644 --- a/modules/getdelim +++ b/modules/getdelim @@ -10,7 +10,7 @@ stdio extensions limits-h [test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1] stdint [test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1] -errno [test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1] +errno-h [test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1] configure.ac: gl_FUNC_GETDELIM diff --git a/modules/gethostname b/modules/gethostname index 8523a8e944..5127ed4bb7 100644 --- a/modules/gethostname +++ b/modules/gethostname @@ -9,7 +9,7 @@ lib/w32sock.h Depends-on: unistd sys_socket [test $HAVE_GETHOSTNAME = 0] -errno [test $HAVE_GETHOSTNAME = 0] +errno-h [test $HAVE_GETHOSTNAME = 0] sockets [test $HAVE_GETHOSTNAME = 0] msvc-nothrow [test $HAVE_GETHOSTNAME = 0] diff --git a/modules/getpeername b/modules/getpeername index 0fd70eebcb..13796c7aa5 100644 --- a/modules/getpeername +++ b/modules/getpeername @@ -10,7 +10,7 @@ Depends-on: extensions sys_socket socketlib -errno [test "$ac_cv_header_winsock2_h" = yes] +errno-h [test "$ac_cv_header_winsock2_h" = yes] msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] configure.ac: diff --git a/modules/getsockname b/modules/getsockname index 7e0e1a2dc7..d9e6d0d3df 100644 --- a/modules/getsockname +++ b/modules/getsockname @@ -10,7 +10,7 @@ Depends-on: extensions sys_socket socketlib -errno [test "$ac_cv_header_winsock2_h" = yes] +errno-h [test "$ac_cv_header_winsock2_h" = yes] msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] configure.ac: diff --git a/modules/getsockname-tests b/modules/getsockname-tests index bf542b12ad..cfa326732e 100644 --- a/modules/getsockname-tests +++ b/modules/getsockname-tests @@ -7,7 +7,7 @@ Depends-on: netinet_in arpa_inet-h inet_pton -errno +errno-h perror sockets socket diff --git a/modules/getsockopt b/modules/getsockopt index 26d53f7534..be3474beb2 100644 --- a/modules/getsockopt +++ b/modules/getsockopt @@ -10,7 +10,7 @@ extensions sys_socket socketlib sys_time [test "$ac_cv_header_winsock2_h" = yes] -errno [test "$ac_cv_header_winsock2_h" = yes] +errno-h [test "$ac_cv_header_winsock2_h" = yes] msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] configure.ac: diff --git a/modules/getugroups b/modules/getugroups index f363553440..ee27691bcb 100644 --- a/modules/getugroups +++ b/modules/getugroups @@ -7,7 +7,7 @@ lib/getugroups.h m4/getugroups.m4 Depends-on: -errno +errno-h configure.ac: gl_GETUGROUPS diff --git a/modules/inet_ntop b/modules/inet_ntop index 5acec5f371..c5b63311e4 100644 --- a/modules/inet_ntop +++ b/modules/inet_ntop @@ -10,7 +10,7 @@ Depends-on: arpa_inet-h extensions sys_socket [test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1] -errno [test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1] +errno-h [test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1] netinet_in [test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1] configure.ac: diff --git a/modules/inet_pton b/modules/inet_pton index ca62a47751..e36d6d031a 100644 --- a/modules/inet_pton +++ b/modules/inet_pton @@ -10,7 +10,7 @@ arpa_inet-h extensions c-ctype [test $HAVE_INET_PTON = 0 || test $REPLACE_INET_PTON = 1] sys_socket [test $HAVE_INET_PTON = 0 || test $REPLACE_INET_PTON = 1] -errno [test $HAVE_INET_PTON = 0 || test $REPLACE_INET_PTON = 1] +errno-h [test $HAVE_INET_PTON = 0 || test $REPLACE_INET_PTON = 1] netinet_in [test $HAVE_INET_PTON = 0 || test $REPLACE_INET_PTON = 1] configure.ac: diff --git a/modules/ioctl b/modules/ioctl index 422f25d776..96b15e580b 100644 --- a/modules/ioctl +++ b/modules/ioctl @@ -9,7 +9,7 @@ m4/ioctl.m4 Depends-on: sys_ioctl sys_socket [test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1] -errno [test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1] +errno-h [test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1] fd-hook [test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1] msvc-nothrow [test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1] diff --git a/modules/lchmod b/modules/lchmod index 8625076c82..b55b86675f 100644 --- a/modules/lchmod +++ b/modules/lchmod @@ -7,7 +7,7 @@ m4/lchmod.m4 Depends-on: c99 [test $HAVE_LCHMOD = 0] -errno [test $HAVE_LCHMOD = 0] +errno-h [test $HAVE_LCHMOD = 0] extensions fcntl-h [test $HAVE_LCHMOD = 0] intprops [test $HAVE_LCHMOD = 0] diff --git a/modules/lchown b/modules/lchown index 217dd75cce..43b89a31b2 100644 --- a/modules/lchown +++ b/modules/lchown @@ -9,7 +9,7 @@ Depends-on: unistd readlink [test $HAVE_LCHOWN = 0] chown [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] -errno [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] +errno-h [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] stdbool [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] sys_stat [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] lstat [test $REPLACE_LCHOWN = 1] diff --git a/modules/lchown-tests b/modules/lchown-tests index cc7bffa55f..08f40d0a2c 100644 --- a/modules/lchown-tests +++ b/modules/lchown-tests @@ -6,7 +6,7 @@ tests/signature.h tests/macros.h Depends-on: -errno +errno-h ignore-value mgetgroups nanosleep diff --git a/modules/link-tests b/modules/link-tests index 5b1978e856..644120c52e 100644 --- a/modules/link-tests +++ b/modules/link-tests @@ -6,7 +6,7 @@ tests/macros.h Depends-on: ignore-value -errno +errno-h stdbool sys_stat diff --git a/modules/linkat b/modules/linkat index fea65dbd9d..4b0fcf1e6e 100644 --- a/modules/linkat +++ b/modules/linkat @@ -13,7 +13,7 @@ areadlink [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] at-internal [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] dirname-lgpl [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] eloop-threshold [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] -errno [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] +errno-h [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] fcntl-h [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] filenamecat-lgpl [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] filename [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] diff --git a/modules/listen b/modules/listen index 7eae89b361..a44b664e00 100644 --- a/modules/listen +++ b/modules/listen @@ -8,7 +8,7 @@ lib/w32sock.h Depends-on: sys_socket socketlib -errno [test "$ac_cv_header_winsock2_h" = yes] +errno-h [test "$ac_cv_header_winsock2_h" = yes] msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] configure.ac: diff --git a/modules/lstat-tests b/modules/lstat-tests index 911a7ff627..3f585f7084 100644 --- a/modules/lstat-tests +++ b/modules/lstat-tests @@ -6,7 +6,7 @@ tests/macros.h Depends-on: ignore-value -errno +errno-h same-inode stdbool symlink diff --git a/modules/mkdirat b/modules/mkdirat index ced87fcea0..c553e18d7a 100644 --- a/modules/mkdirat +++ b/modules/mkdirat @@ -10,7 +10,7 @@ Depends-on: sys_stat extensions at-internal [test $HAVE_MKDIRAT = 0] -errno [test $HAVE_MKDIRAT = 0] +errno-h [test $HAVE_MKDIRAT = 0] fchdir [test $HAVE_MKDIRAT = 0] fcntl-h [test $HAVE_MKDIRAT = 0] filename [test $HAVE_MKDIRAT = 0] diff --git a/modules/mkfifoat b/modules/mkfifoat index ce6e87ab58..8c31cc2aaf 100644 --- a/modules/mkfifoat +++ b/modules/mkfifoat @@ -14,7 +14,7 @@ extensions fcntl-h [test $HAVE_MKFIFOAT = 0 || test $REPLACE_MKFIFOAT = 1 || test $HAVE_MKNODAT = 0 || test $REPLACE_MKNODAT = 1] fstatat [test $REPLACE_MKFIFOAT = 1 || test $REPLACE_MKNODAT = 1] at-internal [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0] -errno [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0] +errno-h [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0] fchdir [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0] filename [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0] openat-die [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0] diff --git a/modules/nstrftime b/modules/nstrftime index ccdfdccd02..92199941f5 100644 --- a/modules/nstrftime +++ b/modules/nstrftime @@ -11,7 +11,7 @@ m4/tm_gmtoff.m4 Depends-on: attribute c99 -errno +errno-h extensions intprops libc-config diff --git a/modules/openat b/modules/openat index ed020c1ac8..f839ab360a 100644 --- a/modules/openat +++ b/modules/openat @@ -18,7 +18,7 @@ sys_stat [test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1] cloexec [test $REPLACE_OPENAT = 1] fstat [test $REPLACE_OPENAT = 1] at-internal [test $HAVE_OPENAT = 0] -errno [test $HAVE_OPENAT = 0] +errno-h [test $HAVE_OPENAT = 0] fchdir [test $HAVE_OPENAT = 0] filename [test $HAVE_OPENAT = 0] open [test $HAVE_OPENAT = 0] diff --git a/modules/perror b/modules/perror index 14c5780444..4fca4318a5 100644 --- a/modules/perror +++ b/modules/perror @@ -7,7 +7,7 @@ m4/perror.m4 Depends-on: stdio -errno [test $REPLACE_PERROR = 1] +errno-h [test $REPLACE_PERROR = 1] strerror-override [test $REPLACE_PERROR = 1] strerror_r-posix [test $REPLACE_PERROR = 1] diff --git a/modules/poll b/modules/poll index d423310796..793f34506f 100644 --- a/modules/poll +++ b/modules/poll @@ -14,7 +14,7 @@ sockets [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] sys_select [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] sys_socket [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] sys_time [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] -errno [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] +errno-h [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] msvc-nothrow [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1] configure.ac: diff --git a/modules/poll-tests b/modules/poll-tests index 1952c730b5..fc9d6c2806 100644 --- a/modules/poll-tests +++ b/modules/poll-tests @@ -11,7 +11,7 @@ arpa_inet-h sys_ioctl extensions inet_pton -errno +errno-h perror sockets socket diff --git a/modules/posix_spawn-internal b/modules/posix_spawn-internal index 34a4aaa5f0..b55e3fcfd0 100644 --- a/modules/posix_spawn-internal +++ b/modules/posix_spawn-internal @@ -10,7 +10,7 @@ Depends-on: spawn alloca-opt dup2 -errno +errno-h open sh-filename strchrnul diff --git a/modules/priv-set b/modules/priv-set index 0c0b15608c..ad8d91cce7 100644 --- a/modules/priv-set +++ b/modules/priv-set @@ -7,7 +7,7 @@ lib/priv-set.c m4/priv-set.m4 Depends-on: -errno +errno-h extern-inline stdbool diff --git a/modules/pselect-tests b/modules/pselect-tests index 72381ed21a..c7786d3c94 100644 --- a/modules/pselect-tests +++ b/modules/pselect-tests @@ -12,7 +12,7 @@ unistd sys_ioctl extensions inet_pton -errno +errno-h perror pipe-posix socket diff --git a/modules/readlinkat b/modules/readlinkat index a340bba089..cf52690b7b 100644 --- a/modules/readlinkat +++ b/modules/readlinkat @@ -10,7 +10,7 @@ Depends-on: unistd extensions at-internal [test $HAVE_READLINKAT = 0 || test $REPLACE_READLINKAT = 1] -errno [test $HAVE_READLINKAT = 0 || test $REPLACE_READLINKAT = 1] +errno-h [test $HAVE_READLINKAT = 0 || test $REPLACE_READLINKAT = 1] fchdir [test $HAVE_READLINKAT = 0 || test $REPLACE_READLINKAT = 1] fcntl-h [test $HAVE_READLINKAT = 0 || test $REPLACE_READLINKAT = 1] filename [test $HAVE_READLINKAT = 0 || test $REPLACE_READLINKAT = 1] diff --git a/modules/recv b/modules/recv index 18d81bba88..437e489096 100644 --- a/modules/recv +++ b/modules/recv @@ -8,7 +8,7 @@ lib/w32sock.h Depends-on: sys_socket socketlib -errno [test "$ac_cv_header_winsock2_h" = yes] +errno-h [test "$ac_cv_header_winsock2_h" = yes] msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] configure.ac: diff --git a/modules/recvfrom b/modules/recvfrom index 3cdd0a70a6..d32f7d5fcb 100644 --- a/modules/recvfrom +++ b/modules/recvfrom @@ -9,7 +9,7 @@ Depends-on: extensions sys_socket socketlib -errno [test "$ac_cv_header_winsock2_h" = yes] +errno-h [test "$ac_cv_header_winsock2_h" = yes] getpeername [test "$ac_cv_header_winsock2_h" = yes] msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] diff --git a/modules/relocatable-prog-wrapper b/modules/relocatable-prog-wrapper index 859e097851..6e822df437 100644 --- a/modules/relocatable-prog-wrapper +++ b/modules/relocatable-prog-wrapper @@ -58,7 +58,7 @@ c99 double-slash-root eloop-threshold environ -errno +errno-h extern-inline fcntl-h filename diff --git a/modules/rename-tests b/modules/rename-tests index b3cd9733bc..790071f258 100644 --- a/modules/rename-tests +++ b/modules/rename-tests @@ -6,7 +6,7 @@ tests/macros.h Depends-on: ignore-value -errno +errno-h link stdbool symlink diff --git a/modules/savewd b/modules/savewd index 225a4c1a42..b4492d30a4 100644 --- a/modules/savewd +++ b/modules/savewd @@ -10,7 +10,7 @@ Depends-on: assure attribute chdir -errno +errno-h extern-inline fchdir fcntl-h diff --git a/modules/select-tests b/modules/select-tests index 1f78cc0d2b..822ee30e45 100644 --- a/modules/select-tests +++ b/modules/select-tests @@ -17,7 +17,7 @@ unistd sys_ioctl extensions inet_pton -errno +errno-h perror pipe-posix socket diff --git a/modules/selinux-at b/modules/selinux-at index 4de98a6102..b1d6e84926 100644 --- a/modules/selinux-at +++ b/modules/selinux-at @@ -9,7 +9,7 @@ lib/at-func.c Depends-on: selinux-h at-internal -errno +errno-h extensions fchdir fcntl-h diff --git a/modules/selinux-h b/modules/selinux-h index 941673d1ee..2a6074daf3 100644 --- a/modules/selinux-h +++ b/modules/selinux-h @@ -14,7 +14,7 @@ m4/selinux-label-h.m4 m4/selinux-selinux-h.m4 Depends-on: -errno +errno-h extern-inline gen-header diff --git a/modules/send b/modules/send index 974d169355..26815365a9 100644 --- a/modules/send +++ b/modules/send @@ -8,7 +8,7 @@ lib/w32sock.h Depends-on: sys_socket socketlib -errno [test "$ac_cv_header_winsock2_h" = yes] +errno-h [test "$ac_cv_header_winsock2_h" = yes] msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] configure.ac: diff --git a/modules/sendto b/modules/sendto index 56cee15fc4..43a9ddb92b 100644 --- a/modules/sendto +++ b/modules/sendto @@ -8,7 +8,7 @@ lib/w32sock.h Depends-on: sys_socket socketlib -errno [test "$ac_cv_header_winsock2_h" = yes] +errno-h [test "$ac_cv_header_winsock2_h" = yes] msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] configure.ac: diff --git a/modules/sethostname b/modules/sethostname index 6057ef06cd..1dfa64e551 100644 --- a/modules/sethostname +++ b/modules/sethostname @@ -8,7 +8,7 @@ m4/gethostname.m4 Depends-on: unistd -errno [test $HAVE_SETHOSTNAME = 0 || test $REPLACE_SETHOSTNAME = 1] +errno-h [test $HAVE_SETHOSTNAME = 0 || test $REPLACE_SETHOSTNAME = 1] fopen-gnu [test $HAVE_SETHOSTNAME = 0 || test $REPLACE_SETHOSTNAME = 1] configure.ac: diff --git a/modules/setsockopt b/modules/setsockopt index efa55be536..2023a428d2 100644 --- a/modules/setsockopt +++ b/modules/setsockopt @@ -9,7 +9,7 @@ Depends-on: sys_socket socketlib sys_time [test "$ac_cv_header_winsock2_h" = yes] -errno [test "$ac_cv_header_winsock2_h" = yes] +errno-h [test "$ac_cv_header_winsock2_h" = yes] msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] configure.ac: diff --git a/modules/settime b/modules/settime index a778febe11..94b858478d 100644 --- a/modules/settime +++ b/modules/settime @@ -7,7 +7,7 @@ m4/settime.m4 Depends-on: clock-time -errno +errno-h extensions sys_time timespec diff --git a/modules/shutdown b/modules/shutdown index a2ff50f7c5..599058a4f5 100644 --- a/modules/shutdown +++ b/modules/shutdown @@ -8,7 +8,7 @@ lib/w32sock.h Depends-on: sys_socket socketlib -errno [test "$ac_cv_header_winsock2_h" = yes] +errno-h [test "$ac_cv_header_winsock2_h" = yes] msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] configure.ac: diff --git a/modules/snprintf b/modules/snprintf index b44fc9a6ea..2620e6a5f5 100644 --- a/modules/snprintf +++ b/modules/snprintf @@ -8,7 +8,7 @@ m4/printf.m4 Depends-on: stdio -errno [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1] +errno-h [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1] stdint [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1] vsnzprintf [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1] diff --git a/modules/snzprintf b/modules/snzprintf index 9d81fc4ca1..185f5dc775 100644 --- a/modules/snzprintf +++ b/modules/snzprintf @@ -8,7 +8,7 @@ lib/snzprintf.c Depends-on: stdio vasnprintf -errno +errno-h stdint configure.ac: diff --git a/modules/socket b/modules/socket index a67025aa6b..e98099077b 100644 --- a/modules/socket +++ b/modules/socket @@ -8,7 +8,7 @@ lib/w32sock.h Depends-on: sys_socket socketlib -errno [test "$ac_cv_header_winsock2_h" = yes] +errno-h [test "$ac_cv_header_winsock2_h" = yes] sockets [test "$ac_cv_header_winsock2_h" = yes] msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes] diff --git a/modules/sprintf-posix b/modules/sprintf-posix index 682043847f..8565476d4b 100644 --- a/modules/sprintf-posix +++ b/modules/sprintf-posix @@ -21,7 +21,7 @@ multiarch vszprintf [test $REPLACE_SPRINTF = 1] mixin/printf-posix [test $REPLACE_SPRINTF = 1] stdint [test $REPLACE_SPRINTF = 1] -errno [test $REPLACE_SPRINTF = 1] +errno-h [test $REPLACE_SPRINTF = 1] configure.ac: gl_FUNC_SPRINTF_POSIX diff --git a/modules/stat-time b/modules/stat-time index d4c0378dba..159900303e 100644 --- a/modules/stat-time +++ b/modules/stat-time @@ -8,7 +8,7 @@ m4/stat-time.m4 Depends-on: time-h -errno +errno-h extensions extern-inline stdckdint diff --git a/modules/strerror b/modules/strerror index acd17dee0a..c058119036 100644 --- a/modules/strerror +++ b/modules/strerror @@ -8,7 +8,7 @@ m4/strerror.m4 Depends-on: string assert-h [test $REPLACE_STRERROR = 1] -errno [test $REPLACE_STRERROR = 1] +errno-h [test $REPLACE_STRERROR = 1] intprops [test $REPLACE_STRERROR = 1] strerror-override [test $REPLACE_STRERROR = 1] diff --git a/modules/strerror-override b/modules/strerror-override index a17464a546..d736192aff 100644 --- a/modules/strerror-override +++ b/modules/strerror-override @@ -8,7 +8,7 @@ m4/sys_socket_h.m4 m4/strerror.m4 Depends-on: -errno +errno-h configure.ac: AC_REQUIRE([gl_HEADER_ERRNO_H]) diff --git a/modules/strerror_r-posix b/modules/strerror_r-posix index 779a821e9e..350824e056 100644 --- a/modules/strerror_r-posix +++ b/modules/strerror_r-posix @@ -8,7 +8,7 @@ m4/strerror_r.m4 Depends-on: string extensions -errno [test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1] +errno-h [test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1] lock [test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1] strerror-override [test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1] diff --git a/modules/symlinkat b/modules/symlinkat index 61b861e813..4f6ea3b9cd 100644 --- a/modules/symlinkat +++ b/modules/symlinkat @@ -11,7 +11,7 @@ unistd extensions fcntl-h [test $HAVE_SYMLINKAT = 0 || test $REPLACE_SYMLINKAT = 1] at-internal [test $HAVE_SYMLINKAT = 0] -errno [test $HAVE_SYMLINKAT = 0] +errno-h [test $HAVE_SYMLINKAT = 0] fchdir [test $HAVE_SYMLINKAT = 0] filename [test $HAVE_SYMLINKAT = 0] openat-die [test $HAVE_SYMLINKAT = 0] diff --git a/modules/sys_socket b/modules/sys_socket index 57ea690270..bbd337f789 100644 --- a/modules/sys_socket +++ b/modules/sys_socket @@ -9,7 +9,7 @@ m4/sockpfaf.m4 Depends-on: alignasof -errno +errno-h extern-inline gen-header include_next diff --git a/modules/szprintf b/modules/szprintf index 1e647c20b7..ae06d7e1cd 100644 --- a/modules/szprintf +++ b/modules/szprintf @@ -8,7 +8,7 @@ lib/szprintf.c Depends-on: stdio vasnprintf -errno +errno-h stdint configure.ac: diff --git a/modules/unistdio/u16-u16-vasnprintf b/modules/unistdio/u16-u16-vasnprintf index 0237505d58..ea02c12525 100644 --- a/modules/unistdio/u16-u16-vasnprintf +++ b/modules/unistdio/u16-u16-vasnprintf @@ -37,7 +37,7 @@ printf-safe alloca-opt localcharset xsize -errno +errno-h free-posix memchr multiarch diff --git a/modules/unistdio/u16-u16-vasprintf b/modules/unistdio/u16-u16-vasprintf index 5e6fa6f5c3..d992713573 100644 --- a/modules/unistdio/u16-u16-vasprintf +++ b/modules/unistdio/u16-u16-vasprintf @@ -8,7 +8,7 @@ lib/unistdio/u-vasprintf.h Depends-on: unistdio/base unistdio/u16-u16-vasnprintf -errno +errno-h configure.ac: gl_LIBUNISTRING_MODULE(m4_ifdef([gl_PRINTF_SUPPORT_N_DIRECTIVE],[999.9],[1.2]), [unistdio/u16-u16-vasprintf]) diff --git a/modules/unistdio/u16-u16-vsnprintf b/modules/unistdio/u16-u16-vsnprintf index 286dd11153..b88b3db1bc 100644 --- a/modules/unistdio/u16-u16-vsnprintf +++ b/modules/unistdio/u16-u16-vsnprintf @@ -9,7 +9,7 @@ Depends-on: unistdio/base unistdio/u16-u16-vasnprintf unistr/u16-cpy -errno +errno-h configure.ac: gl_LIBUNISTRING_MODULE(m4_ifdef([gl_PRINTF_SUPPORT_N_DIRECTIVE],[999.9],[1.2]), [unistdio/u16-u16-vsnprintf]) diff --git a/modules/unistdio/u16-u16-vsprintf b/modules/unistdio/u16-u16-vsprintf index 3860aa60ed..d2d32e3f89 100644 --- a/modules/unistdio/u16-u16-vsprintf +++ b/modules/unistdio/u16-u16-vsprintf @@ -9,7 +9,7 @@ Depends-on: unistdio/base unistdio/u16-u16-vasnprintf stdint -errno +errno-h configure.ac: gl_LIBUNISTRING_MODULE(m4_ifdef([gl_PRINTF_SUPPORT_N_DIRECTIVE],[999.9],[1.2]), [unistdio/u16-u16-vsprintf]) diff --git a/modules/unistdio/u16-vasnprintf b/modules/unistdio/u16-vasnprintf index d92e6dd157..edbe920258 100644 --- a/modules/unistdio/u16-vasnprintf +++ b/modules/unistdio/u16-vasnprintf @@ -37,7 +37,7 @@ printf-safe alloca-opt localcharset xsize -errno +errno-h free-posix memchr multiarch diff --git a/modules/unistdio/u16-vasprintf b/modules/unistdio/u16-vasprintf index 750d927f3f..4193aeb612 100644 --- a/modules/unistdio/u16-vasprintf +++ b/modules/unistdio/u16-vasprintf @@ -8,7 +8,7 @@ lib/unistdio/u-vasprintf.h Depends-on: unistdio/base unistdio/u16-vasnprintf -errno +errno-h configure.ac: gl_LIBUNISTRING_MODULE(m4_ifdef([gl_PRINTF_SUPPORT_N_DIRECTIVE],[999.9],[1.2]), [unistdio/u16-vasprintf]) diff --git a/modules/unistdio/u16-vsnprintf b/modules/unistdio/u16-vsnprintf index 838cb10315..bdabf2b237 100644 --- a/modules/unistdio/u16-vsnprintf +++ b/modules/unistdio/u16-vsnprintf @@ -9,7 +9,7 @@ Depends-on: unistdio/base unistdio/u16-vasnprintf unistr/u16-cpy -errno +errno-h configure.ac: gl_LIBUNISTRING_MODULE(m4_ifdef([gl_PRINTF_SUPPORT_N_DIRECTIVE],[999.9],[1.2]), [unistdio/u16-vsnprintf]) diff --git a/modules/unistdio/u16-vsprintf b/modules/unistdio/u16-vsprintf index 8fdbfc30b5..7492ef5ede 100644 --- a/modules/unistdio/u16-vsprintf +++ b/modules/unistdio/u16-vsprintf @@ -9,7 +9,7 @@ Depends-on: unistdio/base unistdio/u16-vasnprintf stdint -errno +errno-h configure.ac: gl_LIBUNISTRING_MODULE(m4_ifdef([gl_PRINTF_SUPPORT_N_DIRECTIVE],[999.9],[1.2]), [unistdio/u16-vsprintf]) diff --git a/modules/unistdio/u32-u32-vasnprintf b/modules/unistdio/u32-u32-vasnprintf index 119a9fe4f4..98d213ed3e 100644 --- a/modules/unistdio/u32-u32-vasnprintf +++ b/modules/unistdio/u32-u32-vasnprintf @@ -37,7 +37,7 @@ printf-safe alloca-opt localcharset xsize -errno +errno-h free-posix memchr multiarch diff --git a/modules/unistdio/u32-u32-vasprintf b/modules/unistdio/u32-u32-vasprintf index 630750e9ac..01e6ab8ee5 100644 --- a/modules/unistdio/u32-u32-vasprintf +++ b/modules/unistdio/u32-u32-vasprintf @@ -8,7 +8,7 @@ lib/unistdio/u-vasprintf.h Depends-on: unistdio/base unistdio/u32-u32-vasnprintf -errno +errno-h configure.ac: gl_LIBUNISTRING_MODULE(m4_ifdef([gl_PRINTF_SUPPORT_N_DIRECTIVE],[999.9],[1.2]), [unistdio/u32-u32-vasprintf]) diff --git a/modules/unistdio/u32-u32-vsnprintf b/modules/unistdio/u32-u32-vsnprintf index ef53a45576..5c564c42ac 100644 --- a/modules/unistdio/u32-u32-vsnprintf +++ b/modules/unistdio/u32-u32-vsnprintf @@ -9,7 +9,7 @@ Depends-on: unistdio/base unistdio/u32-u32-vasnprintf unistr/u32-cpy -errno +errno-h configure.ac: gl_LIBUNISTRING_MODULE(m4_ifdef([gl_PRINTF_SUPPORT_N_DIRECTIVE],[999.9],[1.2]), [unistdio/u32-u32-vsnprintf]) diff --git a/modules/unistdio/u32-u32-vsprintf b/modules/unistdio/u32-u32-vsprintf index bcec749327..2b071cb302 100644 --- a/modules/unistdio/u32-u32-vsprintf +++ b/modules/unistdio/u32-u32-vsprintf @@ -9,7 +9,7 @@ Depends-on: unistdio/base unistdio/u32-u32-vasnprintf stdint -errno +errno-h configure.ac: gl_LIBUNISTRING_MODULE(m4_ifdef([gl_PRINTF_SUPPORT_N_DIRECTIVE],[999.9],[1.2]), [unistdio/u32-u32-vsprintf]) diff --git a/modules/unistdio/u32-vasnprintf b/modules/unistdio/u32-vasnprintf index bd094712a2..03cf4f200e 100644 --- a/modules/unistdio/u32-vasnprintf +++ b/modules/unistdio/u32-vasnprintf @@ -37,7 +37,7 @@ printf-safe alloca-opt localcharset xsize -errno +errno-h free-posix memchr multiarch diff --git a/modules/unistdio/u32-vasprintf b/modules/unistdio/u32-vasprintf index 47e3195df5..736fabb67e 100644 --- a/modules/unistdio/u32-vasprintf +++ b/modules/unistdio/u32-vasprintf @@ -8,7 +8,7 @@ lib/unistdio/u-vasprintf.h Depends-on: unistdio/base unistdio/u32-vasnprintf -errno +errno-h configure.ac: gl_LIBUNISTRING_MODULE(m4_ifdef([gl_PRINTF_SUPPORT_N_DIRECTIVE],[999.9],[1.2]), [unistdio/u32-vasprintf]) diff --git a/modules/unistdio/u32-vsnprintf b/modules/unistdio/u32-vsnprintf index 85cd7a93bf..70035617b2 100644 --- a/modules/unistdio/u32-vsnprintf +++ b/modules/unistdio/u32-vsnprintf @@ -9,7 +9,7 @@ Depends-on: unistdio/base unistdio/u32-vasnprintf unistr/u32-cpy -errno +errno-h configure.ac: gl_LIBUNISTRING_MODULE(m4_ifdef([gl_PRINTF_SUPPORT_N_DIRECTIVE],[999.9],[1.2]), [unistdio/u32-vsnprintf]) diff --git a/modules/unistdio/u32-vsprintf b/modules/unistdio/u32-vsprintf index 2af3af8a76..e9ccacca6d 100644 --- a/modules/unistdio/u32-vsprintf +++ b/modules/unistdio/u32-vsprintf @@ -9,7 +9,7 @@ Depends-on: unistdio/base unistdio/u32-vasnprintf stdint -errno +errno-h configure.ac: gl_LIBUNISTRING_MODULE(m4_ifdef([gl_PRINTF_SUPPORT_N_DIRECTIVE],[999.9],[1.2]), [unistdio/u32-vsprintf]) diff --git a/modules/unistdio/u8-u8-vasnprintf b/modules/unistdio/u8-u8-vasnprintf index 733bc15d3f..11ab44ab68 100644 --- a/modules/unistdio/u8-u8-vasnprintf +++ b/modules/unistdio/u8-u8-vasnprintf @@ -37,7 +37,7 @@ printf-safe alloca-opt localcharset xsize -errno +errno-h free-posix memchr multiarch diff --git a/modules/unistdio/u8-u8-vasprintf b/modules/unistdio/u8-u8-vasprintf index 618738102d..4d200c677c 100644 --- a/modules/unistdio/u8-u8-vasprintf +++ b/modules/unistdio/u8-u8-vasprintf @@ -8,7 +8,7 @@ lib/unistdio/u-vasprintf.h Depends-on: unistdio/base unistdio/u8-u8-vasnprintf -errno +errno-h configure.ac: gl_LIBUNISTRING_MODULE(m4_ifdef([gl_PRINTF_SUPPORT_N_DIRECTIVE],[999.9],[1.2]), [unistdio/u8-u8-vasprintf]) diff --git a/modules/unistdio/u8-u8-vsnprintf b/modules/unistdio/u8-u8-vsnprintf index bc0dc3db76..d7738521bb 100644 --- a/modules/unistdio/u8-u8-vsnprintf +++ b/modules/unistdio/u8-u8-vsnprintf @@ -9,7 +9,7 @@ Depends-on: unistdio/base unistdio/u8-u8-vasnprintf unistr/u8-cpy -errno +errno-h configure.ac: gl_LIBUNISTRING_MODULE(m4_ifdef([gl_PRINTF_SUPPORT_N_DIRECTIVE],[999.9],[1.2]), [unistdio/u8-u8-vsnprintf]) diff --git a/modules/unistdio/u8-u8-vsprintf b/modules/unistdio/u8-u8-vsprintf index 0a45666586..55117d094e 100644 --- a/modules/unistdio/u8-u8-vsprintf +++ b/modules/unistdio/u8-u8-vsprintf @@ -9,7 +9,7 @@ Depends-on: unistdio/base unistdio/u8-u8-vasnprintf stdint -errno +errno-h configure.ac: gl_LIBUNISTRING_MODULE(m4_ifdef([gl_PRINTF_SUPPORT_N_DIRECTIVE],[999.9],[1.2]), [unistdio/u8-u8-vsprintf]) diff --git a/modules/unistdio/u8-vasnprintf b/modules/unistdio/u8-vasnprintf index b86f0d2c19..9be331474c 100644 --- a/modules/unistdio/u8-vasnprintf +++ b/modules/unistdio/u8-vasnprintf @@ -37,7 +37,7 @@ printf-safe alloca-opt localcharset xsize -errno +errno-h free-posix memchr multiarch diff --git a/modules/unistdio/u8-vasprintf b/modules/unistdio/u8-vasprintf index 99aa4d5fcc..e0b5594e7b 100644 --- a/modules/unistdio/u8-vasprintf +++ b/modules/unistdio/u8-vasprintf @@ -8,7 +8,7 @@ lib/unistdio/u-vasprintf.h Depends-on: unistdio/base unistdio/u8-vasnprintf -errno +errno-h configure.ac: gl_LIBUNISTRING_MODULE(m4_ifdef([gl_PRINTF_SUPPORT_N_DIRECTIVE],[999.9],[1.2]), [unistdio/u8-vasprintf]) diff --git a/modules/unistdio/u8-vsnprintf b/modules/unistdio/u8-vsnprintf index 9c067ca9b8..cdd6092109 100644 --- a/modules/unistdio/u8-vsnprintf +++ b/modules/unistdio/u8-vsnprintf @@ -9,7 +9,7 @@ Depends-on: unistdio/base unistdio/u8-vasnprintf unistr/u8-cpy -errno +errno-h configure.ac: gl_LIBUNISTRING_MODULE(m4_ifdef([gl_PRINTF_SUPPORT_N_DIRECTIVE],[999.9],[1.2]), [unistdio/u8-vsnprintf]) diff --git a/modules/unistdio/u8-vsprintf b/modules/unistdio/u8-vsprintf index f7d156667c..dad0257e42 100644 --- a/modules/unistdio/u8-vsprintf +++ b/modules/unistdio/u8-vsprintf @@ -9,7 +9,7 @@ Depends-on: unistdio/base unistdio/u8-vasnprintf stdint -errno +errno-h configure.ac: gl_LIBUNISTRING_MODULE(m4_ifdef([gl_PRINTF_SUPPORT_N_DIRECTIVE],[999.9],[1.2]), [unistdio/u8-vsprintf]) diff --git a/modules/unistdio/ulc-fprintf b/modules/unistdio/ulc-fprintf index 2f52dbe4cb..2da8dabe54 100644 --- a/modules/unistdio/ulc-fprintf +++ b/modules/unistdio/ulc-fprintf @@ -8,7 +8,7 @@ Depends-on: unistdio/base unistdio/ulc-vasnprintf fseterr -errno +errno-h configure.ac: gl_LIBUNISTRING_MODULE(m4_ifdef([gl_PRINTF_SUPPORT_N_DIRECTIVE],[999.9],[1.3]), [unistdio/ulc-fprintf]) diff --git a/modules/unistdio/ulc-vasnprintf b/modules/unistdio/ulc-vasnprintf index 08d0672735..780704b7a8 100644 --- a/modules/unistdio/ulc-vasnprintf +++ b/modules/unistdio/ulc-vasnprintf @@ -35,7 +35,7 @@ printf-safe alloca-opt localcharset xsize -errno +errno-h free-posix memchr multiarch diff --git a/modules/unistdio/ulc-vasprintf b/modules/unistdio/ulc-vasprintf index d1327ef33e..53d3fe1d38 100644 --- a/modules/unistdio/ulc-vasprintf +++ b/modules/unistdio/ulc-vasprintf @@ -8,7 +8,7 @@ lib/unistdio/u-vasprintf.h Depends-on: unistdio/base unistdio/ulc-vasnprintf -errno +errno-h configure.ac: gl_LIBUNISTRING_MODULE(m4_ifdef([gl_PRINTF_SUPPORT_N_DIRECTIVE],[999.9],[1.3]), [unistdio/ulc-vasprintf]) diff --git a/modules/unistdio/ulc-vfprintf b/modules/unistdio/ulc-vfprintf index c48803dc28..e693215dc7 100644 --- a/modules/unistdio/ulc-vfprintf +++ b/modules/unistdio/ulc-vfprintf @@ -8,7 +8,7 @@ Depends-on: unistdio/base unistdio/ulc-vasnprintf fseterr -errno +errno-h configure.ac: gl_LIBUNISTRING_MODULE(m4_ifdef([gl_PRINTF_SUPPORT_N_DIRECTIVE],[999.9],[1.3]), [unistdio/ulc-vfprintf]) diff --git a/modules/unistdio/ulc-vsnprintf b/modules/unistdio/ulc-vsnprintf index 019ea84110..250933dc43 100644 --- a/modules/unistdio/ulc-vsnprintf +++ b/modules/unistdio/ulc-vsnprintf @@ -8,7 +8,7 @@ lib/unistdio/u-vsnprintf.h Depends-on: unistdio/base unistdio/ulc-vasnprintf -errno +errno-h configure.ac: gl_LIBUNISTRING_MODULE(m4_ifdef([gl_PRINTF_SUPPORT_N_DIRECTIVE],[999.9],[1.3]), [unistdio/ulc-vsnprintf]) diff --git a/modules/unistdio/ulc-vsprintf b/modules/unistdio/ulc-vsprintf index ac39118919..e90637d082 100644 --- a/modules/unistdio/ulc-vsprintf +++ b/modules/unistdio/ulc-vsprintf @@ -9,7 +9,7 @@ Depends-on: unistdio/base unistdio/ulc-vasnprintf stdint -errno +errno-h configure.ac: gl_LIBUNISTRING_MODULE(m4_ifdef([gl_PRINTF_SUPPORT_N_DIRECTIVE],[999.9],[1.3]), [unistdio/ulc-vsprintf]) diff --git a/modules/unlinkat b/modules/unlinkat index ed11c1e971..905d748902 100644 --- a/modules/unlinkat +++ b/modules/unlinkat @@ -14,7 +14,7 @@ fcntl-h [test $HAVE_UNLINKAT = 0 || test $REPLACE_UNLINKAT = 1] openat-h [test $HAVE_UNLINKAT = 0 || test $REPLACE_UNLINKAT = 1] sys_stat [test $HAVE_UNLINKAT = 0 || test $REPLACE_UNLINKAT = 1] at-internal [test $HAVE_UNLINKAT = 0] -errno [test $HAVE_UNLINKAT = 0] +errno-h [test $HAVE_UNLINKAT = 0] fchdir [test $HAVE_UNLINKAT = 0] filename [test $HAVE_UNLINKAT = 0] openat-die [test $HAVE_UNLINKAT = 0] diff --git a/modules/utimens b/modules/utimens index 49e15f6127..10e1c848f2 100644 --- a/modules/utimens +++ b/modules/utimens @@ -8,7 +8,7 @@ m4/utimens.m4 m4/utimes.m4 Depends-on: -errno +errno-h extern-inline fcntl-h fstat diff --git a/modules/utimensat b/modules/utimensat index 8f9e0aa6c1..d07fcc86fb 100644 --- a/modules/utimensat +++ b/modules/utimensat @@ -10,7 +10,7 @@ Depends-on: sys_stat extensions at-internal [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1] -errno [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1] +errno-h [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1] fchdir [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1] fcntl-h [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1] filename [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1] diff --git a/modules/vasnprintf b/modules/vasnprintf index cbca87f0c6..1b42d2e579 100644 --- a/modules/vasnprintf +++ b/modules/vasnprintf @@ -28,7 +28,7 @@ free-posix limits-h stdint xsize -errno +errno-h memchr assert-h wchar diff --git a/modules/vasnwprintf b/modules/vasnwprintf index 2ef56d7cb6..1ca2ec15db 100644 --- a/modules/vasnwprintf +++ b/modules/vasnwprintf @@ -32,7 +32,7 @@ free-posix limits-h stdint xsize -errno +errno-h memchr assert-h wchar diff --git a/modules/vasprintf b/modules/vasprintf index 46bfcc51ba..c3a84e495c 100644 --- a/modules/vasprintf +++ b/modules/vasprintf @@ -10,7 +10,7 @@ Depends-on: stdio extensions vasnprintf [test $HAVE_VASPRINTF = 0 || test $REPLACE_VASPRINTF = 1] -errno [test $HAVE_VASPRINTF = 0 || test $REPLACE_VASPRINTF = 1] +errno-h [test $HAVE_VASPRINTF = 0 || test $REPLACE_VASPRINTF = 1] stdint [test $HAVE_VASPRINTF = 0 || test $REPLACE_VASPRINTF = 1] configure.ac: diff --git a/modules/vaszprintf b/modules/vaszprintf index a732581d93..50dde0cf2b 100644 --- a/modules/vaszprintf +++ b/modules/vaszprintf @@ -8,7 +8,7 @@ lib/aszprintf.c Depends-on: stdio vasnprintf -errno +errno-h stdint configure.ac: diff --git a/modules/vdprintf b/modules/vdprintf index b09dbd748e..51539cdbc1 100644 --- a/modules/vdprintf +++ b/modules/vdprintf @@ -9,7 +9,7 @@ Depends-on: stdio vdzprintf [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1] intprops [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1] -errno [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1] +errno-h [test $ac_cv_func_vdprintf = no || test $REPLACE_VDPRINTF = 1] configure.ac: gl_FUNC_VDPRINTF diff --git a/modules/vdzprintf b/modules/vdzprintf index 496763c82b..852c70b794 100644 --- a/modules/vdzprintf +++ b/modules/vdzprintf @@ -11,7 +11,7 @@ vasnprintf intprops free-posix full-write -errno +errno-h configure.ac: gl_STDIO_MODULE_INDICATOR([vdzprintf]) diff --git a/modules/vfprintf-posix b/modules/vfprintf-posix index aec763b2e3..d9283dee84 100644 --- a/modules/vfprintf-posix +++ b/modules/vfprintf-posix @@ -22,7 +22,7 @@ vfzprintf [test $REPLACE_VFPRINTF = 1] mixin/printf-posix [test $REPLACE_VFPRINTF = 1] intprops [test $REPLACE_VFPRINTF = 1] fseterr [test $REPLACE_VFPRINTF = 1] -errno [test $REPLACE_VFPRINTF = 1] +errno-h [test $REPLACE_VFPRINTF = 1] configure.ac: gl_FUNC_VFPRINTF_POSIX diff --git a/modules/vfzprintf b/modules/vfzprintf index 45bafdb365..dac58b64ef 100644 --- a/modules/vfzprintf +++ b/modules/vfzprintf @@ -11,7 +11,7 @@ vasnprintf intprops free-posix fseterr -errno +errno-h configure.ac: gl_STDIO_MODULE_INDICATOR([vfzprintf]) diff --git a/modules/vsnprintf b/modules/vsnprintf index 2c77dd4d61..658ba78b92 100644 --- a/modules/vsnprintf +++ b/modules/vsnprintf @@ -9,7 +9,7 @@ m4/printf.m4 Depends-on: stdio -errno [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1] +errno-h [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1] stdint [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1] vsnzprintf [test $ac_cv_func_vsnprintf = no || test $REPLACE_VSNPRINTF = 1] diff --git a/modules/vsnzprintf b/modules/vsnzprintf index e6b060d41d..0ad6f59ab7 100644 --- a/modules/vsnzprintf +++ b/modules/vsnzprintf @@ -8,7 +8,7 @@ lib/vsnzprintf.c Depends-on: stdio vasnprintf -errno +errno-h stdint configure.ac: diff --git a/modules/vsprintf-posix b/modules/vsprintf-posix index d1df5a39b9..9918d51714 100644 --- a/modules/vsprintf-posix +++ b/modules/vsprintf-posix @@ -21,7 +21,7 @@ multiarch vszprintf [test $REPLACE_VSPRINTF = 1] mixin/printf-posix [test $REPLACE_VSPRINTF = 1] stdint [test $REPLACE_VSPRINTF = 1] -errno [test $REPLACE_VSPRINTF = 1] +errno-h [test $REPLACE_VSPRINTF = 1] configure.ac: gl_FUNC_VSPRINTF_POSIX diff --git a/modules/vszprintf b/modules/vszprintf index 1e74637574..5da3d277bb 100644 --- a/modules/vszprintf +++ b/modules/vszprintf @@ -8,7 +8,7 @@ lib/vszprintf.c Depends-on: stdio vasnprintf -errno +errno-h stdint configure.ac: diff --git a/modules/windows-cond b/modules/windows-cond index e0335c3590..a765c7e9b0 100644 --- a/modules/windows-cond +++ b/modules/windows-cond @@ -8,7 +8,7 @@ lib/windows-initguard.h Depends-on: stdbool -errno +errno-h time-h gettimeofday diff --git a/modules/windows-timedmutex b/modules/windows-timedmutex index 1d74bdf5ef..deb9c5eab9 100644 --- a/modules/windows-timedmutex +++ b/modules/windows-timedmutex @@ -7,7 +7,7 @@ lib/windows-timedmutex.c lib/windows-initguard.h Depends-on: -errno +errno-h time-h gettimeofday diff --git a/modules/windows-timedrecmutex b/modules/windows-timedrecmutex index 0bc73f4ab3..672a5eb1db 100644 --- a/modules/windows-timedrecmutex +++ b/modules/windows-timedrecmutex @@ -7,7 +7,7 @@ lib/windows-timedrecmutex.c lib/windows-initguard.h Depends-on: -errno +errno-h time-h gettimeofday diff --git a/modules/windows-timedrwlock b/modules/windows-timedrwlock index 20242ed53c..e1a6b77377 100644 --- a/modules/windows-timedrwlock +++ b/modules/windows-timedrwlock @@ -7,7 +7,7 @@ lib/windows-timedrwlock.c lib/windows-initguard.h Depends-on: -errno +errno-h stdbool time-h gettimeofday diff --git a/modules/xvasprintf b/modules/xvasprintf index b94bd66940..cca6608ac9 100644 --- a/modules/xvasprintf +++ b/modules/xvasprintf @@ -18,7 +18,7 @@ xalloc-die extern-inline xsize stdarg -errno +errno-h configure.ac: gl_XVASPRINTF diff --git a/tests/test-errno-c++.cc b/tests/test-errno-h-c++.cc similarity index 100% rename from tests/test-errno-c++.cc rename to tests/test-errno-h-c++.cc diff --git a/tests/test-errno-c++2.cc b/tests/test-errno-h-c++2.cc similarity index 100% rename from tests/test-errno-c++2.cc rename to tests/test-errno-h-c++2.cc diff --git a/tests/test-errno.c b/tests/test-errno-h.c similarity index 100% rename from tests/test-errno.c rename to tests/test-errno-h.c -- 2.39.5