]> Savannah Git Hosting - gnulib.git/log
gnulib.git
4 months agogit-version-gen: Support git-archive tarballs.
Simon Josefsson [Fri, 27 Dec 2024 09:44:16 +0000 (10:44 +0100)]
git-version-gen: Support git-archive tarballs.

* build-aux/git-version-gen: Use .tarball-version-git as final guess.

4 months agoDocument the ieee754-h module better.
Bruno Haible [Fri, 27 Dec 2024 09:58:12 +0000 (10:58 +0100)]
Document the ieee754-h module better.

* doc/glibc-headers/ieee754.texi: Mention the module ieee754-h. Give an
example of a platform without IEEE floating-point numbers.

4 months agoDocument the libunistring modules.
Bruno Haible [Fri, 27 Dec 2024 09:47:42 +0000 (10:47 +0100)]
Document the libunistring modules.

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

4 months agodoc: Improve an external reference.
Bruno Haible [Fri, 27 Dec 2024 09:46:26 +0000 (10:46 +0100)]
doc: Improve an external reference.

* doc/zprintf.texi: For an external reference, use @url when not
producing an info file.

4 months agogitlog-to-changelog: Handle srcdir!=builddir builds.
Simon Josefsson [Fri, 27 Dec 2024 09:18:24 +0000 (10:18 +0100)]
gitlog-to-changelog: Handle srcdir!=builddir builds.

* doc/gitlog-to-changelog.texi (dist-hook): Use --srcdir.

4 months agogitlog-to-changelog: Handle srcdir!=builddir builds.
Simon Josefsson [Thu, 26 Dec 2024 23:33:36 +0000 (00:33 +0100)]
gitlog-to-changelog: Handle srcdir!=builddir builds.

* doc/gitlog-to-changelog.texi (dist-hook): Use --srcdir.

4 months agodoc: Document the *-ieee modules.
Bruno Haible [Thu, 26 Dec 2024 06:21:51 +0000 (07:21 +0100)]
doc: Document the *-ieee modules.

* doc/posix-functions/cbrt.texi: Mention the cbrt-ieee module.
* doc/posix-functions/cbrtf.texi: Mention the cbrtf-ieee module.
* doc/posix-functions/exp.texi: Mention the exp-ieee module.
* doc/posix-functions/exp2.texi: Mention the exp2-ieee module.
* doc/posix-functions/exp2f.texi: Mention the exp2f-ieee module.
* doc/posix-functions/expf.texi: Mention the expf-ieee module.
* doc/posix-functions/expl.texi: Mention the expl-ieee module.
* doc/posix-functions/expm1l.texi: Mention the expm1l-ieee module.
* doc/posix-functions/fabs.texi: Mention the fabs-ieee module.
* doc/posix-functions/fabsf.texi: Mention the fabsf-ieee module.
* doc/posix-functions/fabsl.texi: Mention the fabsl-ieee module.
* doc/posix-functions/fma.texi: Mention the fma-ieee module.
* doc/posix-functions/fmaf.texi: Mention the fmaf-ieee module.
* doc/posix-functions/fmal.texi: Mention the fmal-ieee module.
* doc/posix-functions/frexp.texi: Mention the frexp-ieee module.
* doc/posix-functions/frexpf.texi: Mention the frexpf-ieee module.
* doc/posix-functions/frexpl.texi: Mention the frexpl-ieee module.
* doc/posix-functions/ldexp.texi: Mention the ldexp-ieee module.
* doc/posix-functions/ldexpf.texi: Mention the ldexpf-ieee module.
* doc/posix-functions/ldexpl.texi: Mention the ldexpl-ieee module.
* doc/posix-functions/log10l.texi: Mention the log10l-ieee module.
* doc/posix-functions/log2l.texi: Mention the log2l-ieee module.
* doc/posix-functions/logb.texi: Mention the logb-ieee module.
* doc/posix-functions/logbf.texi: Mention the logbf-ieee module.
* doc/posix-functions/logbl.texi: Mention the logbl-ieee module.
* doc/posix-functions/logl.texi: Mention the logl-ieee module.
* doc/posix-functions/rint.texi: Mention the rint-ieee module.
* doc/posix-functions/rintf.texi: Mention the rintf-ieee module.
* doc/posix-functions/rintl.texi: Mention the rintl-ieee module.
* doc/posix-functions/sqrt.texi: Mention the sqrt-ieee module.
* doc/posix-functions/sqrtf.texi: Mention the sqrtf-ieee module.
* doc/posix-functions/sqrtl.texi: Mention the sqrtl-ieee module.

4 months agoDocument the *zprintf functions.
Bruno Haible [Wed, 25 Dec 2024 20:17:50 +0000 (21:17 +0100)]
Document the *zprintf functions.

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

4 months agoxprintf, xprintf-posix, xprintf-gnu: Use *zprintf.
Bruno Haible [Wed, 25 Dec 2024 18:13:53 +0000 (19:13 +0100)]
xprintf, xprintf-posix, xprintf-gnu: Use *zprintf.

* lib/xprintf.h (xprintf, xvprintf, xfprintf, xvfprintf): Change return
type to off64_t. Move documentation from xprintf.c to here. Mention
EOVERFLOW as another possible error unrelated to file I/O.
* lib/xprintf.c (xprintf): Change return type to off64_t.
(xvprintf): Likewise. Use vzprintf.
(xfprintf): Change return type to off64_t.
(xvfprintf): Likewise. Use vfzprintf.
* modules/xprintf (Description): Mention also fprintf. Mention EOVERFLOW
as another possible error unrelated to file I/O.
(Depends-on): Add vzprintf, vfzprintf.
* modules/xprintf-posix (Description): Mention also fprintf. Mention
EOVERFLOW as another possible error unrelated to file I/O.
(Depends-on): Add vzprintf-posix, vfzprintf-posix. Remove vprintf-posix,
vfprintf-posix.
* modules/xprintf-gnu (Description): Mention also fprintf. Mention
EOVERFLOW as another possible error unrelated to file I/O.
(Depends-on): Add vzprintf-gnu, vfzprintf-gnu. Remove vprintf-gnu,
vfprintf-gnu.
* tests/test-xprintf-posix.c (RETTYPE): Change to off64_t.
* tests/test-xfprintf-posix.c (RETTYPE): Likewise.
* NEWS: Document the change.

4 months agostdlib: Improve change from 2024-12-23.
Bruno Haible [Wed, 25 Dec 2024 14:14:32 +0000 (15:14 +0100)]
stdlib: Improve change from 2024-12-23.

* m4/stdlib_h.m4 (gl_STDLIB_H): Improve indentation.

4 months agoaccess, euidaccess tests: Avoid test failure in Cygwin 3.5.5.
Bruno Haible [Wed, 25 Dec 2024 00:34:23 +0000 (01:34 +0100)]
access, euidaccess tests: Avoid test failure in Cygwin 3.5.5.

* tests/test-access.h [__CYGWIN__]: Include <grp.h>, <string.h>,
<unistd.h>.
(is_administrator): New function.
(is_root): New macro.
(test_access): Reenable F_OK test for non-administrators on Cygwin.
Disable X_OK test for administrators on Cygwin.

4 months agolocalename-unsafe: Improve the Windows UTF-8 environment support.
Bruno Haible [Tue, 24 Dec 2024 21:10:47 +0000 (22:10 +0100)]
localename-unsafe: Improve the Windows UTF-8 environment support.

Reported by Lasse Collin <lasse.collin@tukaani.org> in
<https://lists.gnu.org/archive/html/bug-gnulib/2024-12/msg00165.html>.

* lib/localename-unsafe.c (gl_locale_name_from_win32_LANGID): In locale
names with a modifier, insert the codeset part ".UTF-8" before the
modifier.

4 months agostdlib: support including stdlib.h from config.h
Paul Eggert [Tue, 24 Dec 2024 21:41:04 +0000 (13:41 -0800)]
stdlib: support including stdlib.h from config.h

Emacs <config.h> includes <stdlib.h> in some situations, causing
problems on macOS as described by Eli Zaretskii in:
https://lists.gnu.org/r/emacs-devel/2024-12/msg00923.html
Although this usage is not recommended, it is easier to support
it for POSIX-required headers, than to fix Emacs.
* doc/extern-inline.texi (extern inline): Document the Emacs problem.
* lib/endian.c, lib/math.c, lib/stdbit.c, lib/stdlib.c:
* lib/sys_socket.c, lib/unistd.c, lib/wctype-h.c:
Define #define _GL_..._INLINE to _GL_EXTERN_INLINE
before including <config.h>, not merely before including
the .h file that defines the inline function.

4 months agosetlocale: Fix a buffer overflow check (mistake in yesterday's commit).
Bruno Haible [Tue, 24 Dec 2024 17:35:01 +0000 (18:35 +0100)]
setlocale: Fix a buffer overflow check (mistake in yesterday's commit).

* lib/setlocale.c (setlocale_unixlike): Update buffer overflow check.

4 months agodoc: Document mingw with MSVCRT vs. mingw with UCRT.
Bruno Haible [Tue, 24 Dec 2024 13:45:58 +0000 (14:45 +0100)]
doc: Document mingw with MSVCRT vs. mingw with UCRT.

* doc/posix-functions/btowc.texi: Add more details regarding mingw.
* doc/posix-functions/fopen.texi: Likewise.
* doc/posix-functions/mbrtowc.texi: Likewise.
* doc/posix-functions/mbsinit.texi: Likewise.
* doc/posix-functions/modf.texi: Likewise.
* doc/posix-functions/modff.texi: Likewise.
* doc/posix-functions/round.texi: Likewise.
* doc/posix-functions/roundf.texi: Likewise.
* doc/posix-functions/swprintf.texi: Likewise.
* doc/posix-functions/timespec_get.texi: Likewise.
* doc/posix-functions/wcrtomb.texi: Likewise.

4 months agowchar: Support several gnulib-tool invocations better.
Bruno Haible [Tue, 24 Dec 2024 10:23:45 +0000 (11:23 +0100)]
wchar: Support several gnulib-tool invocations better.

* lib/wchar.in.h (_GL_ALREADY_INCLUDING_WCHAR_H): Rename to a macro that
depends on GUARD_PREFIX.
(mbszero): Avoid duplicate definition.

4 months agothreads-h: Support several gnulib-tool invocations better.
Bruno Haible [Tue, 24 Dec 2024 10:22:40 +0000 (11:22 +0100)]
threads-h: Support several gnulib-tool invocations better.

* lib/threads.in.h (_GL_ALREADY_INCLUDING_THREADS_H): Rename to a macro
that depends on GUARD_PREFIX.
(struct thrd_with_exitcode): Avoid duplicate definition.

4 months agosys_socket: Support several gnulib-tool invocations better.
Bruno Haible [Tue, 24 Dec 2024 10:21:51 +0000 (11:21 +0100)]
sys_socket: Support several gnulib-tool invocations better.

* lib/sys_socket.in.h (_GL_ALREADY_INCLUDING_SYS_SOCKET_H): Rename to a
macro that depends on GUARD_PREFIX.
(struct msghdr): Avoid duplicate definition.

4 months agostring: Support several gnulib-tool invocations better.
Bruno Haible [Tue, 24 Dec 2024 10:20:52 +0000 (11:20 +0100)]
string: Support several gnulib-tool invocations better.

* lib/string.in.h (_GL_ALREADY_INCLUDING_STRING_H): Rename to a macro
that depends on GUARD_PREFIX.

4 months agostdio: Support several gnulib-tool invocations better.
Bruno Haible [Tue, 24 Dec 2024 10:19:49 +0000 (11:19 +0100)]
stdio: Support several gnulib-tool invocations better.

* lib/stdio.in.h: Test _GL_SKIP_GNULIB_STDIO_H.
(_GL_ALREADY_INCLUDING_STDIO_H): Rename to a macro that depends on
GUARD_PREFIX.
* lib/fopen.c: Set _GL_SKIP_GNULIB_STDIO_H instead of
_GL_ALREADY_INCLUDING_STDIO_H.
* lib/freopen.c: Likewise.

4 months agospawn: Support several gnulib-tool invocations better.
Bruno Haible [Tue, 24 Dec 2024 10:17:31 +0000 (11:17 +0100)]
spawn: Support several gnulib-tool invocations better.

* lib/spawn.in.h (_GL_ALREADY_INCLUDING_SPAWN_H): Rename to a macro that
depends on GUARD_PREFIX.

4 months agosignal-h: Support several gnulib-tool invocations better.
Bruno Haible [Tue, 24 Dec 2024 10:25:01 +0000 (11:25 +0100)]
signal-h: Support several gnulib-tool invocations better.

* lib/signal.in.h (_GL_ALREADY_INCLUDING_SIGNAL_H): Rename to a macro
that depends on GUARD_PREFIX.

4 months agopthread-h: Support several gnulib-tool invocations better.
Bruno Haible [Tue, 24 Dec 2024 10:16:25 +0000 (11:16 +0100)]
pthread-h: Support several gnulib-tool invocations better.

* lib/pthread.in.h (_GL_ALREADY_INCLUDING_PTHREAD_H): Rename to a macro
that depends on GUARD_PREFIX.

4 months agomalloc-h: Support several gnulib-tool invocations better.
Bruno Haible [Tue, 24 Dec 2024 10:15:25 +0000 (11:15 +0100)]
malloc-h: Support several gnulib-tool invocations better.

* lib/malloc.in.h (_GL_ALREADY_INCLUDING_MALLOC_H): Rename to a macro
that depends on GUARD_PREFIX.

4 months agolocale: Support several gnulib-tool invocations better.
Bruno Haible [Tue, 24 Dec 2024 10:14:20 +0000 (11:14 +0100)]
locale: Support several gnulib-tool invocations better.

* lib/locale.in.h (_GL_ALREADY_INCLUDING_LOCALE_H): Rename to a macro
that depends on GUARD_PREFIX.
(struct lconv): Avoid duplicate definition.

4 months agolimits-h: Support several gnulib-tool invocations better.
Bruno Haible [Tue, 24 Dec 2024 10:13:16 +0000 (11:13 +0100)]
limits-h: Support several gnulib-tool invocations better.

* lib/limits.in.h (_GL_ALREADY_INCLUDING_LIMITS_H): Rename to a macro
that depends on GUARD_PREFIX.

4 months agostdlib: fix MB_CUR_MAX on older Android
Paul Eggert [Mon, 23 Dec 2024 20:57:12 +0000 (12:57 -0800)]
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.

4 months agostdlib: MB_CUR_MAX is type size_t
Paul Eggert [Mon, 23 Dec 2024 20:23:22 +0000 (12:23 -0800)]
stdlib: MB_CUR_MAX is type size_t

* lib/stdlib.in.h (gl_MB_CUR_MAX): Return size_t, not int,
to conform to POSIX.

4 months agombrtowc tests: Test in the UTF-8 environment on native Windows.
Bruno Haible [Mon, 23 Dec 2024 15:59:20 +0000 (16:59 +0100)]
mbrtowc tests: Test in the UTF-8 environment on native Windows.

* tests/test-mbrtowc-w32utf8.sh: New file.
* tests/test-mbrtowc-w32utf8.c: New file.
* modules/mbrtowc-tests (Files): Add these files and
m4/windows-rc.m4, tests/windows-utf8.rc, tests/windows-utf8.manifest.
(Depends-on): Add test-xfail.
(configure.ac): Invoke gl_WINDOWS_RC.
(Makefile.am): Arrange to compile test-mbrtowc-w32utf8 and run
test-mbrtowc-w32utf8.sh.

4 months agosetlocale tests: Test in the UTF-8 environment on native Windows.
Bruno Haible [Mon, 23 Dec 2024 15:58:53 +0000 (16:58 +0100)]
setlocale tests: Test in the UTF-8 environment on native Windows.

* tests/test-setlocale-w32utf8.sh: New file.
* tests/test-setlocale-w32utf8.c: New file.
* modules/setlocale-tests (Files): Add these files and
m4/windows-rc.m4, tests/windows-utf8.rc, tests/windows-utf8.manifest.
(Depends-on): Add test-xfail.
(configure.ac): Invoke gl_WINDOWS_RC.
(Makefile.am): Arrange to compile test-setlocale-w32utf8 and run
test-setlocale-w32utf8.sh.

4 months agosetlocale: Support the UTF-8 environment on native Windows.
Bruno Haible [Mon, 23 Dec 2024 15:57:15 +0000 (16:57 +0100)]
setlocale: Support the UTF-8 environment on native Windows.

* lib/setlocale.c: Include <windows.h>.
(setlocale_unixlike): In the UTF-8 environment, append a suffix ".65001"
to the locale names passed to the native setlocale().

4 months agolocalename tests: Test in the UTF-8 environment on native Windows.
Bruno Haible [Mon, 23 Dec 2024 15:57:02 +0000 (16:57 +0100)]
localename tests: Test in the UTF-8 environment on native Windows.

* tests/test-localename-w32utf8.sh: New file.
* tests/test-localename-w32utf8.c: New file.
* modules/localename-tests (Files): Add these files and
m4/windows-rc.m4, tests/windows-utf8.rc, tests/windows-utf8.manifest.
(Depends-on): Add test-xfail.
(configure.ac): Invoke gl_WINDOWS_RC.
(Makefile.am): Arrange to compile test-localename-w32utf8 and run
test-localename-w32utf8.sh.

4 months agolocalename-unsafe: Support the UTF-8 environment on native Windows.
Bruno Haible [Mon, 23 Dec 2024 15:56:57 +0000 (16:56 +0100)]
localename-unsafe: Support the UTF-8 environment on native Windows.

* lib/localename-unsafe.c (gl_locale_name_from_win32_LANGID): Append a
suffix ".UTF-8" to the result if GetACP() is UTF-8.

4 months agolocalcharset tests: Test in the UTF-8 environment on native Windows.
Bruno Haible [Mon, 23 Dec 2024 15:56:37 +0000 (16:56 +0100)]
localcharset tests: Test in the UTF-8 environment on native Windows.

* m4/windows-rc.m4: New file.
* tests/test-localcharset-w32utf8.sh: New file.
* tests/test-localcharset-w32utf8.c: New file.
* tests/windows-utf8.rc: New file.
* tests/windows-utf8.manifest: New file.
* modules/localcharset-tests (Files): Add these files.
(Depends-on): Add test-xfail.
(configure.ac): Invoke gl_WINDOWS_RC.
(Makefile.am): Arrange to compile test-localcharset-w32utf8 and run
test-localcharset-w32utf8.sh.

4 months agolocalcharset: Support the UTF-8 environment on native Windows.
Bruno Haible [Mon, 23 Dec 2024 15:56:15 +0000 (16:56 +0100)]
localcharset: Support the UTF-8 environment on native Windows.

* lib/localcharset.c (locale_charset): Recognize also the special case
of a setlocale() result that ends in ".UTF-8".

4 months agosetlocale tests: Add unit test for LC_MESSAGES handling.
Bruno Haible [Mon, 23 Dec 2024 15:51:51 +0000 (16:51 +0100)]
setlocale tests: Add unit test for LC_MESSAGES handling.

* tests/test-setlocale-w32.c: New file.
* modules/setlocale-tests (Files): Add it.
(Makefile.am): Arrange to compile and run test-setlocale-w32.

4 months agosetlocale: Handle LC_MESSAGES correctly on native Windows.
Bruno Haible [Mon, 23 Dec 2024 15:43:17 +0000 (16:43 +0100)]
setlocale: Handle LC_MESSAGES correctly on native Windows.

* lib/setlocale.c (setlocale_improved): Revamp the LC_ALL case if
LC_MESSAGES is 1729.

4 months agoc32isprint tests: Avoid test failure on mingw/ucrt.
Bruno Haible [Sun, 22 Dec 2024 13:34:29 +0000 (14:34 +0100)]
c32isprint tests: Avoid test failure on mingw/ucrt.

* tests/test-c32isprint.c (main): Disable test that fails on mingw/ucrt.

4 months agobtowc: Fix declaration on mingw/ucrt.
Bruno Haible [Sun, 22 Dec 2024 11:40:17 +0000 (12:40 +0100)]
btowc: Fix declaration on mingw/ucrt.

* m4/btowc.m4 (gl_FUNC_BTOWC): Require gt_TYPE_WINT_T. If gnulib
overrides wint_t, set REPLACE_BTOWC to 1.

4 months agoposix_spawn_file_actions_addchdir tests: Avoid test failure on MSYS2.
Bruno Haible [Sun, 22 Dec 2024 11:10:14 +0000 (12:10 +0100)]
posix_spawn_file_actions_addchdir tests: Avoid test failure on MSYS2.

* tests/test-posix_spawn-chdir.c (test): Recognize also the 'pwd' output
for root on MSYS2.

4 months agotest-framework-sh: Avoid test suite failures on MSYS2.
Bruno Haible [Sun, 22 Dec 2024 11:03:22 +0000 (12:03 +0100)]
test-framework-sh: Avoid test suite failures on MSYS2.

* tests/init.sh (compare_) [MSys]: Use a temporary file on MSYS2.
* tests/test-update-copyright.sh: Use the test framework.
(compare): Remove function.
* modules/update-copyright-tests (Depends-on): Add test-framework-sh.

4 months agotest-framework-sh: Avoid test suite failures on MSYS2.
Bruno Haible [Sun, 22 Dec 2024 07:11:59 +0000 (08:11 +0100)]
test-framework-sh: Avoid test suite failures on MSYS2.

* tests/init.sh (mkdir) [MSys]: New function.

4 months agoexecl, execle, execlp: Fix compilation error with gcc 14.
Bruno Haible [Sun, 22 Dec 2024 03:38:48 +0000 (04:38 +0100)]
execl, execle, execlp: Fix compilation error with gcc 14.

* lib/execl.c (execl): Cast second argument of execv.
* lib/execle.c (execle): Cast second argument of execve.
* lib/execlp.c (execlp): Cast second argument of execvp.

4 months agocrc-x86_64: Fix compilation error with clang in a simpler way.
Bruno Haible [Sun, 22 Dec 2024 00:09:17 +0000 (01:09 +0100)]
crc-x86_64: Fix compilation error with clang in a simpler way.

Suggested by Collin Funk.

* modules/crc-x86_64 (Makefile.am): Revert last change.
* lib/crc-x86_64-pclmul.c: Normalize includes.
(crc32_update_no_xor_pclmul): Use __attribute__ ((__target (...))).
* m4/crc-x86_64.m4 (gl_CRC_X86_64_PCLMUL): Use
__attribute__ ((__target (...))) here as well. Don't use modified
CFLAGS.

4 months agocrc-x86_64: Fix compilation error with clang.
Bruno Haible [Sat, 21 Dec 2024 21:59:18 +0000 (22:59 +0100)]
crc-x86_64: Fix compilation error with clang.

* modules/crc-x86_64 (Makefile.am): Declare a separate library
libpclmul.{a,la}.
* lib/crc-x86_64-pclmul.c: Remove the GCC pragmas.

4 months agognulib-tool: Recognize @LT@, @la@, @lo@ tokens in module descriptions.
Bruno Haible [Sat, 21 Dec 2024 21:56:46 +0000 (22:56 +0100)]
gnulib-tool: Recognize @LT@, @la@, @lo@ tokens in module descriptions.

* gnulib-tool.sh (func_emit_lib_Makefile_am): Replace @LT@, @la@, @lo@
tokens.
(func_emit_tests_Makefile_am): Likewise.
* pygnulib/GLEmiter.py (GLEmiter.lib_Makefile_am): Likewise.
(GLEmiter.tests_Makefile_am): Likewise.

4 months agoautoupdate
Karl Berry [Sat, 21 Dec 2024 15:01:14 +0000 (07:01 -0800)]
autoupdate

4 months agostdint: Detect MSVC __typeof__ support.
Bruno Haible [Fri, 20 Dec 2024 08:47:39 +0000 (09:47 +0100)]
stdint: Detect MSVC __typeof__ support.

* m4/stdint.m4 (gl_STDINT_H): Copy condition from lib/stdbit.in.h.

4 months agointprops: Detect MSVC __typeof__ support.
Collin Funk [Fri, 20 Dec 2024 01:59:57 +0000 (17:59 -0800)]
intprops: Detect MSVC __typeof__ support.

* lib/intprops-internal.h (_GL_HAVE___TYPEOF__): Copy condition from
lib/stdbit.in.h.

4 months agostdbit-h: Detect MSVC __typeof__ support.
Collin Funk [Fri, 20 Dec 2024 01:53:48 +0000 (17:53 -0800)]
stdbit-h: Detect MSVC __typeof__ support.

* lib/stdbit.in.h (_GL_STDBIT_TYPEOF_CAST): Use __typeof__ on Visual
Studio 2022 version 17.9 and later.

4 months agocrc-x86_64: fix build failure due to indentation
Pádraig Brady [Wed, 18 Dec 2024 12:53:02 +0000 (12:53 +0000)]
crc-x86_64: fix build failure due to indentation

* modules/crc-x86_64: Remove indentation on lib_SOURCES,
as otherwise it's replaced with libcoreutils_a_SOURCES
rather than the required lib_libcoreutils_a_SOURCES, resulting in:
lib/gnulib.mk:1090: error: libcoreutils_a_SOURCES must be set with '=' before using '+='
lib/gnulib.mk:1090: warning: variable 'libcoreutils_a_SOURCES' is defined but no program or
lib/gnulib.mk:1090: library has 'libcoreutils_a' as canonical name (possible typo)

4 months agocrc-x86_64: Tweaks.
Bruno Haible [Tue, 17 Dec 2024 17:26:22 +0000 (18:26 +0100)]
crc-x86_64: Tweaks.

* modules/crc-x86_64 (Include): Fix the file name.
* m4/crc-x86_64.m4 (gl_CRC_X86_64_PCLMUL): Improve indentation.

4 months agoxstdopen: Improve error message.
Bruno Haible [Tue, 17 Dec 2024 17:21:03 +0000 (18:21 +0100)]
xstdopen: Improve error message.

* lib/xstdopen.c (xstdopen): Improve error message. Ignore the errno
value.

4 months agocrc: Add PCLMUL implementation
Sam Russell [Tue, 17 Dec 2024 07:49:50 +0000 (08:49 +0100)]
crc: Add PCLMUL implementation

* lib/crc-x86_64-pclmul.c: Implement CRC32 with PCLMUL intrinsics.
* lib/crc-x86_64.h: Add header for CRC32 with PCLMUL instrinsics.
* lib/crc.c: Use PCLMUL implementation if available.
* m4/crc-x86_64.m4: Detect PCLMUL and build accordingly.
* modules/crc-x86_64: New module for crc-x86_64.

Signed-off-by: Simon Josefsson <simon@josefsson.org>
4 months agoautoupdate
Karl Berry [Sun, 15 Dec 2024 15:14:36 +0000 (07:14 -0800)]
autoupdate

4 months agoatexit: document z/OS bug
Paul Eggert [Fri, 13 Dec 2024 07:01:14 +0000 (23:01 -0800)]
atexit: document z/OS bug

* doc/posix-functions/atexit.texi: Mention z/OS issue
raised by Sachin <https://bugs.gnu.org/74788>.

4 months agobcp47: Silence a gcc 14 -Wanalyzer-infinite-loop warning.
Bruno Haible [Thu, 12 Dec 2024 13:07:06 +0000 (14:07 +0100)]
bcp47: Silence a gcc 14 -Wanalyzer-infinite-loop warning.

* lib/bcp47.c: Include <stdlib.h>.
(bcp47_to_xpg): Verify an invariant through an abort().

4 months agodoc: fix typo in previous patch
Paul Eggert [Wed, 11 Dec 2024 20:24:09 +0000 (12:24 -0800)]
doc: fix typo in previous patch

4 months agodoc: isdigit and isxdigit are locale-independent
Paul Eggert [Wed, 11 Dec 2024 20:17:18 +0000 (12:17 -0800)]
doc: isdigit and isxdigit are locale-independent

* doc/posix-functions/isdigit.texi:
* doc/posix-functions/isxdigit.texi:
Document that mingw and MSVC do not conform to the C standard,
which says that isdigit and isxdigit are independent of locale.
Issue pointed out by Florian Weimer in:
https://sourceware.org/pipermail/libc-alpha/2024-December/162362.html

4 months agodoc: document non-translation
Paul Eggert [Wed, 11 Dec 2024 16:45:11 +0000 (08:45 -0800)]
doc: document non-translation

* doc/gnulib-tool.texi (Localization):
Say what to do if you don’t want translations.

4 months agoopenat-die: Fix a gcc -Wformat -Wformat-security warning.
Bruno Haible [Tue, 10 Dec 2024 20:19:17 +0000 (21:19 +0100)]
openat-die: Fix a gcc -Wformat -Wformat-security warning.

* lib/openat-die.c (openat_save_fail, openat_restore_fail): Put the
internationalized error message into non-format-string position.

4 months agoannounce-gen: Mention git commit and tag in announcement.
Simon Josefsson [Tue, 10 Dec 2024 08:57:33 +0000 (09:57 +0100)]
announce-gen: Mention git commit and tag in announcement.

* build-aux/announce-gen (this_commit_hash): New variable.
(main): Print git commit hash and tag.
(main): Put git-log info near git and NEWS info.

4 months agomaintainer-makefile: Pass on $(announce_gen_args) to announce-gen.
Simon Josefsson [Tue, 10 Dec 2024 08:52:37 +0000 (09:52 +0100)]
maintainer-makefile: Pass on $(announce_gen_args) to announce-gen.

* top/maint.mk (announce_gen_args): New variable, for cfg.mk use.
(announcement): Use it.

4 months agoxstrtol-error: Use the translation domain "gnulib".
Bruno Haible [Mon, 9 Dec 2024 12:34:51 +0000 (13:34 +0100)]
xstrtol-error: Use the translation domain "gnulib".

* lib/xstrtol-error.c (_): New macro.
(xstrtol_error): Use dgettext() instead of gettext().
* modules/xstrtol-error (Depends-on): Add gnulib-i18n.

4 months agoxprintf: Use the translation domain "gnulib".
Bruno Haible [Mon, 9 Dec 2024 12:33:15 +0000 (13:33 +0100)]
xprintf: Use the translation domain "gnulib".

* lib/xprintf.c (_): New macro.
(xvprintf, xvfprintf): Use it instead of gettext().
* modules/xprintf (Depends-on): Add gnulib-i18n.

4 months agounicodeio: Use the translation domain "gnulib".
Bruno Haible [Mon, 9 Dec 2024 12:31:23 +0000 (13:31 +0100)]
unicodeio: Use the translation domain "gnulib".

* lib/unicodeio.h (unicode_to_mb): Clarify that the message passed to
the failure callback may already be localized.
* lib/unicodeio.c (unicode_to_mb): For the messages defined in this
file, use the translation domain "gnulib".

4 months agofile-type: Use the translation domain "gnulib".
Bruno Haible [Mon, 9 Dec 2024 12:28:43 +0000 (13:28 +0100)]
file-type: Use the translation domain "gnulib".

* lib/file-type.c (file_type): Use the translation domain "gnulib".
* modules/file-type (Depends-on): Add gnulib-i18n.

4 months agoargmatch: Use the translation domain "gnulib".
Bruno Haible [Mon, 9 Dec 2024 12:26:51 +0000 (13:26 +0100)]
argmatch: Use the translation domain "gnulib".

* lib/argmatch.h (ARGMATCH_DEFINE_GROUP): Use translation domain
"gnulib" for the literal string here.

4 months agoLocalizations: Fix omissions from the POT file.
Bruno Haible [Mon, 9 Dec 2024 12:18:21 +0000 (13:18 +0100)]
Localizations: Fix omissions from the POT file.

Reported by Benno Schulenberg.

* po/Makefile ($(DOMAIN).pot): Remove the file pre-filtering; just pass
all source files to xgettext.
* po/Makevars (XGETTEXT_OPTIONS): Recognize gettext_noop as a keyword.

4 months agognulib-tool: Fix test failures (regression 2024-12-06).
Bruno Haible [Mon, 9 Dec 2024 11:30:23 +0000 (12:30 +0100)]
gnulib-tool: Fix test failures (regression 2024-12-06).

* gnulib-tool.sh (func_import): Try both remove-potcdate.sin and
remove-potcdate.sed, whichever exists.
* pygnulib/GLImport.py (GLImport.execute): Likewise.

4 months agognupload: mention GPG_TTY
Paul Eggert [Mon, 9 Dec 2024 08:04:57 +0000 (00:04 -0800)]
gnupload: mention GPG_TTY

* build-aux/gnupload (usage): Mention GPG_TTY and gpg-agent.

4 months agoquotearg tests: Fix test failure (regression yesterday).
Bruno Haible [Mon, 9 Dec 2024 08:51:01 +0000 (09:51 +0100)]
quotearg tests: Fix test failure (regression yesterday).

* tests/testlocale/fr/LC_MESSAGES/gnulib.po: Renamed from
tests/testlocale/fr/LC_MESSAGES/test-quotearg.po.
* tests/testlocale/fr/LC_MESSAGES/gnulib.mo: Renamed from
tests/testlocale/fr/LC_MESSAGES/test-quotearg.mo.
* tests/test-quotearg.c (main): Use bindtextdomain for the domain
"gnulib", not "test-quotearg".
* tests/test-quotearg.sh: Fix typo in comments.
* modules/quotearg-tests (Files): Update.

4 months agoUse the translation domain "gnulib".
Bruno Haible [Mon, 9 Dec 2024 03:37:06 +0000 (04:37 +0100)]
Use the translation domain "gnulib".

Fix mistake in recent ChangeLog entry.

4 months agoDocument the new approach for gnulib localization.
Bruno Haible [Sun, 8 Dec 2024 17:15:49 +0000 (18:15 +0100)]
Document the new approach for gnulib localization.

* doc/gnulib-tool.texi (Localization): Recommend to use the gnulib-l10n
package. Deprecate the two previous approaches.
* gnulib-tool.sh (func_usage): Deprecate the --po-base and --po-domain
options.
* pygnulib/GLInfo.py (GLInfo.usage): Likewise.

4 months agoUse the translation domain "gnulib".
Bruno Haible [Sun, 8 Dec 2024 17:05:31 +0000 (18:05 +0100)]
Use the translation domain "gnulib".

* lib/argmatch.c (_): Use translation domain "gnulib".
* lib/bitset/stats.c (_): Likewise.
* lib/c-stack.c (_): Likewise.
* lib/clean-temp.c (_): Likewise.
* lib/clean-temp-simple.c (_): Likewise.
* lib/closein.c (_): Likewise.
* lib/closeout.c (_): Likewise.
* lib/copy-acl.c (_): Likewise.
* lib/copy-file.c (_): Likewise.
* lib/csharpcomp.c (_): Likewise.
* lib/csharpexec.c (_): Likewise.
* lib/cygpath.c (_): Likewise.
* lib/dfa.c (_): Likewise.
* lib/error.c (_): Likewise.
* lib/execute.c (_): Likewise.
* lib/gai_strerror.c (_): Likewise.
* lib/getaddrinfo.c (_): Likewise.
* lib/getopt.c (_): Likewise.
* lib/javacomp.c (_): Likewise.
* lib/javaexec.c (_): Likewise.
* lib/javaversion.c (_): Likewise.
* lib/mkdir-p.c (_): Likewise.
* lib/obstack.c (_) [!_LIBC]: Likewise.
* lib/openat-die.c (_): Likewise.
* lib/os2-spawn.c (_): Likewise.
* lib/pagealign_alloc.c (_): Likewise.
* lib/parse-datetime.y (_): Likewise.
* lib/pipe-filter-gi.c (_): Likewise.
* lib/pipe-filter-ii.c (_): Likewise.
* lib/quotearg.c (_): Likewise.
* lib/regex_internal.h (_): Likewise.
* lib/rpmatch.c (_): Likewise.
* lib/set-acl.c (_): Likewise.
* lib/sigpipe-die.c (_): Likewise.
* lib/spawn-pipe.c (_): Likewise.
* lib/strsignal.c (_) [!_LIBC]: Likewise.
* lib/timevar.c (_): Likewise.
* lib/unicodeio.c (_): Likewise.
* lib/userspec.c (_): Likewise.
* lib/version-etc.c (_): Likewise.
* lib/wait-process.c (_): Likewise.
* lib/xalloc-die.c (_): Likewise.
* lib/xbinary-io.c (_): Likewise.
* lib/xfreopen.c (_): Likewise.
* lib/xmemcoll.c (_): Likewise.
* lib/xsetenv.c (_): Likewise.
* lib/xstdopen.c (_): Likewise.
* lib/xstrerror.c (_): Likewise.
* modules/acl (Depends-on): Add gnulib-i18n.
* modules/argmatch (Depends-on): Likewise.
* modules/bitset (Depends-on): Likewise.
* modules/c-stack (Depends-on): Likewise.
* modules/clean-temp (Depends-on): Likewise.
* modules/clean-temp-simple (Depends-on): Likewise.
* modules/closein (Depends-on): Likewise.
* modules/closeout (Depends-on): Likewise.
* modules/copy-file (Depends-on): Likewise.
* modules/csharpcomp (Depends-on): Likewise.
* modules/csharpexec (Depends-on): Likewise.
* modules/cygpath (Depends-on): Likewise.
* modules/dfa (Depends-on): Likewise.
* modules/error (Depends-on): Likewise.
* modules/execute (Depends-on): Likewise.
* modules/getaddrinfo (Depends-on): Likewise.
* modules/getopt-posix (Depends-on): Likewise.
* modules/javacomp (Depends-on): Likewise.
* modules/javaexec (Depends-on): Likewise.
* modules/javaversion (Depends-on): Likewise.
* modules/mkdir-p (Depends-on): Likewise.
* modules/obstack (Depends-on): Likewise.
* modules/openat-die (Depends-on): Likewise.
* modules/pagealign_alloc (Depends-on): Likewise.
* modules/parse-datetime (Depends-on): Likewise.
* modules/pipe-filter-gi (Depends-on): Likewise.
* modules/pipe-filter-ii (Depends-on): Likewise.
* modules/quotearg (Depends-on): Likewise.
* modules/regex (Depends-on): Likewise.
* modules/rpmatch (Depends-on): Likewise.
* modules/sigpipe-die (Depends-on): Likewise.
* modules/spawn-pipe (Depends-on): Likewise.
* modules/strsignal (Depends-on): Likewise.
* modules/timevar (Depends-on): Likewise.
* modules/unicodeio (Depends-on): Likewise.
* modules/userspec (Depends-on): Likewise.
* modules/version-etc (Depends-on): Likewise.
* modules/wait-process (Depends-on): Likewise.
* modules/xalloc-die (Depends-on): Likewise.
* modules/xbinary-io (Depends-on): Likewise.
* modules/xfreopen (Depends-on): Likewise.
* modules/xmemcoll (Depends-on): Likewise.
* modules/xsetenv (Depends-on): Likewise.
* modules/xstdopen (Depends-on): Likewise.
* modules/xstrerror (Depends-on): Likewise.

4 months agognulib-i18n: New module.
Bruno Haible [Sun, 8 Dec 2024 16:50:07 +0000 (17:50 +0100)]
gnulib-i18n: New module.

* m4/gnulib-i18n.m4: New file, based on m4/bison-i18n.m4.
* modules/gnulib-i18n: New file.

4 months agoAdd infrastructure for handling gnulib localizations.
Bruno Haible [Sun, 8 Dec 2024 16:40:53 +0000 (17:40 +0100)]
Add infrastructure for handling gnulib localizations.

* po/Makefile: New file.
* po/Makevars: New file, based on the template from GNU gettext.
* gnulib-l10n/README: New file.
* gnulib-l10n/configure.ac: New file.
* gnulib-l10n/Makefile.am: New file.
* gnulib-l10n/m4/Makefile.am: New file.
* gnulib-l10n/autogen.sh: New file.
* gnulib-l10n/autoclean.sh: New file.
* Makefile (gnulib.pot, gnulib-tp-snapshot, gnulib-l10n-release): New
targets.

4 months agobison-i18n: Improve usability.
Bruno Haible [Sun, 8 Dec 2024 16:13:00 +0000 (17:13 +0100)]
bison-i18n: Improve usability.

* modules/bison-i18n (Depends-on): Remove 'gettext'.
* m4/bison-i18n.m4 (BISON_I18N): Instead of bailing out if there is no
AM_GNU_GETTEXT invocation, just warn. Define BISON_LOCALEDIR also in
config.h, removing the need to do it in the Makefile.

4 months agoUpdate dependencies of modules that include "gettext.h".
Bruno Haible [Sun, 8 Dec 2024 14:24:13 +0000 (15:24 +0100)]
Update dependencies of modules that include "gettext.h".

* modules/closein (Depends-on): Add gettext-h.
* modules/dfa (Depends-on): Likewise.
* modules/error (Depends-on): Likewise.
* modules/xfreopen (Depends-on): Likewise.
* modules/xstrerror (Depends-on): Likewise.

4 months agoUpdate COPYING file.
Bruno Haible [Sat, 7 Dec 2024 14:59:11 +0000 (15:59 +0100)]
Update COPYING file.

* COPYING: Remove statements that are not true any more since
2021-06-04.

4 months agosignbit: Fix compilation error with g++ 5.5 on Solaris 10.
Bruno Haible [Fri, 6 Dec 2024 19:48:06 +0000 (20:48 +0100)]
signbit: Fix compilation error with g++ 5.5 on Solaris 10.

Reported by G. Branden Robinson <g.branden.robinson@gmail.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2024-11/msg00180.html>.

* lib/math.in.h (signbit): In C++ 11 or newer, assume that <math.h> or
<cmath> may define signbit through three inline functions.

4 months agoUpdate build-aux/po/Makefile.in.in.
Bruno Haible [Fri, 6 Dec 2024 08:16:37 +0000 (09:16 +0100)]
Update build-aux/po/Makefile.in.in.

Reported by Assaf Gordon in
<https://lists.gnu.org/archive/html/bug-gnulib/2019-08/msg00045.html>
and by Reuben Thomas <rrt@sc3d.org> in
<https://lists.gnu.org/archive/html/bug-gnulib/2023-02/msg00020.html>.

* build-aux/po/Makefile.in.in: Sync from GNU gettext 0.23.
Fixes:
- Don't fail when 'make' is used with option -j.
- Pass the option --quiet to 'msgmerge'.
- Simplify by assuming that 'sed' groks comments.
* build-aux/po/remove-potcdate.sed: Renamed from
build-aux/po/remove-potcdate.sin.
* doc/gnulib.texi (Developer tools): Update file list.
* gnulib-tool.sh (func_import): Copy remove-potcdate.sed instead of
remove-potcdate.sin.
* pygnulib/GLImport.py (GLImport.execute): Likewise.

4 months agognulib-tool.py: Fix invalid use of cache.
Bruno Haible [Thu, 5 Dec 2024 08:43:14 +0000 (09:43 +0100)]
gnulib-tool.py: Fix invalid use of cache.

* pygnulib/GLModuleSystem.py (GLModule._getDependents): Make the modules
argument mandatory. Don't store the result in self.cache.

4 months agognulib-tool.py: Refactor.
Bruno Haible [Thu, 5 Dec 2024 08:28:13 +0000 (09:28 +0100)]
gnulib-tool.py: Refactor.

* pygnulib/GLModuleSystem.py (GLModuleSystem.getAllModules): Moved here
from GLModule._getAllModules. No need to eliminate empty module names.
(GLModule._getDependents, GLModule.getDependentsRecursively): Update.

4 months agognulib-tool.py: Remove dead code.
Bruno Haible [Thu, 5 Dec 2024 08:14:49 +0000 (09:14 +0100)]
gnulib-tool.py: Remove dead code.

* pygnulib/GLModuleSystem.py (GLModule.getDependents): Remove top_level
parameter. Use the cached value if present.
* pygnulib/main.py: Update accordingly.

4 months agognulib-tool.py: Make --extract-dependents quick again.
Collin Funk [Thu, 5 Dec 2024 02:49:45 +0000 (18:49 -0800)]
gnulib-tool.py: Make --extract-dependents quick again.

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

* pygnulib/GLModuleSystem.py (GLModule.getDependents): Add an optional
argument to use the implementation before yesterdays change.
* pygnulib/main.py (mode == 'extract-dependents'): Add the optional
argument to call of GLModule.getDependents.

4 months agoFix a recent ChangeLog entry.
Collin Funk [Thu, 5 Dec 2024 01:28:44 +0000 (17:28 -0800)]
Fix a recent ChangeLog entry.

4 months agoautoupdate
Karl Berry [Wed, 4 Dec 2024 23:23:37 +0000 (15:23 -0800)]
autoupdate

4 months agobison-i18n: Ensure BISON_LOCALEDIR_c expands to a C string.
Bruno Haible [Wed, 4 Dec 2024 22:18:17 +0000 (23:18 +0100)]
bison-i18n: Ensure BISON_LOCALEDIR_c expands to a C string.

Reported by Holger Hoffstätte via Sam James <sam@gentoo.org>.

* m4/bison-i18n.m4 (BISON_I18N): Define BISON_LOCALEDIR_c and
BISON_LOCALEDIR_c_make in the usual way even when BISON_LOCALEDIR
expands to empty.

5 months agognulib-tool.py: Optimize --extract-recursive-dependencies.
Collin Funk [Wed, 4 Dec 2024 03:17:52 +0000 (19:17 -0800)]
gnulib-tool.py: Optimize --extract-recursive-dependencies.

* pygnulib/GLModuleSystem.py (GLModuleSystem.list): Add optional
argument to include test modules.
(GLModule._getDependents) New function.
(GLModule.getDependents): Use it.
(GLModule.getDependentsRecursively): Likewise.
(GLModule._getAllModules): New function.

5 months agostrerror_r-posix: Silence gcc 14 warning.
Bruno Haible [Tue, 3 Dec 2024 19:38:12 +0000 (20:38 +0100)]
strerror_r-posix: Silence gcc 14 warning.

* lib/strerror_r.c (strerror_r): Silence -Wformat-truncation warning.

5 months agogettext: Sync with gettext 0.23.
Bruno Haible [Mon, 2 Dec 2024 21:26:44 +0000 (22:26 +0100)]
gettext: Sync with gettext 0.23.

* m4/gettext.m4: Update from current gettext git.
* m4/po.m4: Likewise.

5 months agoannounce-gen: Add option --cksum-checksums.
Bruno Haible [Mon, 2 Dec 2024 20:27:56 +0000 (21:27 +0100)]
announce-gen: Add option --cksum-checksums.

* build-aux/announce-gen: Accept option --cksum-checksums.
(usage): Document option --cksum-checksums.
(print_checksums): Add prefer_cksum parameter.

5 months agoannounce-gen: Show an SHA256 sum that can be verified more easily.
Bruno Haible [Sun, 1 Dec 2024 13:40:34 +0000 (14:40 +0100)]
announce-gen: Show an SHA256 sum that can be verified more easily.

* build-aux/announce-gen (print_checksums): Output SHA256 sum in hex,
instead of base64 wrapped.

5 months agoannounce-gen: Fix bug when accessing symlinks.
Bruno Haible [Sun, 1 Dec 2024 12:49:03 +0000 (13:49 +0100)]
announce-gen: Fix bug when accessing symlinks.

* build-aux/announce-gen (sizes): Pass the option -L to 'du'.

5 months agofpurge: Improve configure test.
Bruno Haible [Wed, 27 Nov 2024 06:33:34 +0000 (07:33 +0100)]
fpurge: Improve configure test.

Reported by Eli Schwartz <eschwartz@gentoo.org>.

* m4/fpurge.m4 (gl_FUNC_FPURGE): If fpurge is not declared, don't test
whether it works. Remove now-redundant cross-compilation guess.

5 months agofpurge: Improve configure test.
Bruno Haible [Tue, 26 Nov 2024 08:38:42 +0000 (09:38 +0100)]
fpurge: Improve configure test.

Reported by Eli Schwartz <eschwartz@gentoo.org>.

* m4/fpurge.m4 (gl_FUNC_FPURGE): If fpurge is not declared, don't test
whether it works.

5 months agobootstrap: avoid sc_prohibit_undesirable_word_seq failure
Simon Josefsson [Mon, 25 Nov 2024 16:23:21 +0000 (17:23 +0100)]
bootstrap: avoid sc_prohibit_undesirable_word_seq failure

* build-aux/bootstrap: Regenerated.

5 months agobootstrap: avoid sc_prohibit_undesirable_word_seq failure
Simon Josefsson [Mon, 25 Nov 2024 15:37:31 +0000 (16:37 +0100)]
bootstrap: avoid sc_prohibit_undesirable_word_seq failure

* top/bootstrap-funclib.sh: s/can not/cannot/

5 months agodoc: Add missing module index.
Collin Funk [Sun, 24 Nov 2024 19:17:29 +0000 (11:17 -0800)]
doc: Add missing module index.

Reported by Bruno Haible <bruno@clisp.org> in
<https://lists.gnu.org/archive/html/bug-gnulib/2024-11/msg00193.html>.

* doc/glibc-functions/glob_pattern_p.texi (glob_pattern_p): Add module index.