doc/posix-headers

Branch


Log

Author Commit Date CI Message
Bruno Haible a9a1a8cd 2025-09-16T21:35:12 inttypes-h tests: Avoid compilation error on mingw. Reported by Michele Locati in <https://lists.gnu.org/archive/html/bug-gettext/2024-09/msg00015.html>. * tests/test-inttypes-h.c (l): On mingw without __USE_MINGW_ANSI_STDIO, don't test for the presence of SCN*8, SCN*LEAST8, SCN*FAST8}. * doc/posix-headers/inttypes.texi: Mention the mingw bug.
Bruno Haible 06b4b215 2025-09-10T23:22:50 doc: Remove support for IRIX. * doc/gnulib.texi (Header files): Update. * doc/posix-functions/sig2str.texi: Don't mention IRIX problem. * doc/posix-functions/str2sig.texi: Likewise. * doc/posix-functions/strerror.texi: Likewise. * doc/posix-headers/sys_stat.texi: Don't mention IRIX. * doc/posix-headers/sys_types.texi: Likewise.
Collin Funk d5dcc6c9 2025-09-01T14:26:59 Fix the previous two commits. The issue occurs on alpha not hppa. Also add the glibc bug report link in comments.
Collin Funk 282ea164 2025-09-01T14:01:36 sys_types-h tests: Fix a static_assert failure on glibc/hppa. * tests/test-sys_types-h.c [__GLIBC__ && __hppa]: Don't check that blksize_t and blkcnt_t are signed. * doc/posix-headers/sys_types.texi: Mention that these types are unsigned on this platform.
Collin Funk 1087a157 2025-09-01T14:00:00 sys_stat-h tests: Fix a static_assert failure on glibc/hppa. Reported by Santiago Vila <sanvila@debian.org> in: <https://lists.gnu.org/archive/html/bug-m4/2025-09/msg00000.html>. * tests/test-sys_stat-h.c [__GLIBC__ && __hppa]: Don't check that blksize_t and blkcnt_t are signed. * doc/posix-headers/sys_stat.texi: Mention that these types are unsigned on this platform.
Paul Eggert 8ba0c4da 2025-09-01T13:04:21 tests: adapt AT_FDCWD fix for more tests * tests/test-areadlinkat-with-size.c (main): * tests/test-areadlinkat.c (main): * tests/test-faccessat.c (main): * tests/test-fchmodat.c (main): * tests/test-fchownat.c (main): * tests/test-fstatat.c (main): * tests/test-linkat.c (main): * tests/test-mkdirat.c (main): * tests/test-mkfifoat.c (main): * tests/test-openat-safer.c (main): * tests/test-readlinkat.c (main): * tests/test-renameat.c (main): * tests/test-renameatu.c (main): * tests/test-symlinkat.c (main): * tests/test-unlinkat.c (main): * tests/test-utimensat.c (main): Work even if AT_FDCWD == -1.
Paul Eggert e30c1556 2025-09-01T11:25:00 openat2-tests: fix AT_FDCWD portability * tests/test-openat.c (main): Work even if AT_FDCWD == -1.
Bruno Haible 9d429ac1 2025-08-19T19:29:03 doc: Update for glibc 2.42. * doc/glibc-functions/pthread_gettid_np.texi: New file. * doc/gnulib.texi (Glibc pthread.h): Include it. * doc/posix-headers/*.texi: Update. * doc/posix-functions/*.texi: Likewise.
Paul Eggert 2410984b 2025-08-02T10:25:13 Shorten GCC bug URLs
Paul Eggert 98704937 2025-08-02T10:21:36 Shorten glibc bug URLs
Paul Eggert 1ce8849f 2025-07-28T17:50:30 float-h: change IBM long double to match GCC 15 This is in response to the GCC developers; see <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120993>. * lib/float.c (gl_LDBL_MAX): Remove the implementation for PowerPC, as it should no longer be needed. * lib/float.in.h (LDBL_MIN_EXP, LDBL_MIN_10_EXP, LDBL_MIN) (LDBL_MAX, LDBL_EPSILON, LDBL_NORM_MAX): On PowerPC with IBM long double, simplify by using the GCC 15 values unconditionally. These are the correct values according to the GCC developers and there seems little point to disagreeing with current GCC about obsolescent arithmetic that is so problematic in practice. * tests/test-float-h.c (test_long_double): Relax tests of LDBL_MAX when !LDBL_IS_IEC_60559, as the tests would now fail on PowerPC and they were not portable in that case anyway.
Paul Eggert 6164b4cb 2025-07-08T17:34:25 float-h: work around GCC bug 120993 Also, fix a too-low LDBL_MAX on this platform, a problem that contributed to LDBL_NORM_MAX test failures with C23 PowerPC GCC with ibmlongdouble. * lib/float.c (gl_LDBL_MAX): On PowerPC with ibmlongdouble, the correct value is 2**1024 - 2**918, not 2**1024 - 2**971. Also, use C99 hex double notation for the divisor, as it’s clearer and should work nowadays. * lib/float.in.h: Simplify by not worring whether it’s AIX or GNU/Linux when redefining LDBL_* macros on PowerPC GCC with ibmlongdouble, as the problem seems to be universal then. (LDBL_NORM_MAX): On PowerPC GCC with ibmlongdouble, define to be LDBL_MAX, so that it’s 2**1024 - 2**918, doubling GCC’s value if supplied. * modules/float-h-tests (Depends-on): Remove floorl, ldexpl. Add truncl. (test_float_h_LDADD): Likewise for libraries. * tests/test-float-h.c (test_isfinitel): New static function, so that we need not rely on isfinitel. (normalize_long_double): Work even if X is negative or not finite. Do not rely on frexpl or ldexpl. Use truncl instead of floorl so that the negative results are consistent with positive. Defend against fritzy PowerPC long double arithmetic.
Bruno Haible be4e50f3 2025-05-27T11:33:00 doc: Update platforms list re *_CLOFORK. * doc/posix-headers/fcntl.texi: Update platforms list.
Bruno Haible e3b56580 2025-05-27T11:24:45 fcntl-h: Update platforms list re O_DIRECTORY. * doc/posix-headers/fcntl.texi: Update platforms list. * doc/posix-functions/open.texi: Likewise. * doc/posix-functions/openat.texi: Likewise. * m4/fcntl-o.m4 (gl_FCNTL_O_FLAGS): Guess that O_DIRECTORY works for Mac OS X >= 10.5. Use prefix 'gl_', not 'ac_', for our variables.
Bruno Haible 004d7434 2025-05-27T10:29:31 doc: Style module name. * doc/posix-headers/fcntl.texi: Style module name with @code.
Paul Eggert 8a7304a5 2025-05-26T19:24:27 fcntl-h: document O_CLOFORK etc
Paul Eggert bc1bf2fc 2025-05-26T18:30:18 fcntl-h: support O_DIRECTORY It is relatively easy to support O_DIRECTORY on platforms that lack it, so let’s do that instead of having to work around bugs like <https://bugs.gnu.org/78509#95>. * lib/fcntl.in.h (O_DIRECTORY): Default to 0x20000000 not 0, since Gnulib now supports it. * lib/open.c, lib/openat.c (OPEN_TRAILING_SLASH_BUG): Default to false, so that this can be used outside #if. (open, openat): Add support for O_DIRECTORY on platforms that lack it. If fstat fails, fail instead of assuming the file is a directory, since failure can occur due to EOVERFLOW, etc. Rearrange code to minimize differences between open.c and openat.c. * m4/fcntl-o.m4 (gl_FCNTL_O_FLAGS): Also test O_DIRECTORY, and define HAVE_WORKING_O_DIRECTORY if needed. Prefer AS_CASE for Emacs’s benefit. * m4/open.m4 (gl_FUNC_OPEN): * m4/openat.m4 (gl_FUNC_OPENAT): Require gl_FCNTL_O_FLAGS and replace the function if O_DIRECTORY does not work. * tests/test-open.h: Test O_DIRECTORY.
Paul Eggert 4ccca948 2025-05-26T15:41:51 Document HAVE_WORKING_O_NO{ATIME,FOLLOW}
Paul Eggert dc79f8d2 2025-04-25T16:57:48 stddef-h: port better to future GCC 13.4, 14.3 * m4/stddef_h.m4 (gl_STDDEF_H): The idempotency bug should be fixed in GCC 13.4 and 14.3, if and when they’re published.
Paul Eggert 8c6c35c7 2025-04-17T20:26:23 Update some POSIX.1-2004 citations
Paul Eggert 6ff0345d 2025-04-14T14:43:02 regex: don’t check RE_SYNTAX_EMACS * m4/regex.m4 (gl_REGEX): Do not check RE_SYNTAX_EMACS’s value. Suggested by Bruno Haible in: https://lists.gnu.org/r/bug-gnulib/2025-04/msg00098.html
Bruno Haible 6e6eb216 2025-02-21T19:26:23 langinfo-h, nl_langinfo: Support abbreviated alternative month names. * lib/langinfo.in.h (ABALTMON_1...ABALTMON_12): New macros. * m4/langinfo_h.m4 (gl_LANGINFO_H): Define HAVE_LANGINFO_ABALTMON. * modules/langinfo-h (Makefile.am): Substitute HAVE_LANGINFO_ABALTMON. * tests/test-langinfo-h.c (items): Add ABALTMON_1 to ABALTMON_12. * lib/nl_langinfo.c (rpl_nl_langinfo): Treat ABALTMON_i like ABMON_i. * tests/test-nl_langinfo.c (main): Test ABALTMON_*. * doc/posix-headers/langinfo.texi: Document support of ABALTMON_*. * doc/posix-functions/nl_langinfo.texi: Likewise.
Collin Funk 5662b5ee 2025-02-16T13:58:35 doc: Adjust platforms that define O_CLOEXEC in unistd.h. Suggested by Bruno Haible. * posix-headers/unistd.texi: Mention that macOS 12 and AIX 7.3 do not define O_CLOEXEC in this header. Remove redundant MSVC.
Collin Funk 10331a8b 2025-02-16T12:23:57 unistd-h: Make sure O_CLOEXEC is defined. * modules/unistd-h (Depends-on): Add fcntl-h. * lib/unistd.in.h: Include fcntl.h if inclusion of unistd.h does not define O_CLOEXEC. * doc/posix-headers/unistd.texi: Document the platforms that do not define O_CLOEXEC in unistd.h.
Bruno Haible 6790a26c 2025-02-13T22:16:13 locale-h: Ensure locale_t type. * lib/locale.in.h (gl_log2_lc_mask, gl_log2_lcmask_to_index, gl_index_to_log2_lcmask): New macros. (LC_COLLATE_MASK, LC_CTYPE_MASK, LC_MESSAGES_MASK, LC_MONETARY_MASK, LC_NUMERIC_MASK, LC_TIME_MASK, LC_ALL_MASK): New macros. (struct gl_locale_category_t, struct gl_locale_t, locale_t): New types. (LC_GLOBAL_LOCALE, GNULIB_defined_locale_t): New macros. * m4/locale_h.m4 (gl_LOCALE_H): Set and define HAVE_WINDOWS_LOCALE_T. (gl_LOCALE_T): Prepare for substituting HAVE_LOCALE_T. * modules/locale-h (Depends-on): Add bool. (Makefile.am): Substitute HAVE_LOCALE_T, HAVE_WINDOWS_LOCALE_T. * tests/test-locale-h.c: Check that the LC_*_MASK macros and locale_t are defined. * doc/posix-headers/locale.texi: Document the change.
Bruno Haible 3d0b3c0a 2025-02-13T21:00:06 Rename module ctype to ctype-h. * modules/ctype-h: Renamed from modules/ctype. * modules/ctype-h-tests: Renamed from modules/ctype-tests. * modules/ctype-h-c++-tests: Renamed from modules/ctype-c++-tests. * tests/test-ctype-h.c: Renamed from tests/test-ctype.c. * tests/test-ctype-h-c++.cc: Renamed from tests/test-ctype-c++.cc. * tests/test-ctype-h-c++2.cc: Renamed from tests/test-ctype-c++2.cc. * doc/posix-headers/ctype.texi: Update. * modules/* (Depends-on): Update. * modules/ctype: New file.
Bruno Haible 677398c9 2025-02-12T18:43:59 netdb-h: Ensure AI_NUMERICHOST and AI_NUMERICSERV are defined. * lib/netdb.in.h (AI_NUMERICHOST): New macro. * tests/test-netdb-h.c: Verify that AI_NUMERICHOST and AI_NUMERICSERV are defined. * doc/posix-headers/netdb.texi: Mention the platform support for AI_NUMERICHOST and AI_NUMERICSERV.
Paul Eggert fbaddca3 2025-02-08T14:31:04 doc: some updates for glibc 2.41
Paul Eggert 9829f0a9 2025-02-05T13:24:41 errno-h: document Haiku errors can’t be -1 * doc/posix-headers/errno.texi: Document Haiku errno range.
Bruno Haible 76479d8c 2025-01-24T18:34:04 sys_socket-h tests: Avoid compilation error on Solaris 11.4. * doc/posix-headers/sys_socket.texi: Update. * tests/test-sys_socket-h.c (main): Don't assume that all platforms that have SOCK_CLOFORK also have MSG_CMSG_CLOFORK.
Bruno Haible b4ead007 2025-01-17T22:51:55 sys_stat-h: Ensure blksize_t and blkcnt_t are defined. * tests/test-sys_stat-h.c: Check that blksize_t and blkcnt_t are defined. Include intprops.h. Check the signedness of various types. * modules/sys_stat-h-tests (Depends-on): Add intprops. * doc/posix-headers/sys_stat.texi: Mention the issues with blksize_t and blkcnt_t.
Bruno Haible 4af8d6a0 2025-01-17T22:32:58 sys_types-h: Ensure blksize_t and blkcnt_t are defined. * lib/sys_types.in.h (blksize_t, blkcnt_t): New definitions. * m4/sys_types_h.m4 (gl_SYS_TYPES_H): Set HAVE_BLKSIZE_T and HAVE_BLKCNT_T. * modules/sys_types-h (Makefile.am): Substitute HAVE_BLKSIZE_T and HAVE_BLKCNT_T. * tests/test-sys_types-h.c: Check that blksize_t and blkcnt_t are defined. Include intprops.h. Check the signedness of various types. * modules/sys_types-h-tests (Depends-on): Add assert-h, intprops. * doc/posix-headers/sys_types.texi: Mention the issues with blksize_t and blkcnt_t.
Bruno Haible 54636e00 2025-01-13T10:04:04 stdlib-h: Define WCOREDUMP, as required by POSIX:2024. * lib/stdlib.in.h: Include <sys/wait.h> also when WCOREDUMP is not defined. * doc/posix-headers/stdlib.texi: Document the glibc bug.
Bruno Haible 08739020 2025-01-11T15:45:30 sys_un-h: Document the glibc bug. Reported by Miro Palmu <email@miropalmu.cc> in <https://lists.gnu.org/archive/html/bug-gnulib/2025-01/msg00077.html>. * doc/posix-headers/sys_un.texi: Mention the glibc bug.
Bruno Haible d3a9a1f7 2025-01-10T23:52:54 sys_un-h: Ensure that <sys/un.h> defines sa_family_t. * lib/sys_un.in.h: Include <sys/socket.h> or define sa_family_t explicitly. * m4/sys_socket_h.m4 (gl_PREREQ_SYS_SA_FAMILY): New macro, extracted from gl_SYS_SOCKET_H. (gl_SYS_SOCKET_H): Invoke it. (gl_SYS_SOCKET_H_DEFAULTS): Don't initialize HAVE_SA_FAMILY_T. * m4/sys_un_h.m4 (gl_SYS_UN_H): Invoke gl_PREREQ_SYS_SA_FAMILY. Test whether <sys/un.h> defines sa_family_t. If not, set GL_GENERATE_SYS_UN_H to true. * modules/sys_un-h (Makefile.am): Substitute HAVE_SA_FAMILY_T, HAVE_SA_FAMILY_T_IN_SYS_UN_H. * tests/test-sys_un-h.c: Include intprops.h. Verify that sa_family_t is defined and an unsigned integer type. * modules/sys_un-h-tests (Depends-on): Add intprops. * doc/posix-headers/sys_un.texi: Mention the problem with sa_family_t.
Bruno Haible 822b521d 2025-01-10T21:29:56 sys_wait-h: Document WCOREDUMP fix. * doc/posix-headers/sys_wait.texi: Mention the portability problem with WCOREDUMP.
Bruno Haible 7abc9663 2025-01-10T12:41:35 doc: Fix syntax errors (regression yesterday). * doc/posix-headers/sys_socket.texi: Fix syntax errors.
Bruno Haible fc65f7bd 2025-01-09T10:12:00 sys_socket-h: Update for POSIX:2024. * doc/posix-headers/sys_socket.texi: Mention a variety of portability problems. * tests/test-sys_socket-h.c: Check for struct sockaddr, struct sockaddr_storage, struct linger, SOL_SOCKET, SOMAXCONN. Include macros.h. (main): Check the socket types, socket options, and some MSG* constants. * modules/sys_socket-h-tests (Files): Add tests/macros.h.
Bruno Haible 12bfeec6 2025-01-08T21:51:43 doc: Add a comment. * doc/posix-headers/errno.texi: Reference a Haiku bug.
Bruno Haible 613e9b38 2025-01-08T10:32:56 doc: Document the previous change. * doc/posix-headers/fcntl.texi: Document O_SEARCH musl workaround.
Bruno Haible 6ebad7ab 2024-12-28T06:08:15 Rename module stdbool-h to bool. Reported by Paul Eggert in <https://lists.gnu.org/archive/html/bug-gnulib/2024-12/msg00193.html>. * modules/bool: Renamed from modules/stdbool-h. * modules/bool-tests: Renamed from modules/stdbool-h-tests. * modules/bool-c++-tests: Renamed from modules/stdbool-h-c++-tests. * tests/test-bool.c: Renamed from tests/test-stdbool-h.c. * tests/test-bool-c++.cc: Renamed from tests/test-stdbool-h-c++.cc. * tests/test-bool-c++2.cc: Renamed from tests/test-stdbool-h-c++2.cc. * modules/stdbool-h-c99-tests: Update. * modules/stdbool-h-c99-c++-tests: Update. * tests/test-stdbool-h-c99.c: Update. * tests/test-stdbool-h-c99-c++.cc: Update. * doc/posix-headers/stdbool.texi: Update. * doc/gnulib-readme.texi: Update. * doc/gnulib.texi: Update. * modules/* (Depends-on): Update. * modules/stdbool: Update.
Bruno Haible fae94988 2024-12-27T23:43:27 Rename module wchar to wchar-h. * modules/wchar-h: Renamed from modules/wchar. * modules/wchar-h-tests: Renamed from modules/wchar-tests. * modules/wchar-h-c++-tests: Renamed from modules/wchar-c++-tests. * tests/test-wchar-h.c: Renamed from tests/test-wchar.c. * tests/test-wchar-h-c++.cc: Renamed from tests/test-wchar-c++.cc. * tests/test-wchar-h-c++2.cc: Renamed from tests/test-wchar-c++2.cc. * tests/test-wchar-h-c++3.cc: Renamed from tests/test-wchar-c++3.cc. * doc/posix-headers/wchar.texi: Update. * modules/* (Depends-on): Update. * modules/wchar: New file.
Bruno Haible 2a99a564 2024-12-27T23:41:53 Rename module unistd to unistd-h. * modules/unistd-h: Renamed from modules/unistd. * modules/unistd-h-tests: Renamed from modules/unistd-tests. * modules/unistd-h-c++-tests: Renamed from modules/unistd-c++-tests. * tests/test-unistd-h.c: Renamed from tests/test-unistd.c. * tests/test-unistd-h-c++.cc: Renamed from tests/test-unistd-c++.cc. * doc/posix-headers/unistd.texi: Update. * doc/posix-functions/_exit.texi: Update. * modules/* (Depends-on): Update. * modules/unistd: New file.
Bruno Haible 29fe4ac2 2024-12-27T23:41:52 Rename module uchar-c23 to uchar-h-c23. * modules/uchar-h-c23: Renamed from modules/uchar-c23. * lib/uchar.in.h: Update. * doc/posix-headers/uchar.texi: Update. * doc/posix-functions/mbrtoc32.texi: Update. * doc/strings.texi: Update. * modules/* (Depends-on): Update. * modules/uchar-c23: New file.
Bruno Haible 43128176 2024-12-27T23:41:50 Rename module uchar to uchar-h. * modules/uchar-h: Renamed from modules/uchar. * modules/uchar-h-tests: Renamed from modules/uchar-tests. * modules/uchar-h-c++-tests: Renamed from modules/uchar-c++-tests. * tests/test-uchar-h.c: Renamed from tests/test-uchar.c. * tests/test-uchar-h-c++.cc: Renamed from tests/test-uchar-c++.cc. * tests/test-uchar-h-c++2.cc: Renamed from tests/test-uchar-c++2.cc. * doc/posix-headers/uchar.texi: Update. * modules/* (Depends-on): Update. * modules/uchar: New file.
Bruno Haible c9c55626 2024-12-27T23:41:47 Rename module termios to termios-h. * modules/termios-h: Renamed from modules/termios. * modules/termios-h-tests: Renamed from modules/termios-tests. * modules/termios-h-c++-tests: Renamed from modules/termios-c++-tests. * tests/test-termios-h.c: Renamed from tests/test-termios.c. * tests/test-termios-h-c++.cc: Renamed from tests/test-termios-c++.cc. * doc/posix-headers/termios.texi: Update. * modules/* (Depends-on): Update. * modules/termios: New file.
Bruno Haible 89d27c59 2024-12-27T23:41:45 Rename module sys_wait to sys_wait-h. * modules/sys_wait-h: Renamed from modules/sys_wait. * modules/sys_wait-h-tests: Renamed from modules/sys_wait-tests. * modules/sys_wait-h-c++-tests: Renamed from modules/sys_wait-c++-tests. * tests/test-sys_wait-h.h: Renamed from tests/test-sys_wait.h. * tests/test-sys_wait-h.c: Renamed from tests/test-sys_wait.c. * tests/test-stdlib-h.c: Update. * tests/test-sys_wait-h-c++.cc: Renamed from tests/test-sys_wait-c++.cc. * doc/posix-headers/sys_wait.texi: Update. * modules/* (Depends-on): Update. * modules/sys_wait: New file.
Bruno Haible d36d3f0b 2024-12-27T23:41:43 Rename module sys_utsname to sys_utsname-h. * modules/sys_utsname-h: Renamed from modules/sys_utsname. * modules/sys_utsname-h-tests: Renamed from modules/sys_utsname-tests. * modules/sys_utsname-h-c++-tests: Renamed from modules/sys_utsname-c++-tests. * tests/test-sys_utsname-h.c: Renamed from tests/test-sys_utsname.c. * tests/test-sys_utsname-h-c++.cc: Renamed from tests/test-sys_utsname-c++.cc. * doc/posix-headers/sys_utsname.texi: Update. * modules/* (Depends-on): Update. * modules/sys_utsname: New file.
Bruno Haible 2b43bd90 2024-12-27T23:41:42 Rename module sys_un to sys_un-h. * modules/sys_un-h: Renamed from modules/sys_un. * modules/sys_un-h-tests: Renamed from modules/sys_un-tests. * modules/sys_un-h-c++-tests: Renamed from modules/sys_un-c++-tests. * tests/test-sys_un-h.c: Renamed from tests/test-sys_un.c. * tests/test-sys_un-h-c++.cc: Renamed from tests/test-sys_un-c++.cc. * doc/posix-headers/sys_un.texi: Update. * modules/sys_un: New file.
Bruno Haible f00725c3 2024-12-27T23:41:41 Rename module sys_uio to sys_uio-h. * modules/sys_uio-h: Renamed from modules/sys_uio. * modules/sys_uio-h-tests: Renamed from modules/sys_uio-tests. * modules/sys_uio-h-c++-tests: Renamed from modules/sys_uio-c++-tests. * tests/test-sys_uio-h.c: Renamed from tests/test-sys_uio.c. * tests/test-sys_uio-h-c++.cc: Renamed from tests/test-sys_uio-c++.cc. * doc/posix-headers/sys_uio.texi: Update. * modules/* (Depends-on): Update. * modules/sys_uio: New file.
Bruno Haible c784118f 2024-12-27T23:41:40 Rename module sys_types to sys_types-h. * modules/sys_types-h: Renamed from modules/sys_types. * modules/sys_types-h-tests: Renamed from modules/sys_types-tests. * modules/sys_types-h-c++-tests: Renamed from modules/sys_types-c++-tests. * tests/test-sys_types-h.c: Renamed from tests/test-sys_types.c. * tests/test-sys_types-h-c++.cc: Renamed from tests/test-sys_types-c++.cc. * doc/posix-headers/sys_types.texi: Update. * modules/* (Depends-on): Update. * modules/sys_types: New file.
Bruno Haible 73ea612a 2024-12-27T23:41:38 Rename module sys_times to sys_times-h. * modules/sys_times-h: Renamed from modules/sys_times. * modules/sys_times-h-tests: Renamed from modules/sys_times-tests. * modules/sys_times-h-c++-tests: Renamed from modules/sys_times-c++-tests. * tests/test-sys_times-h.c: Renamed from tests/test-sys_times.c. * tests/test-sys_times-h-c++.cc: Renamed from tests/test-sys_times-c++.cc. * doc/posix-headers/sys_times.texi: Update. * modules/* (Depends-on): Update. * modules/sys_times: New file.
Bruno Haible 074fcd0a 2024-12-27T23:41:36 Rename module sys_time to sys_time-h. * modules/sys_time-h: Renamed from modules/sys_time. * modules/sys_time-h-tests: Renamed from modules/sys_time-tests. * modules/sys_time-h-c++-tests: Renamed from modules/sys_time-c++-tests. * tests/test-sys_time-h.c: Renamed from tests/test-sys_time.c. * tests/test-sys_time-h-c++.cc: Renamed from tests/test-sys_time-c++.cc. * doc/posix-headers/sys_time.texi: Update. * modules/* (Depends-on): Update. * modules/sys_time: New file.
Bruno Haible 984cbda2 2024-12-27T23:40:10 Rename module sys_stat to sys_stat-h. * modules/sys_stat-h: Renamed from modules/sys_stat. * modules/sys_stat-h-tests: Renamed from modules/sys_stat-tests. * modules/sys_stat-h-c++-tests: Renamed from modules/sys_stat-c++-tests. * tests/test-sys_stat-h.c: Renamed from tests/test-sys_stat.c. * tests/test-sys_stat-h-c++.cc: Renamed from tests/test-sys_stat-c++.cc. * doc/posix-headers/sys_stat.texi: Update. * doc/posix-functions/mkdir.texi: Update. * modules/* (Depends-on): Update. * modules/sys_stat: New file.
Bruno Haible 878a9617 2024-12-27T23:39:59 Rename module sys_socket to sys_socket-h. * modules/sys_socket-h: Renamed from modules/sys_socket. * modules/sys_socket-h-tests: Renamed from modules/sys_socket-tests. * modules/sys_socket-h-c++-tests: Renamed from modules/sys_socket-c++-tests. * tests/test-sys_socket-h.c: Renamed from tests/test-sys_socket.c. * tests/test-sys_socket-h-c++.cc: Renamed from tests/test-sys_socket-c++.cc. * doc/posix-headers/sys_socket.texi: Update. * modules/* (Depends-on): Update. * modules/sys_socket: New file.
Bruno Haible 0d11fe01 2024-12-27T23:39:57 Rename module sys_shm to sys_shm-h. * modules/sys_shm-h: Renamed from modules/sys_shm. * doc/posix-headers/sys_shm.texi: Update. * modules/sys_shm: New file.
Bruno Haible 8b8995d4 2024-12-27T23:39:56 Rename module sys_sem to sys_sem-h. * modules/sys_sem-h: Renamed from modules/sys_sem. * doc/posix-headers/sys_sem.texi: Update. * modules/sys_sem: New file.
Bruno Haible 9ae22bd5 2024-12-27T23:39:55 Rename module sys_select to sys_select-h. * modules/sys_select-h: Renamed from modules/sys_select. * modules/sys_select-h-tests: Renamed from modules/sys_select-tests. * modules/sys_select-h-c++-tests: Renamed from modules/sys_select-c++-tests. * tests/test-sys_select-h.c: Renamed from tests/test-sys_select.c. * tests/test-sys_select-h-c++.cc: Renamed from tests/test-sys_select-c++.cc. * doc/posix-headers/sys_select.texi: Update. * modules/* (Depends-on): Update. * modules/sys_select: New file.
Bruno Haible 9032e5a7 2024-12-27T23:39:53 Rename module sys_resource to sys_resource-h. * modules/sys_resource-h: Renamed from modules/sys_resource. * modules/sys_resource-h-tests: Renamed from modules/sys_resource-tests. * modules/sys_resource-h-c++-tests: Renamed from modules/sys_resource-c++-tests. * tests/test-sys_resource-h.c: Renamed from tests/test-sys_resource.c. * tests/test-sys_resource-h-c++.cc: Renamed from tests/test-sys_resource-c++.cc. * doc/posix-headers/sys_resource.texi: Update. * modules/* (Depends-on): Update. * modules/sys_resource: New file.
Bruno Haible c33575fa 2024-12-27T23:39:51 Rename module sys_msg to sys_msg-h. * modules/sys_msg-h: Renamed from modules/sys_msg. * doc/posix-headers/sys_msg.texi: Update. * modules/sys_msg: New file.
Bruno Haible 93b331de 2024-12-27T23:39:42 Rename module strings to strings-h. * modules/strings-h: Renamed from modules/strings. * modules/strings-h-tests: Renamed from modules/strings-tests. * modules/strings-h-c++-tests: Renamed from modules/strings-c++-tests. * tests/test-strings-h.c: Renamed from tests/test-strings.c. * tests/test-strings-h-c++.cc: Renamed from tests/test-strings-c++.cc. * doc/posix-headers/strings.texi: Update. * modules/* (Depends-on): Update. * modules/strings: New file.
Bruno Haible d93e96eb 2024-12-27T23:37:59 Rename module string to string-h. * modules/string-h: Renamed from modules/string. * modules/string-h-tests: Renamed from modules/string-tests. * modules/string-h-c++-tests: Renamed from modules/string-c++-tests. * tests/test-string-h.c: Renamed from tests/test-string.c. * tests/test-string-h-c++.cc: Renamed from tests/test-string-c++.cc. * tests/test-string-h-c++2.cc: Renamed from tests/test-string-c++2.cc. * doc/posix-headers/string.texi: Update. * doc/posix-functions/strcat.texi: Update. * doc/posix-functions/strcpy.texi: Update. * doc/posix-functions/strncpy.texi: Update. * modules/* (Depends-on): Update. * modules/string: New file.
Bruno Haible 4da657e5 2024-12-27T23:29:02 Rename module stdnoreturn to stdnoreturn-h. * modules/stdnoreturn-h: Renamed from modules/stdnoreturn. * modules/stdnoreturn-h-tests: Renamed from modules/stdnoreturn-tests. * tests/test-stdnoreturn-h.c: Renamed from tests/test-stdnoreturn.c. * doc/posix-headers/stdnoreturn.texi: Update. * doc/noreturn.texi: Update. * modules/stdnoreturn: New file.
Bruno Haible 60e90236 2024-12-27T23:28:45 Rename module stdlib to stdlib-h. * modules/stdlib-h: Renamed from modules/stdlib. * modules/stdlib-h-tests: Renamed from modules/stdlib-tests. * modules/stdlib-h-c++-tests: Renamed from modules/stdlib-c++-tests. * tests/test-stdlib-h.c: Renamed from tests/test-stdlib.c. * tests/test-stdlib-h-c++.cc: Renamed from tests/test-stdlib-c++.cc. * tests/test-stdlib-h-c++2.cc: Renamed from tests/test-stdlib-c++2.cc. * doc/posix-headers/stdlib.texi: Update. * doc/posix-functions/exit.texi: Update. * modules/* (Depends-on): Update. * modules/stdlib: New file.
Bruno Haible a9525771 2024-12-27T23:24:51 Rename module stdio to stdio-h. * modules/stdio-h: Renamed from modules/stdio. * modules/stdio-h-tests: Renamed from modules/stdio-tests. * modules/stdio-h-c++-tests: Renamed from modules/stdio-c++-tests. * tests/test-stdio-h.c: Renamed from tests/test-stdio.c. * tests/test-stdio-h-c++.cc: Renamed from tests/test-stdio-c++.cc. * tests/test-stdio-h-c++2.cc: Renamed from tests/test-stdio-c++2.cc. * doc/posix-headers/stdio.texi: Update. * doc/posix-functions/fgetc.texi: Update. * doc/posix-functions/fgets.texi: Update. * doc/posix-functions/fprintf.texi: Update. * doc/posix-functions/fputc.texi: Update. * doc/posix-functions/fputs.texi: Update. * doc/posix-functions/fread.texi: Update. * doc/posix-functions/fscanf.texi: Update. * doc/posix-functions/fwrite.texi: Update. * doc/posix-functions/getc.texi: Update. * doc/posix-functions/getchar.texi: Update. * doc/posix-functions/printf.texi: Update. * doc/posix-functions/putc.texi: Update. * doc/posix-functions/putchar.texi: Update. * doc/posix-functions/puts.texi: Update. * doc/posix-functions/read.texi: Update. * doc/posix-functions/scanf.texi: Update. * doc/posix-functions/vfprintf.texi: Update. * doc/posix-functions/vprintf.texi: Update. * doc/posix-functions/write.texi: Update. * modules/* (Depends-on): Update. * modules/stdio: New file.
Bruno Haible 14507472 2024-12-27T23:23:13 Rename module stdint to stdint-h. * modules/stdint-h: Renamed from modules/stdint. * modules/stdint-h-tests: Renamed from modules/stdint-tests. * modules/stdint-h-c++-tests: Renamed from modules/stdint-c++-tests. * tests/test-stdint-h.c: Renamed from tests/test-stdint.c. * tests/test-stdint-h-c++.cc: Renamed from tests/test-stdint-c++.cc. * tests/test-stdint-h-c++2.cc: Renamed from tests/test-stdint-c++2.cc. * doc/posix-headers/stdint.texi: Update. * doc/gnulib-readme.texi: Update. * doc/gnulib.texi: Update. * modules/* (Depends-on): Update. * modules/stdint: New file.
Bruno Haible 72b89433 2024-12-27T23:23:10 Rename module stddef to stddef-h. * modules/stddef-h: Renamed from modules/stddef. * modules/stddef-h-tests: Renamed from modules/stddef-tests. * modules/stddef-h-c++-tests: Renamed from modules/stddef-c++-tests. * tests/test-stddef-h.c: Renamed from tests/test-stddef.c. * tests/test-stddef-h-c++.cc: Renamed from tests/test-stddef-c++.cc. * tests/test-stddef-h-c++2.cc: Renamed from tests/test-stddef-c++2.cc. * doc/posix-headers/stddef.texi: Update. * modules/* (Depends-on): Update. * modules/stddef: New file.
Bruno Haible 11699730 2024-12-27T23:21:40 Rename module stdckdint to stdckdint-h. * modules/stdckdint-h: Renamed from modules/stdckdint. * modules/stdckdint-h-tests: Renamed from modules/stdckdint-tests. * modules/stdckdint-h-c++-tests: Renamed from modules/stdckdint-c++-tests. * tests/test-stdckdint-h.c: Renamed from tests/test-stdckdint.c. * tests/test-stdckdint-h-c++.cc: Renamed from tests/test-stdckdint-c++.cc. * doc/posix-headers/stdckdint.texi: Update. * doc/intprops.texi: Update. * modules/* (Depends-on): Update. * modules/stdckdint: New file.
Bruno Haible 3c501171 2024-12-27T23:18:14 Rename module stdbool to stdbool-h. * modules/stdbool-h: Renamed from modules/stdbool. * modules/stdbool-h-tests: Renamed from modules/stdbool-tests. * modules/stdbool-h-c++-tests: Renamed from modules/stdbool-c++-tests. * tests/test-stdbool-h.c: Renamed from tests/test-stdbool.c. * tests/test-stdbool-h-c++.cc: Renamed from tests/test-stdbool-c++.cc. * tests/test-stdbool-h-c++2.cc: Renamed from tests/test-stdbool-c++2.cc. * tests/test-stdbool-h-c99.c: Update. * tests/test-stdbool-h-c99-c++.cc: Update. * doc/posix-headers/stdbool.texi: Update. * doc/gnulib-readme.texi: Update. * doc/gnulib.texi: Update. * modules/* (Depends-on): Update. * modules/stdbool: New file.
Bruno Haible 8f53fd50 2024-12-27T23:18:10 Rename module stdbool-c99 to stdbool-h-c99. * modules/stdbool-h-c99: Renamed from modules/stdbool-c99. * modules/stdbool-h-c99-tests: Renamed from modules/stdbool-c99-tests. * modules/stdbool-h-c99-c++-tests: Renamed from modules/stdbool-c99-c++-tests. * tests/test-stdbool-h-c99.c: Renamed from tests/test-stdbool-c99.c. * tests/test-stdbool-h-c99-c++.cc: Renamed from tests/test-stdbool-c99-c++.cc. * doc/posix-headers/stdbool.texi: Update. * modules/* (Depends-on): Update. * modules/stdbool-c99: New file.
Bruno Haible dc2b5a62 2024-12-27T23:18:08 Rename module stdarg to stdarg-h. * modules/stdarg-h: Renamed from modules/stdarg. * modules/stdarg-h-tests: Renamed from modules/stdarg-tests. * modules/stdarg-h-c++-tests: Renamed from modules/stdarg-c++-tests. * tests/test-stdarg-h-c++.cc: Renamed from tests/test-stdarg-c++.cc. * tests/test-stdarg-h-c++2.cc: Renamed from tests/test-stdarg-c++2.cc. * doc/posix-headers/stdarg.texi: Update. * doc/posix-functions/va_copy.texi: Update. * modules/* (Depends-on): Update. * modules/stdarg: New file.
Bruno Haible aae07f60 2024-12-27T23:16:18 Rename module stdalign to stdalign-h. * modules/stdalign-h: Renamed from modules/stdalign. * modules/stdalign-h-tests: Renamed from modules/stdalign-tests. * modules/stdalign-h-c++-tests: Renamed from modules/stdalign-c++-tests. * tests/test-stdalign-h-c++.cc: Renamed from tests/test-stdalign-c++.cc. * doc/posix-headers/stdalign.texi: Update. * modules/stdalign: New file.
Bruno Haible e04d7618 2024-12-27T23:16:16 Rename module spawn to spawn-h. * modules/spawn-h: Renamed from modules/spawn. * modules/spawn-h-tests: Renamed from modules/spawn-tests. * modules/spawn-h-c++-tests: Renamed from modules/spawn-c++-tests. * tests/test-spawn-h.c: Renamed from tests/test-spawn.c. * tests/test-spawn-h-c++.cc: Renamed from tests/test-spawn-c++.cc. * doc/posix-headers/spawn.texi: Update. * modules/* (Depends-on): Update. * modules/spawn: New file.
Bruno Haible 042567ba 2024-12-27T23:16:13 Rename module search to search-h. * modules/search-h: Renamed from modules/search. * modules/search-h-tests: Renamed from modules/search-tests. * modules/search-h-c++-tests: Renamed from modules/search-c++-tests. * tests/test-search-h.c: Renamed from tests/test-search.c. * tests/test-search-h-c++.cc: Renamed from tests/test-search-c++.cc. * doc/posix-headers/search.texi: Update. * modules/* (Depends-on): Update. * modules/search: New file.
Bruno Haible d25accb8 2024-12-27T23:16:10 Rename module sched to sched-h. * modules/sched-h: Renamed from modules/sched. * modules/sched-h-tests: Renamed from modules/sched-tests. * modules/sched-h-c++-tests: Renamed from modules/sched-c++-tests. * tests/test-sched-h.c: Renamed from tests/test-sched.c. * tests/test-sched-h-c++.cc: Renamed from tests/test-sched-c++.cc. * doc/posix-headers/sched.texi: Update. * modules/* (Depends-on): Update. * modules/sched: New file.
Bruno Haible f2b13098 2024-12-27T23:14:35 Rename module netinet_in to netinet_in-h. * modules/netinet_in-h: Renamed from modules/netinet_in. * modules/netinet_in-h-tests: Renamed from modules/netinet_in-tests. * modules/netinet_in-h-c++-tests: Renamed from modules/netinet_in-c++-tests. * tests/test-netinet_in-h.c: Renamed from tests/test-netinet_in.c. * tests/test-netinet_in-h-c++.cc: Renamed from tests/test-netinet_in-c++.cc. * doc/posix-headers/netinet_in.texi: Update. * modules/* (Depends-on): Update. * modules/netinet_in: New file.
Bruno Haible 204dfab7 2024-12-27T23:14:32 Rename module net_if to net_if-h. * modules/net_if-h: Renamed from modules/net_if. * modules/net_if-h-tests: Renamed from modules/net_if-tests. * modules/net_if-h-c++-tests: Renamed from modules/net_if-c++-tests. * tests/test-net_if-h.c: Renamed from tests/test-net_if.c. * tests/test-net_if-h-c++.cc: Renamed from tests/test-net_if-c++.cc. * doc/posix-headers/net_if.texi: Update. * modules/net_if: New file.
Bruno Haible bda7947e 2024-12-27T23:14:29 Rename module netdb to netdb-h. * modules/netdb-h: Renamed from modules/netdb. * modules/netdb-h-tests: Renamed from modules/netdb-tests. * modules/netdb-h-c++-tests: Renamed from modules/netdb-c++-tests. * tests/test-netdb-h.c: Renamed from tests/test-netdb.c. * tests/test-netdb-h-c++.cc: Renamed from tests/test-netdb-c++.cc. * doc/posix-headers/netdb.texi: Update. * modules/* (Depends-on): Update. * modules/netdb: New file.
Bruno Haible c08ded39 2024-12-27T23:14:27 Rename module monetary to monetary-h. * modules/monetary-h: Renamed from modules/monetary. * modules/monetary-h-tests: Renamed from modules/monetary-tests. * modules/monetary-h-c++-tests: Renamed from modules/monetary-c++-tests. * tests/test-monetary-h.c: Renamed from tests/test-monetary.c. * tests/test-monetary-h-c++.cc: Renamed from tests/test-monetary-c++.cc. * doc/posix-headers/monetary.texi: Update. * modules/* (Depends-on): Update. * modules/monetary: New file.
Bruno Haible d171b945 2024-12-27T23:14:22 Rename module math to math-h. * modules/math-h: Renamed from modules/math. * modules/math-h-tests: Renamed from modules/math-tests. * modules/math-h-c++-tests: Renamed from modules/math-c++-tests. * tests/test-math-h.c: Renamed from tests/test-math.c. * tests/test-math-h-c++.cc: Renamed from tests/test-math-c++.cc. * tests/test-math-h-c++2.cc: Renamed from tests/test-math-c++2.cc. * doc/posix-headers/math.texi: Update. * modules/* (Depends-on): Update. * modules/math: New file.
Bruno Haible ca55f73b 2024-12-27T23:14:18 Rename module locale to locale-h. * modules/locale-h: Renamed from modules/locale. * modules/locale-h-tests: Renamed from modules/locale-tests. * modules/locale-h-c++-tests: Renamed from modules/locale-c++-tests. * tests/test-locale-h.c: Renamed from tests/test-locale.c. * tests/test-locale-h-c++.cc: Renamed from tests/test-locale-c++.cc. * tests/test-locale-h-c++2.cc: Renamed from tests/test-locale-c++2.cc. * doc/posix-headers/locale.texi: Update. * modules/* (Depends-on): Update. * modules/locale: New file.
Bruno Haible 7b1d048d 2024-12-27T23:14:16 Rename module langinfo to langinfo-h. * modules/langinfo-h: Renamed from modules/langinfo. * modules/langinfo-h-tests: Renamed from modules/langinfo-tests. * modules/langinfo-h-c++-tests: Renamed from modules/langinfo-c++-tests. * tests/test-langinfo-h.c: Renamed from tests/test-langinfo.c. * tests/test-langinfo-h-c++.cc: Renamed from tests/test-langinfo-c++.cc. * doc/posix-headers/langinfo.texi: Update. * modules/* (Depends-on): Update. * modules/langinfo: New file.
Bruno Haible c2613791 2024-12-27T23:14:13 Rename module inttypes to inttypes-h. * modules/inttypes-h: Renamed from modules/inttypes. * modules/inttypes-h-tests: Renamed from modules/inttypes-tests. * modules/inttypes-h-c++-tests: Renamed from modules/inttypes-c++-tests. * tests/test-inttypes-h.c: Renamed from tests/test-inttypes.c. * tests/test-inttypes-h-c++.cc: Renamed from tests/test-inttypes-c++.cc. * tests/test-inttypes-h-c++2.cc: Renamed from tests/test-inttypes-c++2.cc. * doc/posix-headers/inttypes.texi: Update. * modules/* (Depends-on): Update. * modules/inttypes: New file.
Bruno Haible 3d1b90b4 2024-12-27T23:14:08 Rename module float to float-h. * modules/float-h: Renamed from modules/float. * modules/float-h-tests: Renamed from modules/float-tests. * modules/float-h-c++-tests: Renamed from modules/float-c++-tests. * tests/test-float-h.c: Renamed from tests/test-float.c. * tests/test-float-h-c++.cc: Renamed from tests/test-float-c++.cc. * tests/test-float-h-c++2.cc: Renamed from tests/test-float-c++2.cc. * doc/posix-headers/float.texi: Update. * modules/* (Depends-on): Update. * modules/float: New file.
Bruno Haible 21bad22d 2024-12-27T23:14:06 Rename module fenv to fenv-h. * modules/fenv-h: Renamed from modules/fenv. * modules/fenv-h-tests: Renamed from modules/fenv-tests. * modules/fenv-h-c++-tests: Renamed from modules/fenv-c++-tests. * tests/test-fenv-h.c: Renamed from tests/test-fenv.c. * tests/test-fenv-h-c++.cc: Renamed from tests/test-fenv-c++.cc. * doc/posix-headers/fenv.texi: Update. * modules/* (Depends-on): Update. * modules/fenv: New file.
Bruno Haible e1280386 2024-12-27T23:14:03 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.
Bruno Haible 604083f4 2024-12-27T23:12:58 Rename module dirent to dirent-h. * modules/dirent-h: Renamed from modules/dirent. * modules/dirent-h-tests: Renamed from modules/dirent-tests. * modules/dirent-h-c++-tests: Renamed from modules/dirent-c++-tests. * tests/test-dirent-h.c: Renamed from tests/test-dirent.c. * tests/test-dirent-h-c++.cc: Renamed from tests/test-dirent-c++.cc. * doc/posix-headers/dirent.texi: Update. * modules/* (Depends-on): Update. * modules/dirent: New file.
Bruno Haible 49f2771d 2024-12-27T23:11:34 Rename module arpa_inet to arpa_inet-h. * modules/arpa_inet-h: Renamed from modules/arpa_inet. * modules/arpa_inet-h-tests: Renamed from modules/arpa_inet-tests. * modules/arpa_inet-h-c++-tests: Renamed from modules/arpa_inet-c++-tests. * tests/test-arpa_inet-h.c: Renamed from tests/test-arpa_inet.c. * tests/test-arpa_inet-h-c++.cc: Renamed from tests/test-arpa_inet-c++.cc. * doc/posix-headers/arpa_inet.texi: Update. * modules/* (Depends-on): Update. * modules/arpa_inet: New file.
Paul Eggert 8ed83a35 2024-12-23T12:57:12 stdlib: fix MB_CUR_MAX on older Android Android NDK r16 MB_CUR_MAX doesn’t link when compiling C. Problem found in GNU Emacs, which worked around it this way: https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=39a7e6b79fdeafc539a36f6831d922a2622cb679 ... but this ran afoul of the recent Gnulib change that added lib/stdlib.c. * lib/stdlib.in.h (gl_MB_CUR_MAX): If @REPLACE_MB_CUR_MAX@ is positive, use its value directly. * m4/stdlib_h.m4 (gl_STDLIB_H): Set REPLACE_MB_CUR_MAX to (-1) if the Solaris bug, and to 4 if the Android bug. Use AS_CASE so that Emacs can navigate this code better. * tests/test-stdlib.c (main): Check that MB_CUR_MAX compiles and is nonzero.
Collin Funk 2d08d875 2024-11-17T13:05:55 doc: Prefer https urls where possible. * doc/gnulib.texi (POSIXURL): Use https url. * doc/multithread.texi: Use https instead of http where possible. * doc/glibc-functions/*.texi: Likewise. * doc/posix-functions/*.texi: Likewise. * lib/glthread/lock.c: Likewise. * lib/hamt.h: Likewise. * lib/localcharset.c: Likewise. * lib/pipe2.c: Likewise. * lib/pipe.c: Likewise. * lib/sigsegv.c: Likewise. * lib/sigsegv.in.h: Likewise. * lib/sm3.c: Likewise. * lib/sm3.h: Likewise. * lib/sm3-stream.c: Likewise. * lib/stackvma.c: Likewise. * lib/stdio-impl.h: Likewise. * lib/stdnoreturn.in.h: Likewise. * m4/getopt.m4: Likewise. * m4/largefile.m4: Likewise. * m4/stdalign.m4: Likewise. * STATUS-libposix: Likewise. * tests/test-float.c: Likewise. * tests/test-getopt.h: Likewise. * tests/test-setenv.c: Likewise. * tests/test-spawn-pipe-child.c: Likewise. * tests/test-strerror.c: Likewise. * tests/test-strerror_r.c: Likewise. * tests/test-unsetenv.c: Likewise. * users.txt: Likewise.
Bruno Haible c36a0f21 2024-10-27T17:01:29 doc: Add a module index. * doc/Makefile (undocumented-modules.texi): New rule. (%.info, %.html, %.dvi, %.pdf): Depend on undocumented-modules.texi. (mostlyclean): Remove also *.m and *.tmp. (force): New rule. * doc/*.texi: Add module index entries. * doc/*/*.texi: Likewise.
Paul Eggert a6de9f38 2024-10-02T15:50:10 dirent: define DT_* macros on all platforms * lib/dirent.in.h (DT_UNKNOWN, DT_FIFO, DT_CHR, DT_DIR, DT_BLK) (DT_REG, DT_LNK, DT_SOCK, DT_WHT): Define these on all platforms, if the system does not already define them. Check that they have distinct values. (_GL_DIRENT_S_ISWHT, _GL_DIRENT_S_IFWHT) [!(IFTODT && DTTOIF)]: New macros. (IFTODT, DTTOIF): Define if not already defined. * modules/dirent (Depends-on): Add assert-h, extensions.
Bruno Haible 12621744 2024-09-01T18:09:28 math: Remove workaround for an older Haiku bug. * lib/math.in.h (FP_ILOGB0, FP_ILOGBNAN): Don't override on Haiku. * doc/posix-headers/math.texi: Update.
Bruno Haible 1173990c 2024-08-28T11:03:34 doc: Add more details about O_EXEC and O_SEARCH. * doc/posix-headers/fcntl.texi: Add platforms list and revisit note about O_EXEC and O_SEARCH.
Bruno Haible a1edb3a3 2024-08-16T03:14:18 termios: Tweak doc. * doc/posix-headers/termios.texi: Update list of platforms.
Collin Funk afbe2842 2024-08-12T20:09:01 termios: Define struct winsize on all platforms. * doc/posix-headers/termios.texi (termios.h): Mention struct winsize is defined in <sys/ioctl.h> on glibc. * lib/termios.in.h (struct winsize): Define or include. * m4/termios_h.m4 (gl_TERMIOS_H): Check for a definition of struct winsize. * modules/termios (Makefile.am): Replace AC_SUBST variables.
Bruno Haible 616a1dad 2024-08-12T17:15:10 errno tests: Avoid test failure on Haiku. * doc/posix-headers/errno.texi: Mention the Haiku problem. * tests/test-errno.c: On Haiku, don't check that the error numbers are positive.
Bruno Haible 32601dbf 2024-08-12T17:11:35 errno: Ensure ESOCKTNOSUPPORT gets defined. * m4/errno_h.m4 (gl_HEADER_ERRNO_H): Test also whether ESOCKTNOSUPPORT is defined. * lib/errno.in.h (ESOCKTNOSUPPORT, GNULIB_defined_ESOCKTNOSUPPORT): New macros. * lib/strerror-override.h (strerror_override): Declare also if GNULIB_defined_ESOCKTNOSUPPORT is defined. * lib/strerror-override.c (strerror_override): Handle ESOCKTNOSUPPORT. * lib/strerrorname_np.c (strerrorname_np): Move ESOCKTNOSUPPORT code to the POSIX section. * doc/posix-headers/errno.texi: Document the Haiku problem.
Bruno Haible 394dea94 2024-08-08T22:38:38 doc: Update for ISO C header files added in POSIX:2024. * doc/posix-headers/*.texi: Update.
Bruno Haible 7499523a 2024-08-08T16:46:38 doc: Update for header files added in POSIX:2024. * doc/posix-headers/devctl.texi: New file. * doc/posix-headers/endian.texi: Renamed from doc/glibc-headers/endian.texi. Update. * doc/posix-headers/libintl.texi: Renamed from doc/glibc-headers/libintl.texi. Update. * doc/gnulib.texi (Header File Substitutes, Glibc Header File Substitutes): Update.