]> Savannah Git Hosting - gnulib.git/log
gnulib.git
4 months agostr_endswith: New module.
Bruno Haible [Fri, 3 Jan 2025 08:54:14 +0000 (09:54 +0100)]
str_endswith: New module.

* lib/string.in.h (str_endswith): New declaration.
* lib/str_endswith.c: New file.
* m4/string_h.m4 (gl_STRING_H_REQUIRE_DEFAULTS): Initialize
GNULIB_STR_ENDSWITH.
* modules/string-h (Makefile.am): Substitute GNULIB_STR_ENDSWITH.
* modules/str_endswith: New file.

4 months agostr_startswith: Add tests.
Bruno Haible [Fri, 3 Jan 2025 08:33:01 +0000 (09:33 +0100)]
str_startswith: Add tests.

* tests/test-str_startswith.c: New file.
* modules/str_startswith-tests: New file.

4 months agostr_startswith: New module.
Bruno Haible [Fri, 3 Jan 2025 08:26:14 +0000 (09:26 +0100)]
str_startswith: New module.

* lib/string.in.h (str_startswith): New declaration.
* lib/str_startswith.c: New file.
* m4/string_h.m4 (gl_STRING_H_REQUIRE_DEFAULTS): Initialize
GNULIB_STR_STARTSWITH.
* modules/string-h (Makefile.am): Substitute GNULIB_STR_STARTSWITH.
* modules/str_startswith: New file.

4 months agognulib-l10n: Clarify the license of the POT file.
Bruno Haible [Thu, 2 Jan 2025 14:57:15 +0000 (15:57 +0100)]
gnulib-l10n: Clarify the license of the POT file.

Reported by Simon Josefsson. Suggested by Benno Schulenberg.

* po/Makefile ($(DOMAIN).pot): Replace the license notice line.

4 months agostring-desc, xstring-desc, string-desc-quotearg: Rename functions.
Bruno Haible [Thu, 2 Jan 2025 12:54:54 +0000 (13:54 +0100)]
string-desc, xstring-desc, string-desc-quotearg: Rename functions.

* lib/string-desc.h (sd_equals): Renamed from string_desc_equals.
(sd_startswith): Renamed from string_desc_startswith.
(sd_endswith): Renamed from string_desc_endswith.
(sd_cmp): Renamed from string_desc_cmp.
(sd_c_casecmp): Renamed from string_desc_c_casecmp.
(sd_index): Renamed from string_desc_index.
(sd_last_index): Renamed from string_desc_last_index.
(sd_contains): Renamed from string_desc_contains.
(sd_new_empty): Renamed from string_desc_new_empty.
(sd_new_addr): Renamed from string_desc_new_addr.
(sd_from_c): Renamed from string_desc_from_c.
(sd_substring): Renamed from string_desc_substring.
(sd_write): Renamed from string_desc_write.
(sd_fwrite): Renamed from string_desc_fwrite.
(sd_new): Renamed from string_desc_new.
(sd_new_filled): Renamed from string_desc_new_filled.
(sd_copy): Renamed from string_desc_copy.
(sd_concat): Renamed from string_desc_concat.
(sd_c): Renamed from string_desc_c.
(sd_set_char_at): Renamed from string_desc_set_char_at.
(sd_fill): Renamed from string_desc_fill.
(sd_overwrite): Renamed from string_desc_overwrite.
(sd_free): Renamed from string_desc_free.
(sd_length): Renamed from string_desc_length.
(sd_char_at): Renamed from string_desc_char_at.
(sd_data): Renamed from string_desc_data.
(sd_is_empty): Renamed from string_desc_is_empty.
* lib/string-desc.c (sd_equals): Renamed from string_desc_equals.
(sd_startswith): Renamed from string_desc_startswith.
(sd_endswith): Renamed from string_desc_endswith.
(sd_cmp): Renamed from string_desc_cmp.
(sd_c_casecmp): Renamed from string_desc_c_casecmp.
(sd_index): Renamed from string_desc_index.
(sd_last_index): Renamed from string_desc_last_index.
(sd_new_empty): Renamed from string_desc_new_empty.
(sd_new_addr): Renamed from string_desc_new_addr.
(sd_from_c): Renamed from string_desc_from_c.
(sd_substring): Renamed from string_desc_substring.
(sd_write): Renamed from string_desc_write.
(sd_fwrite): Renamed from string_desc_fwrite.
(sd_new): Renamed from string_desc_new.
(sd_new_filled): Renamed from string_desc_new_filled.
(sd_copy): Renamed from string_desc_copy.
(sd_concat): Renamed from string_desc_concat.
(sd_c): Renamed from string_desc_c.
(sd_set_char_at): Renamed from string_desc_set_char_at.
(sd_fill): Renamed from string_desc_fill.
(sd_overwrite): Renamed from string_desc_overwrite.
(sd_free): Renamed from string_desc_free.
* lib/xstring-desc.h (xsd_concat): Renamed from xstring_desc_concat.
(xsd_new): Renamed from xstring_desc_new.
(xsd_new_filled): Renamed from xstring_desc_new_filled.
(xsd_copy): Renamed from xstring_desc_copy.
(xsd_c): Renamed from xstring_desc_c.
* lib/xstring-desc.c (xsd_concat): Renamed from xstring_desc_concat.
* lib/string-desc-quotearg.h (sd_quotearg_buffer): Renamed from
string_desc_quotearg_buffer.
(sd_quotearg_alloc): Renamed from string_desc_quotearg_alloc.
(sd_quotearg_n): Renamed from string_desc_quotearg_n.
(sd_quotearg): Renamed from string_desc_quotearg.
(sd_quotearg_n_style): Renamed from string_desc_quotearg_n_style.
(sd_quotearg_style): Renamed from string_desc_quotearg_style.
(sd_quotearg_char): Renamed from string_desc_quotearg_char.
(sd_quotearg_colon): Renamed from string_desc_quotearg_colon.
(sd_quotearg_n_custom): Renamed from string_desc_quotearg_n_custom.
(sd_quotearg_custom): Renamed from sd_quotearg_n_custom.
* lib/string-desc-contains.c (sd_contains): Renamed from
string_desc_contains.
* lib/string-buffer.h: Update.
* lib/string-buffer.c (sb_append_desc, sb_contents, sb_dupfree): Update.
* lib/xstring-buffer.c (sb_xdupfree): Update.
* lib/sf-istream.c (sf_istream_init_from_string_desc): Update.
* tests/test-string-desc.c (main): Update.
* tests/test-string-desc.sh: Update.
* tests/test-xstring-desc.c (main): Update.
* tests/test-string-desc-quotearg.c (main): Update.
* tests/test-string-buffer.c (main): Update.
* tests/test-sf-istream.c (main): Update.
* tests/test-sfl-istream.c (main): Update.
* doc/string-desc.texi: Update.
* doc/strings.texi: Update.
* NEWS: Mention the change.

4 months agomaintainer-makefile: Improve gnulib-version handling.
Simon Josefsson [Thu, 2 Jan 2025 08:28:48 +0000 (09:28 +0100)]
maintainer-makefile: Improve gnulib-version handling.

* top/maint.mk (gnulib-version): Prefix commit id with human
readable leading ChangeLog date, suggested by Bruno Haible.
(announcement): Handle multi-word gnulib-version.

4 months agodoc: Update regarding stable branches.
Bruno Haible [Wed, 1 Jan 2025 23:42:27 +0000 (00:42 +0100)]
doc: Update regarding stable branches.

* doc/gnulib-readme.texi (Stable Branches): Mention new branch
stable-202501. Mention that stable-202401 is no longer updated.

4 months agoautoupdate
Paul Eggert [Wed, 1 Jan 2025 22:52:39 +0000 (14:52 -0800)]
autoupdate

4 months agomaint: update copyrights by hand
Paul Eggert [Wed, 1 Jan 2025 19:31:58 +0000 (11:31 -0800)]
maint: update copyrights by hand

This fixes some copyright dates that were not updated
correctly by "make update-copyright".

4 months agomaint: run 'make update-copyright'
Pádraig Brady [Wed, 1 Jan 2025 09:24:36 +0000 (09:24 +0000)]
maint: run 'make update-copyright'

4 months agomaint: update update-copyright for Emacs
Paul Eggert [Wed, 1 Jan 2025 07:46:36 +0000 (23:46 -0800)]
maint: update update-copyright for Emacs

* build-aux/update-copyright: Add support for Emacs, which
uses file names like Changelog.1 that are not man pages,
and file names like emacs.1.in that are man page templates.

4 months agoservent tests: Fix failure due to missing htons declaration.
Collin Funk [Wed, 1 Jan 2025 03:51:26 +0000 (19:51 -0800)]
servent tests: Fix failure due to missing htons declaration.

* modules/servent-tests (Depends-on): Add htonl.
(Makefile.am): Link program to $(HTONL_LIB).
* tests/test-servent.c (main): Fix formatting and typo.

4 months agoservent: Make sure netdb.h is generated.
Collin Funk [Wed, 1 Jan 2025 03:43:28 +0000 (19:43 -0800)]
servent: Make sure netdb.h is generated.

* modules/servent (Depends-on): Add netdb-h.

4 months agogetcwd: Return "/bin" instead of "//bin" on Adélie Linux.
Bruno Haible [Tue, 31 Dec 2024 18:38:42 +0000 (19:38 +0100)]
getcwd: Return "/bin" instead of "//bin" on Adélie Linux.

Reported by Zach van Rijn <me@zv.io> in
<https://lists.gnu.org/archive/html/bug-gnulib/2023-04/msg00072.html>
and <https://git.adelielinux.org/adelie/packages/-/issues/987>.

* lib/getcwd.c (__getcwd_generic): Remove a trailing slash from the
result of readlink().

4 months agoservent: Add tests.
Collin Funk [Tue, 31 Dec 2024 03:00:01 +0000 (19:00 -0800)]
servent: Add tests.

* tests/test-servent.c: New file.
* modules/servent-tests: New file.

4 months agombfile: Support pushback characters also right before EOF.
Bruno Haible [Tue, 31 Dec 2024 01:09:47 +0000 (02:09 +0100)]
mbfile: Support pushback characters also right before EOF.

* lib/mbfile.h (mbfile_multi_getc): Read pushed-back character before
testing for sticky EOF.
* tests/test-mbfile.c (main): Test pushback at EOF.

4 months agombfile: Allow 2 pushback characters.
Bruno Haible [Tue, 31 Dec 2024 00:39:03 +0000 (01:39 +0100)]
mbfile: Allow 2 pushback characters.

* lib/mbfile.h: Include <stdlib.h>.
(MBFILE_MAX_PUSHBACK): New macro.
(struct mbfile_multi): Replace field 'have_pushback' with
'pushback_count'. Make field 'pushback' an array.
(mbfile_multi_getc, mbfile_multi_ungetc): Handle multiple pushback
characters.
(mbf_init): Update.

4 months agobcp47: Handle language variants.
Bruno Haible [Tue, 31 Dec 2024 00:07:47 +0000 (01:07 +0100)]
bcp47: Handle language variants.

Reported by Balló György <ballogyor@gmail.com> at
<https://savannah.gnu.org/bugs/?66620>.

* lib/bcp47.c (xpg_to_bcp47, bcp47_to_xpg): Handle variants.
* tests/test-bcp47.c (main): Test a regional variant.

4 months agodoc: Revisit some index entries.
Bruno Haible [Mon, 30 Dec 2024 14:38:51 +0000 (15:38 +0100)]
doc: Revisit some index entries.

* doc/attribute.texi: Refer to the 'attribute' module.
* doc/verify.texi: Refer to the 'verify' module.
* doc/noreturn.texi: Remove duplicate index entries.

4 months agodoc: Document the 'inline' module.
Bruno Haible [Mon, 30 Dec 2024 14:17:42 +0000 (15:17 +0100)]
doc: Document the 'inline' module.

* doc/static-inline.texi: Document the 'inline' module.
* m4/inline.m4: Fix comment.

4 months agosignal: Deprecate old stub module.
Bruno Haible [Mon, 30 Dec 2024 10:16:27 +0000 (11:16 +0100)]
signal: Deprecate old stub module.

* modules/signal: Mark as deprecated.

4 months agoqsort_r: Update documentation.
Bruno Haible [Sun, 29 Dec 2024 22:06:06 +0000 (23:06 +0100)]
qsort_r: Update documentation.

* modules/qsort_r (Description): Say "POSIX signature".
* doc/posix-functions/qsort_r.texi: Mention the qsort_r module.

4 months agogit-version-gen: reinstate executable permission
Pádraig Brady [Sun, 29 Dec 2024 21:39:42 +0000 (21:39 +0000)]
git-version-gen: reinstate executable permission

* build-aux/git-version-gen: chmod a+x

4 months agosig2str: Document a portability problem.
Bruno Haible [Sun, 29 Dec 2024 20:15:16 +0000 (21:15 +0100)]
sig2str: Document a portability problem.

* doc/posix-functions/sig2str.texi: Document IRIX problem.
* doc/posix-functions/str2sig.texi: Likewise.

4 months agodoc: Document the advanced FILE stream functions.
Bruno Haible [Sun, 29 Dec 2024 20:01:27 +0000 (21:01 +0100)]
doc: Document the advanced FILE stream functions.

* doc/stdioext.texi: New file.
* doc/gnulib.texi (Particular Modules): Include it.

4 months agosignal-h tests: Check that SIG2STR_MAX is properly defined.
Collin Funk [Sun, 29 Dec 2024 19:56:28 +0000 (11:56 -0800)]
signal-h tests: Check that SIG2STR_MAX is properly defined.

* modules/signal-h-tests (Depends-on): Add assert-h.
* tests/test-signal-h.c: Check that SIG2STR_MAX is defined to a
positive integer.

4 months agosig2str tests: Add signature check.
Collin Funk [Sun, 29 Dec 2024 19:30:59 +0000 (11:30 -0800)]
sig2str tests: Add signature check.

* modules/sig2str-tests (Files): Add tests/signature.h.
* tests/test-sig2str.c: Include signal.h instead of sig2str.h. Check the
function signature of sig2str and str2sig.

4 months agodoc: Document the modules for containers.
Bruno Haible [Sun, 29 Dec 2024 17:47:11 +0000 (18:47 +0100)]
doc: Document the modules for containers.

* doc/containers.texi: Document the modules for each container data
type.

4 months agodoc: Omit internal modules from the "Undocumented modules" index.
Bruno Haible [Sun, 29 Dec 2024 17:16:27 +0000 (18:16 +0100)]
doc: Omit internal modules from the "Undocumented modules" index.

* doc/internal-modules: New file.
* doc/Makefile (undocumented-modules.texi): Filter out the internal
modules.

4 months agodoc: Add missing module index.
Collin Funk [Sun, 29 Dec 2024 02:11:03 +0000 (18:11 -0800)]
doc: Add missing module index.

Suggested by Bruno Haible in:
<https://lists.gnu.org/archive/html/bug-gnulib/2024-12/msg00240.html>.

* doc/posix-functions/getservbyname.texi (getservbyname): Add module
index.
* doc/posix-functions/getservbyport.texi (getservbyport): Likewise.

4 months agodoc: Fix the previous commit.
Collin Funk [Sun, 29 Dec 2024 01:26:28 +0000 (17:26 -0800)]
doc: Fix the previous commit.

Suggested by Bruno Haible in:
<https://lists.gnu.org/archive/html/bug-gnulib/2024-12/msg00236.html>.

* doc/posix-functions/getservbyname.texi: Mention the Windows
declaration under "Portability problems fixed by Gnulib".
* doc/posix-functions/getservbyport.texi: Likewise.

4 months agodoc: Mention the servent module.
Collin Funk [Sun, 29 Dec 2024 00:19:01 +0000 (16:19 -0800)]
doc: Mention the servent module.

* doc/posix-functions/getservbyname.texi: Document that the servent
module will provide the declarations in netdb.h.
* doc/posix-functions/getservbyport.texi: Likewise.

4 months agogit-version-gen: avoid use of grep, suggested by Jim Meyering.
Simon Josefsson [Sat, 28 Dec 2024 20:19:18 +0000 (21:19 +0100)]
git-version-gen: avoid use of grep, suggested by Jim Meyering.

* build-aux/git-version-gen: Use /bin/sh case instead.

4 months agogit-version-gen: fix preceding change
Simon Josefsson [Sat, 28 Dec 2024 17:57:46 +0000 (18:57 +0100)]
git-version-gen: fix preceding change

* build-aux/git-version-gen: Do use *-git content when keyword
is not present.  Move post-processing later.  Doc fixes.

4 months agodoc: Omit deprecated modules from the "Undocumented modules" index.
Bruno Haible [Sat, 28 Dec 2024 19:16:40 +0000 (20:16 +0100)]
doc: Omit deprecated modules from the "Undocumented modules" index.

* doc/Makefile (undocumented-modules.texi): Filter out the deprecated
modules.

4 months agomaintainer-makefile: Improve gnulib-version derivation.
Simon Josefsson [Sat, 28 Dec 2024 18:46:30 +0000 (19:46 +0100)]
maintainer-makefile: Improve gnulib-version derivation.

* top/maint.mk (gnulib-version): Use git only when possible,
falling back to GNULIB_REVISION or ChangeLog date otherwise.  Use
consistent full identifier.

4 months agoannounce-gen: Support VPATH builds better.
Simon Josefsson [Sat, 28 Dec 2024 18:42:43 +0000 (19:42 +0100)]
announce-gen: Support VPATH builds better.

* build-aux/announce-gen: Pass -C$srcdir to git.

4 months agoendian: Fix link error on CentOS 5.
Bruno Haible [Sat, 28 Dec 2024 17:39:24 +0000 (18:39 +0100)]
endian: Fix link error on CentOS 5.

* m4/endian_h.m4 (gl_ENDIAN_H): Use AC_LINK_IFELSE, not
AC_COMPILE_IFELSE.

4 months agogit-version-gen: fix preceding change
Jim Meyering [Sat, 28 Dec 2024 17:42:21 +0000 (18:42 +0100)]
git-version-gen: fix preceding change

* build-aux/git-version-gen: Use the contents of the -git file
when its first line has the proper form (fixing a reversed test).
Also, reference the file only once, rather than three times.
Also, double quote $tarball_version_file in preexisting code.

4 months agogit-version-gen: fix preceding change
Jim Meyering [Sat, 28 Dec 2024 17:35:08 +0000 (09:35 -0800)]
git-version-gen: fix preceding change

* build-aux/git-version-gen: Use the contents of the -git file
when its first line has the proper form (fixing a reversed test).
Also, reference the file only once, rather than three times.
Also, double quote $tarball_version_file in preexisting code.

4 months agofile-has-acl: Fix compilation error on CentOS 6 (regression 2024-09-29).
Bruno Haible [Sat, 28 Dec 2024 17:26:39 +0000 (18:26 +0100)]
file-has-acl: Fix compilation error on CentOS 6 (regression 2024-09-29).

* lib/file-has-acl.c (XATTR_NAME_SMACK, XATTR_NAME_SELINUX): Add
fallback definitions.

4 months agoassert-h, verify: Make static_assert work in C++ mode on FreeBSD 11.
Bruno Haible [Sat, 28 Dec 2024 16:40:44 +0000 (17:40 +0100)]
assert-h, verify: Make static_assert work in C++ mode on FreeBSD 11.

* lib/verify.h (static_assert): Override when using old versions of
clang++.

4 months agoendian: Fix compilation error on NetBSD 7.1.
Bruno Haible [Sat, 28 Dec 2024 15:47:16 +0000 (16:47 +0100)]
endian: Fix compilation error on NetBSD 7.1.

* m4/endian_h.m4 (gl_ENDIAN_H): Test for <sys/endian.h>. Set
HAVE_SYS_ENDIAN_H.
* lib/endian.in.h: Test HAVE_SYS_ENDIAN_H as an alternative to
HAVE_ENDIAN_H.
* modules/endian (Makefile.am): Substitute HAVE_SYS_ENDIAN_H.

4 months agowchar-h: Fix wcrtomb prototype conflict in C++ mode on OpenBSD 6.0.
Bruno Haible [Sat, 28 Dec 2024 15:38:23 +0000 (16:38 +0100)]
wchar-h: Fix wcrtomb prototype conflict in C++ mode on OpenBSD 6.0.

* lib/wchar.in.h (rpl_mbstate_t): Don't define on OpenBSD.

4 months agostack-trace: Fix compilation errors on older BSD systems.
Bruno Haible [Sat, 28 Dec 2024 12:03:52 +0000 (13:03 +0100)]
stack-trace: Fix compilation errors on older BSD systems.

* m4/stack-trace.m4 (gl_STACK_TRACE_EARLY): Test whether we can link
with libexecinfo before modifying LIBS.

4 months agoRename module stdbool-h to bool.
Bruno Haible [Sat, 28 Dec 2024 05:08:15 +0000 (06:08 +0100)]
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.

4 months agoRename module wchar to wchar-h.
Bruno Haible [Fri, 27 Dec 2024 22:43:27 +0000 (23:43 +0100)]
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.

4 months agoRename module utmp to utmp-h.
Bruno Haible [Fri, 27 Dec 2024 22:43:25 +0000 (23:43 +0100)]
Rename module utmp to utmp-h.

* modules/utmp-h: Renamed from modules/utmp.
* modules/utmp-h-tests: Renamed from modules/utmp-tests.
* modules/utmp-h-c++-tests: Renamed from modules/utmp-c++-tests.
* tests/test-utmp-h.c: Renamed from tests/test-utmp.c.
* tests/test-utmp-h-c++.cc: Renamed from tests/test-utmp-c++.cc.
* doc/posix-headers/utmp.texi: Update.
* modules/* (Depends-on): Update.
* modules/utmp: New file.

4 months agoRename module unitypes to unitypes-h.
Bruno Haible [Fri, 27 Dec 2024 22:43:23 +0000 (23:43 +0100)]
Rename module unitypes to unitypes-h.

* modules/unitypes-h: Renamed from modules/unitypes.
* doc/libunistring.texi: Update.
* modules/* (Depends-on): Update.
* modules/unitypes: New file.

4 months agoRename module unistd to unistd-h.
Bruno Haible [Fri, 27 Dec 2024 22:41:53 +0000 (23:41 +0100)]
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.

4 months agoRename module uchar-c23 to uchar-h-c23.
Bruno Haible [Fri, 27 Dec 2024 22:41:52 +0000 (23:41 +0100)]
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.

4 months agoRename module uchar to uchar-h.
Bruno Haible [Fri, 27 Dec 2024 22:41:50 +0000 (23:41 +0100)]
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.

4 months agoRename module termios to termios-h.
Bruno Haible [Fri, 27 Dec 2024 22:41:47 +0000 (23:41 +0100)]
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.

4 months agoRename module sys_wait to sys_wait-h.
Bruno Haible [Fri, 27 Dec 2024 22:41:45 +0000 (23:41 +0100)]
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.

4 months agoRename module sys_utsname to sys_utsname-h.
Bruno Haible [Fri, 27 Dec 2024 22:41:43 +0000 (23:41 +0100)]
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.

4 months agoRename module sys_un to sys_un-h.
Bruno Haible [Fri, 27 Dec 2024 22:41:42 +0000 (23:41 +0100)]
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.

4 months agoRename module sys_uio to sys_uio-h.
Bruno Haible [Fri, 27 Dec 2024 22:41:41 +0000 (23:41 +0100)]
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.

4 months agoRename module sys_types to sys_types-h.
Bruno Haible [Fri, 27 Dec 2024 22:41:40 +0000 (23:41 +0100)]
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.

4 months agoRename module sys_times to sys_times-h.
Bruno Haible [Fri, 27 Dec 2024 22:41:38 +0000 (23:41 +0100)]
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.

4 months agoRename module sys_time to sys_time-h.
Bruno Haible [Fri, 27 Dec 2024 22:41:36 +0000 (23:41 +0100)]
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.

4 months agoRename module sys_stat to sys_stat-h.
Bruno Haible [Fri, 27 Dec 2024 22:40:10 +0000 (23:40 +0100)]
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.

4 months agoRename module sys_socket to sys_socket-h.
Bruno Haible [Fri, 27 Dec 2024 22:39:59 +0000 (23:39 +0100)]
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.

4 months agoRename module sys_shm to sys_shm-h.
Bruno Haible [Fri, 27 Dec 2024 22:39:57 +0000 (23:39 +0100)]
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.

4 months agoRename module sys_sem to sys_sem-h.
Bruno Haible [Fri, 27 Dec 2024 22:39:56 +0000 (23:39 +0100)]
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.

4 months agoRename module sys_select to sys_select-h.
Bruno Haible [Fri, 27 Dec 2024 22:39:55 +0000 (23:39 +0100)]
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.

4 months agoRename module sys_resource to sys_resource-h.
Bruno Haible [Fri, 27 Dec 2024 22:39:53 +0000 (23:39 +0100)]
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.

4 months agoRename module sys_random to sys_random-h.
Bruno Haible [Fri, 27 Dec 2024 22:39:52 +0000 (23:39 +0100)]
Rename module sys_random to sys_random-h.

* modules/sys_random-h: Renamed from modules/sys_random.
* modules/sys_random-h-tests: Renamed from modules/sys_random-tests.
* modules/sys_random-h-c++-tests: Renamed from
modules/sys_random-c++-tests.
* tests/test-sys_random-h.c: Renamed from tests/test-sys_random.c.
* tests/test-sys_random-h-c++.cc: Renamed from
tests/test-sys_random-c++.cc.
* doc/glibc-headers/sys_random.texi: Update.
* modules/* (Depends-on): Update.
* modules/sys_random: New file.

4 months agoRename module sys_msg to sys_msg-h.
Bruno Haible [Fri, 27 Dec 2024 22:39:51 +0000 (23:39 +0100)]
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.

4 months agoRename module sys_ioctl to sys_ioctl-h.
Bruno Haible [Fri, 27 Dec 2024 22:39:49 +0000 (23:39 +0100)]
Rename module sys_ioctl to sys_ioctl-h.

* modules/sys_ioctl-h: Renamed from modules/sys_ioctl.
* modules/sys_ioctl-h-tests: Renamed from modules/sys_ioctl-tests.
* modules/sys_ioctl-h-c++-tests: Renamed from
modules/sys_ioctl-c++-tests.
* tests/test-sys_ioctl-h.c: Renamed from tests/test-sys_ioctl.c.
* tests/test-sys_ioctl-h-c++.cc: Renamed from
tests/test-sys_ioctl-c++.cc.
* doc/glibc-headers/sys_ioctl.texi: Update.
* modules/* (Depends-on): Update.
* modules/sys_ioctl: New file.

4 months agoRename module sys_file to sys_file-h.
Bruno Haible [Fri, 27 Dec 2024 22:39:47 +0000 (23:39 +0100)]
Rename module sys_file to sys_file-h.

* modules/sys_file-h: Renamed from modules/sys_file.
* modules/sys_file-h-tests: Renamed from modules/sys_file-tests.
* modules/sys_file-h-c++-tests: Renamed from modules/sys_file-c++-tests.
* tests/test-sys_file-h.c: Renamed from tests/test-sys_file.c.
* tests/test-sys_file-h-c++.cc: Renamed from tests/test-sys_file-c++.cc.
* doc/glibc-headers/sys_file.texi: Update.
* modules/* (Depends-on): Update.
* modules/sys_file: New file.

4 months agoRename module sysexits to sysexits-h.
Bruno Haible [Fri, 27 Dec 2024 22:39:46 +0000 (23:39 +0100)]
Rename module sysexits to sysexits-h.

* modules/sysexits-h: Renamed from modules/sysexits.
* modules/sysexits-h-tests: Renamed from modules/sysexits-tests.
* modules/sysexits-h-c++-tests: Renamed from modules/sysexits-c++-tests.
* tests/test-sysexits-h.c: Renamed from tests/test-sysexits.c.
* tests/test-sysexits-h-c++.cc: Renamed from tests/test-sysexits-c++.cc.
* doc/glibc-headers/sysexits.texi: Update.
* modules/* (Depends-on): Update.
* modules/sysexits: New file.

4 months agoRename module strings to strings-h.
Bruno Haible [Fri, 27 Dec 2024 22:39:42 +0000 (23:39 +0100)]
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.

4 months agoRename module string to string-h.
Bruno Haible [Fri, 27 Dec 2024 22:37:59 +0000 (23:37 +0100)]
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.

4 months agoRename module stdnoreturn to stdnoreturn-h.
Bruno Haible [Fri, 27 Dec 2024 22:29:02 +0000 (23:29 +0100)]
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.

4 months agoRename module stdlib to stdlib-h.
Bruno Haible [Fri, 27 Dec 2024 22:28:45 +0000 (23:28 +0100)]
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.

4 months agoRename module stdio to stdio-h.
Bruno Haible [Fri, 27 Dec 2024 22:24:51 +0000 (23:24 +0100)]
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.

4 months agoRename module stdint to stdint-h.
Bruno Haible [Fri, 27 Dec 2024 22:23:13 +0000 (23:23 +0100)]
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.

4 months agoRename module stddef to stddef-h.
Bruno Haible [Fri, 27 Dec 2024 22:23:10 +0000 (23:23 +0100)]
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.

4 months agoRename module stdckdint to stdckdint-h.
Bruno Haible [Fri, 27 Dec 2024 22:21:40 +0000 (23:21 +0100)]
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.

4 months agoRename module stdbool to stdbool-h.
Bruno Haible [Fri, 27 Dec 2024 22:18:14 +0000 (23:18 +0100)]
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.

4 months agoRename module stdbool-c99 to stdbool-h-c99.
Bruno Haible [Fri, 27 Dec 2024 22:18:10 +0000 (23:18 +0100)]
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.

4 months agoRename module stdarg to stdarg-h.
Bruno Haible [Fri, 27 Dec 2024 22:18:08 +0000 (23:18 +0100)]
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.

4 months agoRename module stdalign to stdalign-h.
Bruno Haible [Fri, 27 Dec 2024 22:16:18 +0000 (23:16 +0100)]
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.

4 months agoRename module spawn to spawn-h.
Bruno Haible [Fri, 27 Dec 2024 22:16:16 +0000 (23:16 +0100)]
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.

4 months agoRename module search to search-h.
Bruno Haible [Fri, 27 Dec 2024 22:16:13 +0000 (23:16 +0100)]
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.

4 months agoRename module sched to sched-h.
Bruno Haible [Fri, 27 Dec 2024 22:16:10 +0000 (23:16 +0100)]
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.

4 months agoRename module pty to pty-h.
Bruno Haible [Fri, 27 Dec 2024 22:14:38 +0000 (23:14 +0100)]
Rename module pty to pty-h.

* modules/pty-h: Renamed from modules/pty.
* modules/pty-h-tests: Renamed from modules/pty-tests.
* modules/pty-h-c++-tests: Renamed from modules/pty-c++-tests.
* tests/test-pty-h.c: Renamed from tests/test-pty.c.
* tests/test-pty-h-c++.cc: Renamed from tests/test-pty-c++.cc.
* doc/glibc-headers/pty.texi: Update.
* doc/gnulib-intro.texi: Update.
* modules/* (Depends-on): Update.
* modules/pty: New file.

4 months agoRename module netinet_in to netinet_in-h.
Bruno Haible [Fri, 27 Dec 2024 22:14:35 +0000 (23:14 +0100)]
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.

4 months agoRename module net_if to net_if-h.
Bruno Haible [Fri, 27 Dec 2024 22:14:32 +0000 (23:14 +0100)]
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.

4 months agoRename module netdb to netdb-h.
Bruno Haible [Fri, 27 Dec 2024 22:14:29 +0000 (23:14 +0100)]
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.

4 months agoRename module monetary to monetary-h.
Bruno Haible [Fri, 27 Dec 2024 22:14:27 +0000 (23:14 +0100)]
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.

4 months agoRename module mntent to mntent-h.
Bruno Haible [Fri, 27 Dec 2024 22:14:24 +0000 (23:14 +0100)]
Rename module mntent to mntent-h.

* modules/mntent-h: Renamed from modules/mntent.
* doc/glibc-headers/mntent.texi: Update.
* modules/* (Depends-on): Update.
* modules/mntent: New file.

4 months agoRename module math to math-h.
Bruno Haible [Fri, 27 Dec 2024 22:14:22 +0000 (23:14 +0100)]
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.

4 months agoRename module locale to locale-h.
Bruno Haible [Fri, 27 Dec 2024 22:14:18 +0000 (23:14 +0100)]
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.

4 months agoRename module langinfo to langinfo-h.
Bruno Haible [Fri, 27 Dec 2024 22:14:16 +0000 (23:14 +0100)]
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.

4 months agoRename module inttypes to inttypes-h.
Bruno Haible [Fri, 27 Dec 2024 22:14:13 +0000 (23:14 +0100)]
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.

4 months agoRename module inttypes-incomplete to inttypes-h-incomplete.
Bruno Haible [Fri, 27 Dec 2024 22:14:11 +0000 (23:14 +0100)]
Rename module inttypes-incomplete to inttypes-h-incomplete.

* modules/inttypes-h-incomplete: Renamed from
modules/inttypes-incomplete.
* modules/* (Depends-on): Update.
* modules/inttypes-incomplete: New file.

4 months agoRename module float to float-h.
Bruno Haible [Fri, 27 Dec 2024 22:14:08 +0000 (23:14 +0100)]
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.

4 months agoRename module fenv to fenv-h.
Bruno Haible [Fri, 27 Dec 2024 22:14:06 +0000 (23:14 +0100)]
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.

4 months agoRename module errno to errno-h.
Bruno Haible [Fri, 27 Dec 2024 22:14:03 +0000 (23:14 +0100)]
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.