]> Savannah Git Hosting - gnulib.git/commitdiff
Rename module errno to errno-h.
authorBruno Haible <bruno@clisp.org>
Fri, 27 Dec 2024 22:14:03 +0000 (23:14 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 27 Dec 2024 22:14:03 +0000 (23:14 +0100)
* 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.

147 files changed:
ChangeLog
doc/posix-headers/errno.texi
modules/accept
modules/areadlinkat
modules/areadlinkat-with-size
modules/at-internal
modules/bind
modules/c-nstrftime
modules/c-stack
modules/c-vasnprintf
modules/canonicalize
modules/canonicalize-lgpl
modules/cond
modules/connect
modules/dirfd
modules/dprintf
modules/dzprintf
modules/errno
modules/errno-c++-tests [deleted file]
modules/errno-h [new file with mode: 0644]
modules/errno-h-c++-tests [new file with mode: 0644]
modules/errno-h-tests [new file with mode: 0644]
modules/errno-tests [deleted file]
modules/faccessat
modules/fchmodat
modules/fchownat
modules/fchownat-tests
modules/fdatasync-tests
modules/fdopendir
modules/file-has-acl
modules/fprintf-posix
modules/fstatat
modules/fsync-tests
modules/ftell
modules/fts-tests
modules/fwriteerror
modules/fzprintf
modules/getcwd-tests
modules/getdelim
modules/gethostname
modules/getpeername
modules/getsockname
modules/getsockname-tests
modules/getsockopt
modules/getugroups
modules/inet_ntop
modules/inet_pton
modules/ioctl
modules/lchmod
modules/lchown
modules/lchown-tests
modules/link-tests
modules/linkat
modules/listen
modules/lstat-tests
modules/mkdirat
modules/mkfifoat
modules/nstrftime
modules/openat
modules/perror
modules/poll
modules/poll-tests
modules/posix_spawn-internal
modules/priv-set
modules/pselect-tests
modules/readlinkat
modules/recv
modules/recvfrom
modules/relocatable-prog-wrapper
modules/rename-tests
modules/savewd
modules/select-tests
modules/selinux-at
modules/selinux-h
modules/send
modules/sendto
modules/sethostname
modules/setsockopt
modules/settime
modules/shutdown
modules/snprintf
modules/snzprintf
modules/socket
modules/sprintf-posix
modules/stat-time
modules/strerror
modules/strerror-override
modules/strerror_r-posix
modules/symlinkat
modules/sys_socket
modules/szprintf
modules/unistdio/u16-u16-vasnprintf
modules/unistdio/u16-u16-vasprintf
modules/unistdio/u16-u16-vsnprintf
modules/unistdio/u16-u16-vsprintf
modules/unistdio/u16-vasnprintf
modules/unistdio/u16-vasprintf
modules/unistdio/u16-vsnprintf
modules/unistdio/u16-vsprintf
modules/unistdio/u32-u32-vasnprintf
modules/unistdio/u32-u32-vasprintf
modules/unistdio/u32-u32-vsnprintf
modules/unistdio/u32-u32-vsprintf
modules/unistdio/u32-vasnprintf
modules/unistdio/u32-vasprintf
modules/unistdio/u32-vsnprintf
modules/unistdio/u32-vsprintf
modules/unistdio/u8-u8-vasnprintf
modules/unistdio/u8-u8-vasprintf
modules/unistdio/u8-u8-vsnprintf
modules/unistdio/u8-u8-vsprintf
modules/unistdio/u8-vasnprintf
modules/unistdio/u8-vasprintf
modules/unistdio/u8-vsnprintf
modules/unistdio/u8-vsprintf
modules/unistdio/ulc-fprintf
modules/unistdio/ulc-vasnprintf
modules/unistdio/ulc-vasprintf
modules/unistdio/ulc-vfprintf
modules/unistdio/ulc-vsnprintf
modules/unistdio/ulc-vsprintf
modules/unlinkat
modules/utimens
modules/utimensat
modules/vasnprintf
modules/vasnwprintf
modules/vasprintf
modules/vaszprintf
modules/vdprintf
modules/vdzprintf
modules/vfprintf-posix
modules/vfzprintf
modules/vsnprintf
modules/vsnzprintf
modules/vsprintf-posix
modules/vszprintf
modules/windows-cond
modules/windows-timedmutex
modules/windows-timedrecmutex
modules/windows-timedrwlock
modules/xvasprintf
tests/test-errno-c++.cc [deleted file]
tests/test-errno-c++2.cc [deleted file]
tests/test-errno-h-c++.cc [new file with mode: 0644]
tests/test-errno-h-c++2.cc [new file with mode: 0644]
tests/test-errno-h.c [new file with mode: 0644]
tests/test-errno.c [deleted file]

index b687a049398ddea13ed4e7269d4758c69726aed6..605a4c462c2498b7f01159dc08e4aadcafb65117 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2024-12-27  Bruno Haible  <bruno@clisp.org>
+
+       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  <bruno@clisp.org>
 
        Rename module dirent to dirent-h.
index 1a0dc9d2cbe283df36fadec3452719c6b49b69f9..79c4518a6cba6168a0f854683bc1bf51ce21b261 100644 (file)
@@ -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
index 875d90cadbcac3269f4a06bedf5b5b4d3820e358..682cd2a48917a0a75c1bb60f3143cc67beacc054 100644 (file)
@@ -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:
index 3b36f131f5ff0d35c077dd3698653511e871b003..3af6ba62f1c1f341b8878dde0de58413169e4e2e 100644 (file)
@@ -11,7 +11,7 @@ areadlink
 careadlinkat
 readlinkat
 at-internal
-errno
+errno-h
 extensions
 fchdir
 fcntl-h
index 0fe291ee84096b688b15f588e154851310af59cf..a47fa0f904ffae3afc773d759f0ac4df6fd2d076 100644 (file)
@@ -11,7 +11,7 @@ areadlink-with-size
 stdint
 readlinkat
 at-internal
-errno
+errno-h
 extensions
 fchdir
 fcntl-h
index 0d17b9339a458c9f5af7ce575975938ea9ae56ba..60627dbdeb7be4e272fc94f2f42dbca5f7c7ee1d 100644 (file)
@@ -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]
index 6d2b888b0deebfb6bae0997edcaac89097df8bb0..fad39d8af2ac50ccfbf35f97ea5adf775d411ddd 100644 (file)
@@ -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:
index e737fe70d6c359d6254f404c090c92e7686a093f..25c182ab13236e8726d876037ed29551a995ed53 100644 (file)
@@ -12,7 +12,7 @@ Depends-on:
 attribute
 c-ctype
 c99
-errno
+errno-h
 extensions
 intprops
 libc-config
index e351e3909594fd487969d447cbec632a9632b9db..4a7d816e513cc8565e6cb1aa6c76e8bbe7e52fdc 100644 (file)
@@ -8,7 +8,7 @@ m4/c-stack.m4
 
 Depends-on:
 c99
-errno
+errno-h
 exitfail
 getprogname
 gettext-h
index 53c7babe84436fdaf922c49462bd4da7376ea916..c3f998aa5d6d1b1f9fcfd4247b228532f9392b43 100644 (file)
@@ -32,7 +32,7 @@ nocrash
 printf-safe
 alloca-opt
 xsize
-errno
+errno-h
 memchr
 multiarch
 mbszero
index 25667c431bd19334c540a90b5c13d526ec3b6092..fe44d750508f0c3c9ba73cd118826cf6768bc441 100644 (file)
@@ -10,7 +10,7 @@ m4/lstat.m4
 Depends-on:
 attribute
 double-slash-root
-errno
+errno-h
 extensions
 fcntl-h
 file-set
index 7842cda2da0d9ce7b0d115d87bd4ffd8b87658c2..d334356ec177037ff1cfdcb0a7c9fb3b1a6d31e3 100644 (file)
@@ -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]
index 5f2ea4edecf44d14e64b0c1d82dd28f206a18fcd..3d8e31aaf041b5770c83b3e460326fc77f3baa60 100644 (file)
@@ -9,7 +9,7 @@ m4/cond.m4
 Depends-on:
 threadlib
 lock
-errno
+errno-h
 extern-inline
 stdbool
 time-h
index d56088f30f030ed4b4a744dbba7f32ee9f8dcf01..445e6f9960417485a456084a0842e507fc4d7fff 100644 (file)
@@ -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:
index 9f20c05cb1cf3cbe7e1715a3e495c357033467dd..d8503f41b76401af3d618894856c776aacc2829e 100644 (file)
@@ -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
index 1e9d208df918bb1521c7ff053f5ccc848004e581..fb1cb408a03b0363300e39551e8374b7671ee258 100644 (file)
@@ -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
index ea3dc9d0336545a6edbf94b8dffe9831df1b36c2..d1908574f3278d641e5ed6ce9c5e8b7b43a958bc 100644 (file)
@@ -11,7 +11,7 @@ vasnprintf
 intprops
 free-posix
 full-write
-errno
+errno-h
 
 configure.ac:
 gl_STDIO_MODULE_INDICATOR([dzprintf])
index 385985feab7e4f4e0748a40b33756fa2bea26b48..abe19350b53122bd013f9f5c40bcc34fcd6823b3 100644 (file)
@@ -1,47 +1,20 @@
 Description:
 A POSIX-like <errno.h>.
 
+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 <errno.h> 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:
 <errno.h>
@@ -50,4 +23,3 @@ License:
 LGPLv2+
 
 Maintainer:
-all
diff --git a/modules/errno-c++-tests b/modules/errno-c++-tests
deleted file mode 100644 (file)
index f4083bd..0000000
+++ /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 (file)
index 0000000..385985f
--- /dev/null
@@ -0,0 +1,53 @@
+Description:
+A POSIX-like <errno.h>.
+
+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 <errno.h> 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:
+<errno.h>
+
+License:
+LGPLv2+
+
+Maintainer:
+all
diff --git a/modules/errno-h-c++-tests b/modules/errno-h-c++-tests
new file mode 100644 (file)
index 0000000..759da2a
--- /dev/null
@@ -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 (file)
index 0000000..8f6ff6a
--- /dev/null
@@ -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 (file)
index f77aa5a..0000000
+++ /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
index f560dd66e5f5bd97bf88ffced77116c30a2f1851..90513909f2e7e8f5942c81b22d4727fc3feb13f5 100644 (file)
@@ -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]
index 4de4314859dae699366f35d393c43bc3420d1446..d7698cd3911721ef5e0326ae6efa029024227e6d 100644 (file)
@@ -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]
index 49c4b18096942ee675bde4a33510e7fd9b5acc82..44d5cfc9b6ef4fb549981075612d81f9d7bfcaa4 100644 (file)
@@ -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]
index 2f804eccc12e8f19a4ef83c10c636fff85adfb80..856ccf8467b5c483e1cc0e59f08cfca270e71870 100644 (file)
@@ -7,7 +7,7 @@ tests/signature.h
 tests/macros.h
 
 Depends-on:
-errno
+errno-h
 ignore-value
 mgetgroups
 nanosleep
index 88da0b10de6110f35e8574dc9ff6838b86105f3d..0126e1d623aa6e87ecc7966da7c3b07d9b64d946 100644 (file)
@@ -4,7 +4,7 @@ tests/signature.h
 tests/macros.h
 
 Depends-on:
-errno
+errno-h
 
 configure.ac:
 
index a47049f377cbb392a88f5752e0926b786bffe1d3..8e55856eb0e95e2024f3eeddec9204505afc060d 100644 (file)
@@ -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]
index ad06e7f0cc0a34f93649ece5497fe00b5703f556..a20724bd976607faa2660c37408a2e618f6b53cd 100644 (file)
@@ -12,7 +12,7 @@ acl-permissions
 assert-h
 attribute
 dirent-h
-errno
+errno-h
 extern-inline
 minmax
 free-posix
index 3ccb9be175e19974149578f7f3df0a8cbf963a4c..ce34fcbb723c60b48d21bf3184a48ae309b0fb63 100644 (file)
@@ -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]
index 6ad36d1b825f35cf7c932ab8322d1cf736068b33..aa129072e398630120e64f6b5fee7b7c8d549746 100644 (file)
@@ -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]
index 3db181be7d8d19607eb77bfe803c5fb903ae26a2..7457d8349882a06e64dafd19f013fd827d9d2efe 100644 (file)
@@ -4,7 +4,7 @@ tests/signature.h
 tests/macros.h
 
 Depends-on:
-errno
+errno-h
 
 configure.ac:
 
index d9d754d917a69fd384cb19e8667655c3c9524fe1..cfd1ad1596dfb4f26ea9c87f414c924207438ea0 100644 (file)
@@ -7,7 +7,7 @@ m4/ftell.m4
 
 Depends-on:
 stdio
-errno
+errno-h
 ftello          [test $REPLACE_FTELL = 1]
 
 configure.ac:
index fc1e479231a6eea493d7b33c2f5fce65036f5084..5feb3c3c6e4c89e62e049e5d5b9406421c5e94f9 100644 (file)
@@ -6,7 +6,7 @@ tests/test-fts.c
 
 Depends-on:
 c99
-errno
+errno-h
 remove
 unlinkat
 
index 9386e014304940c32cdd9cad0690f567b39aaf37..3960762d7f9040b759672614d1a25ceced03ba1b 100644 (file)
@@ -6,7 +6,7 @@ lib/fwriteerror.h
 lib/fwriteerror.c
 
 Depends-on:
-errno
+errno-h
 stdbool
 
 configure.ac:
index b822f26c5902626afe013fa57e0ad3ad174f6ce9..a6e2f2d0650d2be6ef8364c703f35fc1dcb2225c 100644 (file)
@@ -11,7 +11,7 @@ vasnprintf
 intprops
 free-posix
 fseterr
-errno
+errno-h
 
 configure.ac:
 gl_STDIO_MODULE_INDICATOR([fzprintf])
index 4a8aee254063f1c70962459ab71e2faa733bd90f..c7b0f80346a170744eae890dbd16a1fec906e295 100644 (file)
@@ -5,7 +5,7 @@ tests/qemu.h
 tests/macros.h
 
 Depends-on:
-errno
+errno-h
 fcntl-h
 getcwd-lgpl
 pathmax
index 632e1dfec5ce5a287e760a8f76ef1a565da395c4..24484f0aab711599547b09408b1a02afade09eee 100644 (file)
@@ -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
index 8523a8e9447c9281f6d643166dec0130e125ad74..5127ed4bb715a873fe965992e9d25edecd8296da 100644 (file)
@@ -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]
 
index 0fd70eebcb2ce08a17dc754c2de57e2a07417996..13796c7aa572fdbad4a3fbdf7c6ca4718b8c6b1d 100644 (file)
@@ -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:
index 7e0e1a2dc736b0cb01fc49e27305418c43c16e44..d9e6d0d3df5418a03153fc44236ad52e9e9aa7dd 100644 (file)
@@ -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:
index bf542b12adb5ec5df3d3e748ef48ffd9a7102b1a..cfa326732eadb8fa9ca7caaaa9ada420e339d4ea 100644 (file)
@@ -7,7 +7,7 @@ Depends-on:
 netinet_in
 arpa_inet-h
 inet_pton
-errno
+errno-h
 perror
 sockets
 socket
index 26d53f7534e1df2a7be641dc9e0c23f726005288..be3474beb222567a2a9106c5fe642b3e744d0e60 100644 (file)
@@ -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:
index f363553440e15f54e938b95e47d607bd3905c52c..ee27691bcb2aa8cd49045c7870db8327c746ab6d 100644 (file)
@@ -7,7 +7,7 @@ lib/getugroups.h
 m4/getugroups.m4
 
 Depends-on:
-errno
+errno-h
 
 configure.ac:
 gl_GETUGROUPS
index 5acec5f3718d2d76e9e06f7920f94deb591ab872..c5b63311e4b69979aa0b8fc90a3d568bc98f5458 100644 (file)
@@ -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:
index ca62a47751cea59da2a8b496e52e447e78f8f6a1..e36d6d031a14ec02d79d3ab09bfc5791e8003d75 100644 (file)
@@ -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:
index 422f25d7765369923c56eadd75dc3713380d2117..96b15e580bf23282e99b1951ba7e55a38f909bce 100644 (file)
@@ -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]
 
index 8625076c8275bbba6311a040a8d5c9b0a0c9105b..b55b86675f3dfa318949fe30b8c2ead79720f566 100644 (file)
@@ -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]
index 217dd75cceee81619133d197e913cbc1834d36e5..43b89a31b24497997e5b20102f89bef0c6d342a6 100644 (file)
@@ -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]
index cc7bffa55fedeaea4dcf4925517f11e6597e33e6..08f40d0a2cf29d24c9fee7afde44d58ccda6a99e 100644 (file)
@@ -6,7 +6,7 @@ tests/signature.h
 tests/macros.h
 
 Depends-on:
-errno
+errno-h
 ignore-value
 mgetgroups
 nanosleep
index 5b1978e856d2b44dea045c21042fed1ca0e780e5..644120c52ed473e04c5754f387e162d6b50bfb44 100644 (file)
@@ -6,7 +6,7 @@ tests/macros.h
 
 Depends-on:
 ignore-value
-errno
+errno-h
 stdbool
 sys_stat
 
index fea65dbd9d1c2a025046d196a55cf3754f7a9993..4b0fcf1e6e69c3125fbe3bc9a1caa2254e15796e 100644 (file)
@@ -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]
index 7eae89b3611a3300db5a54e21fd70c92e06754b5..a44b664e00164dc2df388a0882a81d94d3c73a96 100644 (file)
@@ -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:
index 911a7ff6277a7520616477186c1f701f6b2a3da3..3f585f7084a07623a52a817ecf0ed9733c862ad7 100644 (file)
@@ -6,7 +6,7 @@ tests/macros.h
 
 Depends-on:
 ignore-value
-errno
+errno-h
 same-inode
 stdbool
 symlink
index ced87fcea09bf8898937708fc2bc6478fe7a7378..c553e18d7aec6617c542e9d537065c4693ec3064 100644 (file)
@@ -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]
index ce6e87ab58550f8691f976177a78bff62488290e..8c31cc2aafc9a60417a44b0f3fcb4b524eb2d3e4 100644 (file)
@@ -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]
index ccdfdccd02d12adf8198ff9108396f568eeafe98..92199941f5a7592cf9a34225561cd84a81b2f79b 100644 (file)
@@ -11,7 +11,7 @@ m4/tm_gmtoff.m4
 Depends-on:
 attribute
 c99
-errno
+errno-h
 extensions
 intprops
 libc-config
index ed020c1ac8784cabdaccac0e39db51012ee67fb3..f839ab360a69e1276a54c69223b28f2468be3862 100644 (file)
@@ -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]
index 14c57804447125401335aa308775491d9737b779..4fca4318a5071e134992640ce5cefc2bd486dc4c 100644 (file)
@@ -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]
 
index d423310796fcc8f60567cf58d80681c2913ff588..793f34506f9460309e87a6e735980cd051b8532e 100644 (file)
@@ -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:
index 1952c730b5000a7d20603145c4e6730cbca2826d..fc9d6c280643133aec91bfea9698922a08e29fd3 100644 (file)
@@ -11,7 +11,7 @@ arpa_inet-h
 sys_ioctl
 extensions
 inet_pton
-errno
+errno-h
 perror
 sockets
 socket
index 34a4aaa5f036d856e29aa7f06e822cc7cdf48072..b55e3fcfd0bc74e8bb9f0c2748688f7c413bdaf2 100644 (file)
@@ -10,7 +10,7 @@ Depends-on:
 spawn
 alloca-opt
 dup2
-errno
+errno-h
 open
 sh-filename
 strchrnul
index 0c0b15608c626bea424af4c96b61a7bc553bce40..ad8d91cce7de923eb1843b8ba002a5a07394ea3f 100644 (file)
@@ -7,7 +7,7 @@ lib/priv-set.c
 m4/priv-set.m4
 
 Depends-on:
-errno
+errno-h
 extern-inline
 stdbool
 
index 72381ed21ac3eead03a77902e9397c847e071314..c7786d3c943eeea87d991a6ddfe9d45841d1a16a 100644 (file)
@@ -12,7 +12,7 @@ unistd
 sys_ioctl
 extensions
 inet_pton
-errno
+errno-h
 perror
 pipe-posix
 socket
index a340bba089075f942da85a9638dbbfbad4887a45..cf52690b7b198af2633a2c33fe36a107825ac706 100644 (file)
@@ -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]
index 18d81bba88811039035cc9f7aec940fca7d73f55..437e48909615c7ddcaf4eec1c6bfc30b8a2874c7 100644 (file)
@@ -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:
index 3cdd0a70a6c6dd82848c5e9708db1b6530a281b4..d32f7d5fcbaa3346ef9bc896553875376e0f3af8 100644 (file)
@@ -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]
 
index 859e0978512f6e58b08d5cf897e7f168ada3f86e..6e822df437b3eedb631c27b168c5e9518f27d2c7 100644 (file)
@@ -58,7 +58,7 @@ c99
 double-slash-root
 eloop-threshold
 environ
-errno
+errno-h
 extern-inline
 fcntl-h
 filename
index b3cd9733bc97fa22a97d849d1de377adc860acf3..790071f258c7d8009d154f35cd6d31e6cddc94a9 100644 (file)
@@ -6,7 +6,7 @@ tests/macros.h
 
 Depends-on:
 ignore-value
-errno
+errno-h
 link
 stdbool
 symlink
index 225a4c1a429327bae1ca577de80f021b92cb704b..b4492d30a40f1a9e2d4754eee9bb4c936df89c3c 100644 (file)
@@ -10,7 +10,7 @@ Depends-on:
 assure
 attribute
 chdir
-errno
+errno-h
 extern-inline
 fchdir
 fcntl-h
index 1f78cc0d2bc31966984167b8a16c5c41217fe6db..822ee30e4569b41e58ed490a0b6477552af1eab9 100644 (file)
@@ -17,7 +17,7 @@ unistd
 sys_ioctl
 extensions
 inet_pton
-errno
+errno-h
 perror
 pipe-posix
 socket
index 4de98a6102f0fb782df097c90966c7e9bb33e751..b1d6e84926563a34ebaabfe4a54ec5f8fa354910 100644 (file)
@@ -9,7 +9,7 @@ lib/at-func.c
 Depends-on:
 selinux-h
 at-internal
-errno
+errno-h
 extensions
 fchdir
 fcntl-h
index 941673d1ee4be9f1d13e99328b6ad2968b5546c1..2a6074daf34670fc3b526cfa6f31a12d8260254f 100644 (file)
@@ -14,7 +14,7 @@ m4/selinux-label-h.m4
 m4/selinux-selinux-h.m4
 
 Depends-on:
-errno
+errno-h
 extern-inline
 gen-header
 
index 974d16935545f192e2eb44ed345474d4362a2e9c..26815365a9c305ebfc3a8c221bfd8fc6819eb324 100644 (file)
@@ -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:
index 56cee15fc493d8a5f2dd07036f038b76fc62f258..43a9ddb92b352224e18b639ed55a1cc7c94d6844 100644 (file)
@@ -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:
index 6057ef06cd344b44278e8b80869c4196bdddd1f2..1dfa64e551c47b5c59ebe1216e8c8805e4c62fc3 100644 (file)
@@ -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:
index efa55be536d45cbfa5a377d59c989604d7a003c6..2023a428d2a1c0d870370f323b7266d339551e26 100644 (file)
@@ -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:
index a778febe112e8eba73485a7dcb39c85af3deb78d..94b858478d7448c2aa2d9c97164c9a039b7c348e 100644 (file)
@@ -7,7 +7,7 @@ m4/settime.m4
 
 Depends-on:
 clock-time
-errno
+errno-h
 extensions
 sys_time
 timespec
index a2ff50f7c518ea1ffc9d0659397964a622f6e7b6..599058a4f5f4acc192ec2f3e664233c538df152a 100644 (file)
@@ -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:
index b44fc9a6eaf52254d1eed8314a4f9f02651f051b..2620e6a5f52cf5cf58813dc9d1a32544fae10cec 100644 (file)
@@ -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]
 
index 9d81fc4ca1d7f50f540bcb04463c6033b57a75ef..185f5dc7757a784a3aa247b2e34b06b658f906c3 100644 (file)
@@ -8,7 +8,7 @@ lib/snzprintf.c
 Depends-on:
 stdio
 vasnprintf
-errno
+errno-h
 stdint
 
 configure.ac:
index a67025aa6bab25da1ae13a1ce5bfb974954fe9aa..e98099077b7788b0fab47a1d145a462055ea26f6 100644 (file)
@@ -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]
 
index 682043847fae6250aa25da9e71ddc1b7f7694e98..8565476d4b1940afb90f2ebed1c0ad12a450af44 100644 (file)
@@ -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
index d4c0378dbaea5d854c8ed6fe8a1945341be65568..159900303eb1eb5bf8954e7882c8e38ff7f0c506 100644 (file)
@@ -8,7 +8,7 @@ m4/stat-time.m4
 
 Depends-on:
 time-h
-errno
+errno-h
 extensions
 extern-inline
 stdckdint
index acd17dee0a526f027eac42f8824377e769a215fe..c058119036a772974730380ef979033923be22f4 100644 (file)
@@ -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]
 
index a17464a5462633bb41da84356187800bac3a8cca..d736192afffd99e4ea6d70e1d20d6d14f34993d3 100644 (file)
@@ -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])
index 779a821e9ed6df58c144970814c79b675c9e838b..350824e0567e36fc448ec9733475330d458128e7 100644 (file)
@@ -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]
 
index 61b861e813945ab276b651c2194ad248add11f0e..4f6ea3b9cd30e426a38629640a4cdc058baf10de 100644 (file)
@@ -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]
index 57ea690270d6648c07e091945cd2c66f47590ad2..bbd337f7895c791dc2c925e26e6749c539fb3434 100644 (file)
@@ -9,7 +9,7 @@ m4/sockpfaf.m4
 
 Depends-on:
 alignasof
-errno
+errno-h
 extern-inline
 gen-header
 include_next
index 1e647c20b783bb5b6d53bd8b1403f6762257e4bc..ae06d7e1cd8ec05cd4b56839a2b0590a7aaaab73 100644 (file)
@@ -8,7 +8,7 @@ lib/szprintf.c
 Depends-on:
 stdio
 vasnprintf
-errno
+errno-h
 stdint
 
 configure.ac:
index 0237505d581aa752270f5d10646d53081820d9f6..ea02c125253072f817e1c3d836320c38d7be4398 100644 (file)
@@ -37,7 +37,7 @@ printf-safe
 alloca-opt
 localcharset
 xsize
-errno
+errno-h
 free-posix
 memchr
 multiarch
index 5e6fa6f5c3d9a90557980a179dea97009d512eef..d9927135738f7de66bc0594da7a3f92b0de8894e 100644 (file)
@@ -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])
index 286dd11153f82c0769c5643e1baabc6a59bff6b6..b88b3db1bc62ad9f48551b6d56b3680b12a5ed3d 100644 (file)
@@ -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])
index 3860aa60edf13f84d9ff337d06d0b6d77ea26744..d2d32e3f891ec7fac06f92ac97deccc21c7828f0 100644 (file)
@@ -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])
index d92e6dd1579090e974d071584cfacaaac443f32f..edbe92025808654819d4797fab60309a2f2a7555 100644 (file)
@@ -37,7 +37,7 @@ printf-safe
 alloca-opt
 localcharset
 xsize
-errno
+errno-h
 free-posix
 memchr
 multiarch
index 750d927f3f49bb45c38ba8e98805225f8b01c700..4193aeb612472731854871d920c0b890f6965817 100644 (file)
@@ -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])
index 838cb1031529c5e926d011bf54cd75e317ff8a83..bdabf2b237416b87a25eb1fd896790fd6b02fb0b 100644 (file)
@@ -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])
index 8fdbfc30b5dd4d758b891145673f3ef3f3850014..7492ef5edebb17bc3900990bb84ecb0d7f4647d7 100644 (file)
@@ -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])
index 119a9fe4f450b56b7a96996fe2969452e200dbb3..98d213ed3ec35c4ae6fbe14b25502dde628569f2 100644 (file)
@@ -37,7 +37,7 @@ printf-safe
 alloca-opt
 localcharset
 xsize
-errno
+errno-h
 free-posix
 memchr
 multiarch
index 630750e9ac6029b102ecc0bb96f077650ce000da..01e6ab8ee5aaf3eb3b5953a37f425c6199429074 100644 (file)
@@ -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])
index ef53a4557678895b737020f71481e3d736a97a7e..5c564c42ac1013f954bb433c9d9f4868276094b3 100644 (file)
@@ -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])
index bcec749327533bf834d33045093afd9a9d76e055..2b071cb3022bedb1b135ad4b79027931bbdb987f 100644 (file)
@@ -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])
index bd094712a2de37aa389a8497a5748a1a9717b82f..03cf4f200e532412605fdc7db83bd1277c20c11e 100644 (file)
@@ -37,7 +37,7 @@ printf-safe
 alloca-opt
 localcharset
 xsize
-errno
+errno-h
 free-posix
 memchr
 multiarch
index 47e3195df52ab774c6c1a4f56cd6efea08f151a1..736fabb67ec2814ce3ad1072bc16137f708428d9 100644 (file)
@@ -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])
index 85cd7a93bf46e874e8da3cc69926dee37a5a2ff6..70035617b287ba6730273ea09eab533a2c6c3a46 100644 (file)
@@ -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])
index 2af3af8a76b10840cc7a2fa2f20d15038e309f69..e9ccacca6d201e9cb66e95219b99a011363f9b7c 100644 (file)
@@ -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])
index 733bc15d3f61963f6be6cc400fc232e61ec181bb..11ab44ab68375d8df1647d1b06c402ef7661230c 100644 (file)
@@ -37,7 +37,7 @@ printf-safe
 alloca-opt
 localcharset
 xsize
-errno
+errno-h
 free-posix
 memchr
 multiarch
index 618738102d67f83ac0da84b7635b873a2e5306e7..4d200c677c668946fe1be5253f7b820fbd2882f2 100644 (file)
@@ -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])
index bc0dc3db76163b19d6d2f82f4b489628aefa9702..d7738521bbdbe91003031f73939f90b4b351b89c 100644 (file)
@@ -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])
index 0a456665864fec869f7561695ba1edc05583d25e..55117d094edc358d66edd2aab1f20f825542933f 100644 (file)
@@ -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])
index b86f0d2c195512c0479d836dee77ca4af2896f14..9be331474ce7e53a8917b77b58ba625426392759 100644 (file)
@@ -37,7 +37,7 @@ printf-safe
 alloca-opt
 localcharset
 xsize
-errno
+errno-h
 free-posix
 memchr
 multiarch
index 99aa4d5fcc102d6e229bfc632aa7bddc65d5bef0..e0b5594e7b7ac484413eb607bd342f55556d8e03 100644 (file)
@@ -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])
index 9c067ca9b861de6d40522679fbf089e79a9ff8db..cdd6092109043bc9a321d7a87f6d164c29fde20c 100644 (file)
@@ -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])
index f7d156667ced30f350b7680d177ef735a2077ac6..dad0257e42ca32a1af79c6ecf653a5c19c14cda2 100644 (file)
@@ -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])
index 2f52dbe4cb35c521a1fd16a28572dc8e1e12a726..2da8dabe5448e495905629f5acb6f92cd22c62ec 100644 (file)
@@ -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])
index 08d0672735e5e4ac878a650a883635b476b3fb78..780704b7a8fda24c62a9644504d7da532e690552 100644 (file)
@@ -35,7 +35,7 @@ printf-safe
 alloca-opt
 localcharset
 xsize
-errno
+errno-h
 free-posix
 memchr
 multiarch
index d1327ef33ece4745bd13b6a74d7e414860fd6b3c..53d3fe1d384dd06950ab7bdd6658fea98fcd3e1c 100644 (file)
@@ -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])
index c48803dc2880627bb70451902150db5ddc85fcbe..e693215dc756de7e5b72831c3b9a5bfecd2f0cb7 100644 (file)
@@ -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])
index 019ea84110414c88f3bcf26c07c1b6184ff4217d..250933dc43dec0e559b971f47b749bbc61c7a170 100644 (file)
@@ -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])
index ac3911891998906073069bb4fd6b7f4d488bac89..e90637d08276ed2def93ab92e1e6b74d262ac4be 100644 (file)
@@ -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])
index ed11c1e97118b960e831cdd9e88ba1a13cb5d75b..905d748902fa06fd50c1b087dcff67bd866348a1 100644 (file)
@@ -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]
index 49e15f61273de83f856cc250129d65acfd3fd435..10e1c848f24fb570f02e0c693e60774f38233012 100644 (file)
@@ -8,7 +8,7 @@ m4/utimens.m4
 m4/utimes.m4
 
 Depends-on:
-errno
+errno-h
 extern-inline
 fcntl-h
 fstat
index 8f9e0aa6c1136b8406aa5cf7cc5631d9c3ab2001..d07fcc86fbc0d6050917827ba03ce096a33fee51 100644 (file)
@@ -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]
index cbca87f0c6a14bd759302ea4b1ba004634e01465..1b42d2e5795ca555bd099d2c3623cd791064ebd5 100644 (file)
@@ -28,7 +28,7 @@ free-posix
 limits-h
 stdint
 xsize
-errno
+errno-h
 memchr
 assert-h
 wchar
index 2ef56d7cb6ebcbc276a44cf455bc8c05eaca1284..1ca2ec15dbc555ff1737795fcc7b88d58d9cb294 100644 (file)
@@ -32,7 +32,7 @@ free-posix
 limits-h
 stdint
 xsize
-errno
+errno-h
 memchr
 assert-h
 wchar
index 46bfcc51ba3e0bf11a1a458f813fc8ff1cf88f22..c3a84e495cff003e1b49ecbf41e051b3c3abd5b0 100644 (file)
@@ -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:
index a732581d93040122f717f605d0c0c58b499cb9a1..50dde0cf2b529f673281ae657968addc7bebccf0 100644 (file)
@@ -8,7 +8,7 @@ lib/aszprintf.c
 Depends-on:
 stdio
 vasnprintf
-errno
+errno-h
 stdint
 
 configure.ac:
index b09dbd748e6de6cd6336de577c87b7c6a925f6b0..51539cdbc1a24c51f14033909133bafebd860eb4 100644 (file)
@@ -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
index 496763c82bd0dfb30d5140aadec5ecbd227089eb..852c70b794df8e497bb4411fb55f704044a310a7 100644 (file)
@@ -11,7 +11,7 @@ vasnprintf
 intprops
 free-posix
 full-write
-errno
+errno-h
 
 configure.ac:
 gl_STDIO_MODULE_INDICATOR([vdzprintf])
index aec763b2e3240d19773e129abd71d01b862a29b8..d9283dee84555d5687e646efba3bdab5745c2ed1 100644 (file)
@@ -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
index 45bafdb365d5e2c408fcf1c43c211e22f3248f7b..dac58b64ef94fb3215a748595a2d824127c327c2 100644 (file)
@@ -11,7 +11,7 @@ vasnprintf
 intprops
 free-posix
 fseterr
-errno
+errno-h
 
 configure.ac:
 gl_STDIO_MODULE_INDICATOR([vfzprintf])
index 2c77dd4d610ad9a1f044ce05ec1ef05917efb894..658ba78b9297aa210c3c082deda69021f8c8d66e 100644 (file)
@@ -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]
 
index e6b060d41d301aa33f51a6012ef0f0f57005d930..0ad6f59ab78e44dc97a12d45752c46fdd80d98ba 100644 (file)
@@ -8,7 +8,7 @@ lib/vsnzprintf.c
 Depends-on:
 stdio
 vasnprintf
-errno
+errno-h
 stdint
 
 configure.ac:
index d1df5a39b98da4bd80c62d3ca069fc3aaa3cbed9..9918d517148e46c4f43b058b3a93097f8c37644f 100644 (file)
@@ -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
index 1e74637574f6db10d09ad25598241d58e859c9e8..5da3d277bb5924af63087fd31bf192c3fa364592 100644 (file)
@@ -8,7 +8,7 @@ lib/vszprintf.c
 Depends-on:
 stdio
 vasnprintf
-errno
+errno-h
 stdint
 
 configure.ac:
index e0335c3590de10703194389ebe797bd1c3c7c344..a765c7e9b0beb3127433641c5a3b56a3b20566c2 100644 (file)
@@ -8,7 +8,7 @@ lib/windows-initguard.h
 
 Depends-on:
 stdbool
-errno
+errno-h
 time-h
 gettimeofday
 
index 1d74bdf5ef0fb19a4809b85ae7afad97c43fcf47..deb9c5eab9e95479d4430a810ff23dc1a93e8c9d 100644 (file)
@@ -7,7 +7,7 @@ lib/windows-timedmutex.c
 lib/windows-initguard.h
 
 Depends-on:
-errno
+errno-h
 time-h
 gettimeofday
 
index 0bc73f4ab3ae5cb08dda0764bf71cffe5bd34d38..672a5eb1db9e3a4626f26d924bf31bdd03025268 100644 (file)
@@ -7,7 +7,7 @@ lib/windows-timedrecmutex.c
 lib/windows-initguard.h
 
 Depends-on:
-errno
+errno-h
 time-h
 gettimeofday
 
index 20242ed53c89d2669b239edc98f2cd9b88c70f7d..e1a6b77377b766f00caf6e14ad05638ad347f324 100644 (file)
@@ -7,7 +7,7 @@ lib/windows-timedrwlock.c
 lib/windows-initguard.h
 
 Depends-on:
-errno
+errno-h
 stdbool
 time-h
 gettimeofday
index b94bd6694025af3a0ad14bd04c8385b3bdeb9d76..cca6608ac9fb58a7f6fa7d11a4dc325ebc086b9e 100644 (file)
@@ -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-c++.cc
deleted file mode 100644 (file)
index f1b5c8f..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/* Test of <errno.h> substitute in C++ mode.
-   Copyright (C) 2019-2024 Free Software Foundation, Inc.
-
-   This program is free software: you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation, either version 3 of the License, or
-   (at your option) any later version.
-
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
-
-/* Written by Bruno Haible <bruno@clisp.org>, 2019.  */
-
-#define GNULIB_NAMESPACE gnulib
-#include <config.h>
-
-#include <errno.h>
-
-
-int
-main ()
-{
-}
diff --git a/tests/test-errno-c++2.cc b/tests/test-errno-c++2.cc
deleted file mode 100644 (file)
index b10534c..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Test of <errno.h> substitute in C++ mode.
-   Copyright (C) 2019-2024 Free Software Foundation, Inc.
-
-   This program is free software: you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation, either version 3 of the License, or
-   (at your option) any later version.
-
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
-
-#define GNULIB_NAMESPACE gnulib
-#include <config.h>
-
-#include <cerrno>
diff --git a/tests/test-errno-h-c++.cc b/tests/test-errno-h-c++.cc
new file mode 100644 (file)
index 0000000..f1b5c8f
--- /dev/null
@@ -0,0 +1,28 @@
+/* Test of <errno.h> substitute in C++ mode.
+   Copyright (C) 2019-2024 Free Software Foundation, Inc.
+
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation, either version 3 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
+
+/* Written by Bruno Haible <bruno@clisp.org>, 2019.  */
+
+#define GNULIB_NAMESPACE gnulib
+#include <config.h>
+
+#include <errno.h>
+
+
+int
+main ()
+{
+}
diff --git a/tests/test-errno-h-c++2.cc b/tests/test-errno-h-c++2.cc
new file mode 100644 (file)
index 0000000..b10534c
--- /dev/null
@@ -0,0 +1,20 @@
+/* Test of <errno.h> substitute in C++ mode.
+   Copyright (C) 2019-2024 Free Software Foundation, Inc.
+
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation, either version 3 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
+
+#define GNULIB_NAMESPACE gnulib
+#include <config.h>
+
+#include <cerrno>
diff --git a/tests/test-errno-h.c b/tests/test-errno-h.c
new file mode 100644 (file)
index 0000000..b54dc70
--- /dev/null
@@ -0,0 +1,166 @@
+/* Test of <errno.h> substitute.
+   Copyright (C) 2008-2024 Free Software Foundation, Inc.
+
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation, either version 3 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
+
+/* Written by Bruno Haible <bruno@clisp.org>, 2008.  */
+
+#include <config.h>
+
+#include <errno.h>
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+/* Check all POSIX-defined errno values, using M (v) to check value v.  */
+#define CHECK_POSIX_ERRNOS(m) \
+  m (E2BIG) \
+  m (EACCES) \
+  m (EADDRINUSE) \
+  m (EADDRNOTAVAIL) \
+  m (EAFNOSUPPORT) \
+  m (EAGAIN) \
+  m (EALREADY) \
+  m (EBADF) \
+  m (EBADMSG) \
+  m (EBUSY) \
+  m (ECANCELED) \
+  m (ECHILD) \
+  m (ECONNABORTED) \
+  m (ECONNREFUSED) \
+  m (ECONNRESET) \
+  m (EDEADLK) \
+  m (EDESTADDRREQ) \
+  m (EDOM) \
+  m (EDQUOT) \
+  m (EEXIST) \
+  m (EFAULT) \
+  m (EFBIG) \
+  m (EHOSTUNREACH) \
+  m (EIDRM) \
+  m (EILSEQ) \
+  m (EINPROGRESS) \
+  m (EINTR) \
+  m (EINVAL) \
+  m (EIO) \
+  m (EISCONN) \
+  m (EISDIR) \
+  m (ELOOP) \
+  m (EMFILE) \
+  m (EMLINK) \
+  m (EMSGSIZE) \
+  m (EMULTIHOP) \
+  m (ENAMETOOLONG) \
+  m (ENETDOWN) \
+  m (ENETRESET) \
+  m (ENETUNREACH) \
+  m (ENFILE) \
+  m (ENOBUFS) \
+  m (ENODEV) \
+  m (ENOENT) \
+  m (ENOEXEC) \
+  m (ENOLCK) \
+  m (ENOLINK) \
+  m (ENOMEM) \
+  m (ENOMSG) \
+  m (ENOPROTOOPT) \
+  m (ENOSPC) \
+  m (ENOSYS) \
+  m (ENOTCONN) \
+  m (ENOTDIR) \
+  m (ENOTEMPTY) \
+  m (ENOTRECOVERABLE) \
+  m (ENOTSOCK) \
+  m (ENOTSUP) \
+  m (ENOTTY) \
+  m (ENXIO) \
+  m (EOPNOTSUPP) \
+  m (EOVERFLOW) \
+  m (EOWNERDEAD) \
+  m (EPERM) \
+  m (EPIPE) \
+  m (EPROTO) \
+  m (EPROTONOSUPPORT) \
+  m (EPROTOTYPE) \
+  m (ERANGE) \
+  m (EROFS) \
+  m (ESOCKTNOSUPPORT) \
+  m (ESPIPE) \
+  m (ESRCH) \
+  m (ESTALE) \
+  m (ETIMEDOUT) \
+  m (ETXTBSY) \
+  m (EWOULDBLOCK) \
+  m (EXDEV) \
+  /* end of CHECK_POSIX_ERRNOS */
+
+/* Verify that the POSIX mandated errno values can be used as integer
+   constant expressions and are all positive (except on Haiku).  */
+#if defined __HAIKU__
+# define NONZERO_INTEGER_CONSTANT_EXPRESSION(e) static_assert (0 != (e) << 0);
+CHECK_POSIX_ERRNOS (NONZERO_INTEGER_CONSTANT_EXPRESSION)
+#else
+# define POSITIVE_INTEGER_CONSTANT_EXPRESSION(e) static_assert (0 < (e) << 0);
+CHECK_POSIX_ERRNOS (POSITIVE_INTEGER_CONSTANT_EXPRESSION)
+#endif
+
+/* Verify that errno values can all be used in #if.  */
+#define USABLE_IN_IF(e) ^ e
+#if 0 CHECK_POSIX_ERRNOS (USABLE_IN_IF)
+#endif
+
+/* Check that errno values all differ, except possibly for
+   EWOULDBLOCK == EAGAIN and ENOTSUP == EOPNOTSUPP.  */
+#define ERRTAB(e) { #e, e },
+static struct nameval { char const *name; int value; }
+  errtab[] = { CHECK_POSIX_ERRNOS (ERRTAB) };
+
+static int
+errtab_cmp (void const *va, void const *vb)
+{
+  struct nameval const *a = va, *b = vb;
+
+  /* Sort by value first, then by name (to simplify later tests).
+     Subtraction cannot overflow as both are positive.  */
+  int diff = a->value - b->value;
+  return diff ? diff : strcmp (a->name, b->name);
+}
+
+int
+main ()
+{
+  int test_exit_status = EXIT_SUCCESS;
+
+  /* Verify that errno can be assigned.  */
+  errno = EOVERFLOW;
+
+  /* Check that errno values all differ, except possibly for
+     EAGAIN == EWOULDBLOCK and ENOTSUP == EOPNOTSUPP.  */
+  int nerrtab = sizeof errtab / sizeof *errtab;
+  qsort (errtab, nerrtab, sizeof *errtab, errtab_cmp);
+  for (int i = 1; i < nerrtab; i++)
+    if (errtab[i - 1].value == errtab[i].value)
+      {
+        fprintf (stderr, "%s == %s == %d\n",
+                 errtab[i - 1].name, errtab[i].name, errtab[i].value);
+        if (! ((strcmp ("EAGAIN", errtab[i - 1].name) == 0
+                && strcmp ("EWOULDBLOCK", errtab[i].name) == 0)
+               || (strcmp ("ENOTSUP", errtab[i - 1].name) == 0
+                   && strcmp ("EOPNOTSUPP", errtab[i].name) == 0)))
+          test_exit_status = EXIT_FAILURE;
+      }
+
+  return test_exit_status;
+}
diff --git a/tests/test-errno.c b/tests/test-errno.c
deleted file mode 100644 (file)
index b54dc70..0000000
+++ /dev/null
@@ -1,166 +0,0 @@
-/* Test of <errno.h> substitute.
-   Copyright (C) 2008-2024 Free Software Foundation, Inc.
-
-   This program is free software: you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation, either version 3 of the License, or
-   (at your option) any later version.
-
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
-
-/* Written by Bruno Haible <bruno@clisp.org>, 2008.  */
-
-#include <config.h>
-
-#include <errno.h>
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-/* Check all POSIX-defined errno values, using M (v) to check value v.  */
-#define CHECK_POSIX_ERRNOS(m) \
-  m (E2BIG) \
-  m (EACCES) \
-  m (EADDRINUSE) \
-  m (EADDRNOTAVAIL) \
-  m (EAFNOSUPPORT) \
-  m (EAGAIN) \
-  m (EALREADY) \
-  m (EBADF) \
-  m (EBADMSG) \
-  m (EBUSY) \
-  m (ECANCELED) \
-  m (ECHILD) \
-  m (ECONNABORTED) \
-  m (ECONNREFUSED) \
-  m (ECONNRESET) \
-  m (EDEADLK) \
-  m (EDESTADDRREQ) \
-  m (EDOM) \
-  m (EDQUOT) \
-  m (EEXIST) \
-  m (EFAULT) \
-  m (EFBIG) \
-  m (EHOSTUNREACH) \
-  m (EIDRM) \
-  m (EILSEQ) \
-  m (EINPROGRESS) \
-  m (EINTR) \
-  m (EINVAL) \
-  m (EIO) \
-  m (EISCONN) \
-  m (EISDIR) \
-  m (ELOOP) \
-  m (EMFILE) \
-  m (EMLINK) \
-  m (EMSGSIZE) \
-  m (EMULTIHOP) \
-  m (ENAMETOOLONG) \
-  m (ENETDOWN) \
-  m (ENETRESET) \
-  m (ENETUNREACH) \
-  m (ENFILE) \
-  m (ENOBUFS) \
-  m (ENODEV) \
-  m (ENOENT) \
-  m (ENOEXEC) \
-  m (ENOLCK) \
-  m (ENOLINK) \
-  m (ENOMEM) \
-  m (ENOMSG) \
-  m (ENOPROTOOPT) \
-  m (ENOSPC) \
-  m (ENOSYS) \
-  m (ENOTCONN) \
-  m (ENOTDIR) \
-  m (ENOTEMPTY) \
-  m (ENOTRECOVERABLE) \
-  m (ENOTSOCK) \
-  m (ENOTSUP) \
-  m (ENOTTY) \
-  m (ENXIO) \
-  m (EOPNOTSUPP) \
-  m (EOVERFLOW) \
-  m (EOWNERDEAD) \
-  m (EPERM) \
-  m (EPIPE) \
-  m (EPROTO) \
-  m (EPROTONOSUPPORT) \
-  m (EPROTOTYPE) \
-  m (ERANGE) \
-  m (EROFS) \
-  m (ESOCKTNOSUPPORT) \
-  m (ESPIPE) \
-  m (ESRCH) \
-  m (ESTALE) \
-  m (ETIMEDOUT) \
-  m (ETXTBSY) \
-  m (EWOULDBLOCK) \
-  m (EXDEV) \
-  /* end of CHECK_POSIX_ERRNOS */
-
-/* Verify that the POSIX mandated errno values can be used as integer
-   constant expressions and are all positive (except on Haiku).  */
-#if defined __HAIKU__
-# define NONZERO_INTEGER_CONSTANT_EXPRESSION(e) static_assert (0 != (e) << 0);
-CHECK_POSIX_ERRNOS (NONZERO_INTEGER_CONSTANT_EXPRESSION)
-#else
-# define POSITIVE_INTEGER_CONSTANT_EXPRESSION(e) static_assert (0 < (e) << 0);
-CHECK_POSIX_ERRNOS (POSITIVE_INTEGER_CONSTANT_EXPRESSION)
-#endif
-
-/* Verify that errno values can all be used in #if.  */
-#define USABLE_IN_IF(e) ^ e
-#if 0 CHECK_POSIX_ERRNOS (USABLE_IN_IF)
-#endif
-
-/* Check that errno values all differ, except possibly for
-   EWOULDBLOCK == EAGAIN and ENOTSUP == EOPNOTSUPP.  */
-#define ERRTAB(e) { #e, e },
-static struct nameval { char const *name; int value; }
-  errtab[] = { CHECK_POSIX_ERRNOS (ERRTAB) };
-
-static int
-errtab_cmp (void const *va, void const *vb)
-{
-  struct nameval const *a = va, *b = vb;
-
-  /* Sort by value first, then by name (to simplify later tests).
-     Subtraction cannot overflow as both are positive.  */
-  int diff = a->value - b->value;
-  return diff ? diff : strcmp (a->name, b->name);
-}
-
-int
-main ()
-{
-  int test_exit_status = EXIT_SUCCESS;
-
-  /* Verify that errno can be assigned.  */
-  errno = EOVERFLOW;
-
-  /* Check that errno values all differ, except possibly for
-     EAGAIN == EWOULDBLOCK and ENOTSUP == EOPNOTSUPP.  */
-  int nerrtab = sizeof errtab / sizeof *errtab;
-  qsort (errtab, nerrtab, sizeof *errtab, errtab_cmp);
-  for (int i = 1; i < nerrtab; i++)
-    if (errtab[i - 1].value == errtab[i].value)
-      {
-        fprintf (stderr, "%s == %s == %d\n",
-                 errtab[i - 1].name, errtab[i].name, errtab[i].value);
-        if (! ((strcmp ("EAGAIN", errtab[i - 1].name) == 0
-                && strcmp ("EWOULDBLOCK", errtab[i].name) == 0)
-               || (strcmp ("ENOTSUP", errtab[i - 1].name) == 0
-                   && strcmp ("EOPNOTSUPP", errtab[i].name) == 0)))
-          test_exit_status = EXIT_FAILURE;
-      }
-
-  return test_exit_status;
-}