summaryrefslogtreecommitdiff
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* doc: Fix outdated statement about Spanish collation.Bruno Haible2021-09-221-0/+6
| | | | | | | | Reported by Dietmar Schindler in <https://lists.gnu.org/archive/html/bug-gnulib/2021-09/msg00095.html>. * doc/regex.texi (Collating Elements vs. Characters): Choose another example of a digraph with special collation.
* doc: Don't assume that the output format is TeX-based or info.Bruno Haible2021-09-221-0/+8
| | | | | | | | Reported by Dietmar Schindler in <https://lists.gnu.org/archive/html/bug-gnulib/2021-09/msg00095.html>. * doc/regex.texi (Collating Elements vs. Characters): Assume a texinfo version that groks UTF-8 encoded ISO-8859-1 characters.
* regex: sync with glibcPaul Eggert2021-09-211-0/+7
| | | | | | * config/srclist.txt: Uncomment-out posix/regex.c and related files, as the Gnulib versions have now been copied to glibc. * lib/intprops.h: Remove authorship comment, as per glibc guidelines.
* maint: Avoid syntax-check failure for empty gnulib submodule.Simon Josefsson2021-09-201-0/+6
| | | | | * top/maint.mk (gnulib_dir): Fall back to GNULIB_SRCDIR if submodule is not checked out.
* Relicense qemu.h under LGPLv2+.Bruno Haible2021-09-201-0/+5
| | | | * tests/qemu.h: Change license header.
* ialloc: Update license headers after license change from 2021-08-29.Bruno Haible2021-09-191-0/+6
| | | | | * lib/ialloc.h: Update license header. * lib/ialloc.c: Likewise.
* Improve 'configure --help' output for crypto modules.Bruno Haible2021-09-191-0/+14
| | | | | | | | | | | | | * m4/af_alg.m4 (gl_AF_ALG): List the hash functions for which we use the Linux crypto. Also mention that we use it on files only. * m4/gl-openssl.m4 (gl_CRYPTO_CHECK): Use manual line breaking, not the line-filling style of AS_HELP_STRING. Show that --with-openssl takes an optional argument. List the hash functions for which we use the OpenSSL library. Don't mention --with-linux-crypto if the af_alg module is not in use. Mention that --with-linux-crypto applies only to the Linux kernel. Mention that it gets used only when available. Mention that it takes precedence only for files. In the error or warning, mention the pre-built package name that people can install.
* Add credit for a recent bug report.Bruno Haible2021-09-191-0/+2
|
* string, wchar: Don't require undefined m4 macros (regr. today).Bruno Haible2021-09-191-0/+9
| | | | | | | | | Reported by Colin Watson <cjwatson@debian.org> in <https://lists.gnu.org/archive/html/bug-gnulib/2021-09/msg00078.html>. * m4/string_h.m4 (gl_STRING_H_REQUIRE_DEFAULTS): Don't use m4_require directly. Instead, invoke gl_STDLIB_H_REQUIRE_DEFAULTS. * m4/wchar_h.m4 (gl_WCHAR_H_REQUIRE_DEFAULTS): Likewise.
* sm3-buffer tests: New module.Bruno Haible2021-09-191-0/+6
| | | | | | | * tests/test-sm3-buffer.c: Renamed from tests/test-sm3.c. * modules/crypto/sm3-buffer-tests: Renamed from modules/crypto/sm3-tests. Test tests/test-sm3-buffer.c instead of tests/test-sm3.c.
* sm3-buffer: New module.Bruno Haible2021-09-191-0/+10
| | | | | | | | | * lib/sm3-stream.c: New file, extracted from lib/sm3.c. * lib/sm3.c: Don't include stdlib.h, unlocked-io.h. (BLOCKSIZE, sm3_stream): Moved to sm3-stream.c. * lib/sm3.h: Tweak. * modules/crypto/sm3-buffer: New file, based on modules/crypto/sm3. * modules/crypto/sm3: Rewritten.
* sha512-buffer tests: New module.Bruno Haible2021-09-191-0/+8
| | | | | | | | | * tests/test-sha512-stream.c: Renamed from tests/test-sha512.c. * modules/crypto/sha512-buffer-tests: New file, based on modules/crypto/sha512-tests. * modules/crypto/sha512-tests: Remove tests that are now in modules/crypto/sha512-buffer-tests. Test tests/test-sha512-stream.c instead of tests/test-sha512.c.
* sha512: Clarify module to source relation.Bruno Haible2021-09-191-0/+13
| | | | | | | | | | | | * lib/sha512-stream.c: New file, extracted from lib/sha512.c. * lib/sha512.c: Don't include stdlib.h, unlocked-io.h. (BLOCKSIZE, shaxxx_stream, sha512_stream, sha384_stream): Moved to sha512-stream.c. * lib/sha512.h: Tweak. * modules/crypto/sha512 (Files): Add lib/sha512-stream.c. (configure.ac): Don't define GL_COMPILE_CRYPTO_STREAM. (Makefile.am): Arrange to compile sha512-stream.c. (Link): Mention $(LIB_CRYPTO).
* sha256-buffer tests: New module.Bruno Haible2021-09-191-0/+8
| | | | | | | | | * tests/test-sha256-stream.c: Renamed from tests/test-sha256.c. * modules/crypto/sha256-buffer-tests: New file, based on modules/crypto/sha256-tests. * modules/crypto/sha256-tests: Remove tests that are now in modules/crypto/sha256-buffer-tests. Test tests/test-sha256-stream.c instead of tests/test-sha256.c.
* sha256: Clarify module to source relation.Bruno Haible2021-09-191-0/+13
| | | | | | | | | | | | * lib/sha256-stream.c: New file, extracted from lib/sha256.c. * lib/sha256.c: Don't include stdlib.h, unlocked-io.h. (BLOCKSIZE, shaxxx_stream, sha256_stream, sha224_stream): Moved to sha256-stream.c. * lib/sha256.h: Tweak. * modules/crypto/sha256 (Files): Add lib/sha256-stream.c. (configure.ac): Don't define GL_COMPILE_CRYPTO_STREAM. (Makefile.am): Arrange to compile sha256-stream.c. (Link): Mention $(LIB_CRYPTO).
* sha1-buffer tests: New module.Bruno Haible2021-09-191-0/+10
| | | | | | | | | | | * tests/test-sha1-buffer.c: New file, based on tests/test-sha1.c. * tests/test-sha1-stream.c: Renamed from tests/test-sha1.c. (main): Remove sha1-buffer tests. * modules/crypto/sha1-buffer-tests: New file, based on modules/crypto/sha1-tests. * modules/crypto/sha1-tests: Remove tests that are now in modules/crypto/sha1-buffer-tests. Test tests/test-sha1-stream.c instead of tests/test-sha1.c.
* sha1: Clarify module to source relation.Bruno Haible2021-09-191-0/+12
| | | | | | | | | | | * lib/sha1-stream.c: New file, extracted from lib/sha1.c. * lib/sha1.c: Don't include stdlib.h, unlocked-io.h. (BLOCKSIZE, sha1_stream): Moved to sha1-stream.c. * lib/sha1.h: Correct indentation. * modules/crypto/sha1 (Files): Add lib/sha1-stream.c. (configure.ac): Don't define GL_COMPILE_CRYPTO_STREAM. (Makefile.am): Arrange to compile sha1-stream.c. (Link): Mention $(LIB_CRYPTO).
* md5-buffer tests: New module.Bruno Haible2021-09-191-0/+10
| | | | | | | | | | | * tests/test-md5-buffer.c: New file, based on tests/test-md5.c. * tests/test-md5-stream.c: Renamed from tests/test-md5.c. (main): Remove md5-buffer tests. * modules/crypto/md5-buffer-tests: New file, based on modules/crypto/md5-tests. * modules/crypto/md5-tests: Remove tests that are now in modules/crypto/md5-buffer-tests. Test tests/test-md5-stream.c instead of tests/test-md5.c.
* md5: Clarify module to source relation.Bruno Haible2021-09-191-0/+12
| | | | | | | | | | | * lib/md5-stream.c: New file, extracted from lib/md5.c. * lib/md5.c: Don't include stdlib.h, unlocked-io.h. (BLOCKSIZE, md5_stream): Moved to md5-stream.c. * lib/md5.h: Tweak. * modules/crypto/md5 (Files): Add lib/md5-stream.c. (configure.ac): Don't define GL_COMPILE_CRYPTO_STREAM. (Makefile.am): Arrange to compile md5-stream.c. (Link): Mention $(LIB_CRYPTO).
* md4-buffer tests: New module.Bruno Haible2021-09-191-0/+6
| | | | | | | * tests/test-md4-buffer.c: Renamed from tests/test-md4.c. * modules/crypto/md4-buffer-tests: Renamed from modules/crypto/md4-tests. Test tests/test-md4-buffer.c instead of tests/test-md4.c.
* md4-buffer: New module.Bruno Haible2021-09-191-0/+10
| | | | | | | | | * lib/md4-stream.c: New file, extracted from lib/md4.c. * lib/md4.c: Don't include stdlib.h, unlocked-io.h. (BLOCKSIZE, md4_stream): Moved to md4-stream.c. * lib/md4.h: Reorder declarations. * modules/crypto/md4-buffer: New file, based on modules/crypto/md4. * modules/crypto/md4: Rewritten.
* md2-buffer tests: New module.Bruno Haible2021-09-191-0/+6
| | | | | | | * tests/test-md2-buffer.c: Renamed from tests/test-md2.c. * modules/crypto/md2-buffer-tests: Renamed from modules/crypto/md2-tests. Test tests/test-md2-buffer.c instead of tests/test-md2.c.
* md2-buffer: New module.Bruno Haible2021-09-191-0/+10
| | | | | | | | | * lib/md2-stream.c: New file, extracted from lib/md2.c. * lib/md2.c: Don't include stdlib.h, unlocked-io.h. (BLOCKSIZE, md2_stream): Moved to md2-stream.c. * lib/md2.h: Reorder declarations. * modules/crypto/md2-buffer: New file, based on modules/crypto/md2. * modules/crypto/md2: Rewritten.
* string, wchar: Don't cause link errors for rpl_free (regr. 2021-09-07).Bruno Haible2021-09-181-0/+11
| | | | | | | | | | * lib/string.in.h (free, rpl_free): Consider GNULIB_FREE_POSIX variable. * lib/wchar.in.h (free, rpl_free): Likewise. * m4/string_h.m4 (gl_STRING_H_REQUIRE_DEFAULTS): Require module indicator variable initializations from the stdlib module. * m4/wchar_h.m4 (gl_WCHAR_H_REQUIRE_DEFAULTS): Likewise. * modules/string (Makefile.am): Substitute GNULIB_FREE_POSIX in string.h. * modules/wchar (Makefile.am): Substitute GNULIB_FREE_POSIX in wchar.h.
* threadlib: Avoid crashes in thread-related functions on Cygwin 3.2.0.Bruno Haible2021-09-171-0/+8
| | | | | | | | Reported by Brian Inglis via Akim Demaille in <https://lists.gnu.org/archive/html/bug-gnulib/2021-09/msg00063.html>. * m4/threadlib.m4 (gl_WEAK_SYMBOLS): Force a "guessing no" result on Cygwin.
* simple-atomic: Port to Oracle Studio 12.6.Bruno Haible2021-09-141-0/+6
| | | | * lib/simple-atomic.c (asm) [0x590 <= __SUNPRO_C && __STDC__]:
* asyncsafe-spin: port to Oracle Studio 12.6 sparcPaul Eggert2021-09-131-0/+8
| | | | | | | Problem reported by Dennis Clarke via Eric Blake in: https://lists.gnu.org/r/bug-gnulib/2021-09/msg00056.html * lib/asyncsafe-spin.c (asm) [0x590 <= __SUNPRO_C && __STDC__]: #define to __asm.
* stdint-tests: long long preproc on recent Sun CPaul Eggert2021-09-121-0/+6
| | | | | * tests/test-stdint.c: Test long long preprocessor constants on Oracle Developer Studio 12.6, where they should work.
* extern-inline: Fix syntax error on macOS with GCC 11 (regr. 2021-08-22).Bruno Haible2021-09-131-0/+8
| | | | | | | | Reported by Akim Demaille in <https://lists.gnu.org/archive/html/bug-gnulib/2021-09/msg00052.html>. * m4/extern-inline.m4 (_GL_INLINE, _GL_EXTERN_INLINE): Put _GL_UNUSED before, not after, 'static'.
* sigsegv: port to OpenBSD 6.8+ powerpc64Christian Weisgerber2021-09-111-0/+9
| | | | | | | | * lib/sigsegv.c (SIGSEGV_FAULT_STACKPOINTER): Special case for __OpenBSD__ && __powerpc64__, needed due to: https://github.com/openbsd/src/commit/5e649a8714ba05cf482011b7b7d1e5437b7c17db which is part of the oldest currently-supported OpenBSD (6.8), so we needn’t worry about older versions.
* maintainer-makefile: add 'can' to sc_prohibit_doubled_wordPádraig Brady2021-09-091-0/+5
| | | | * top/maint.mk (sc_prohibit_doubled_word): Check for "can can".
* strerror_r-posix: port even better to AndroidPaul Eggert2021-09-081-0/+15
| | | | | | | | | | | | | | | | * lib/strerror_r.c: Use STRERROR_R_CHAR_P to decide whether the system strerror_r returns char *, and HAVE_DECL_STRERROR_R to decide whether it either does that or returns an integer. In the former case, use the system strerror_r even on platforms like Android API level 23 that don’t have __xpg_strerror_r; also check for strerror_r failure just in case. * m4/error.m4 (gl_PREREQ_ERROR): * m4/strerror_r.m4 (gl_PREREQ_STRERROR_R): Use system extensions on Android, to avoid mishandling strerror_r on API level 23 and later. * modules/error, modules/strerror_r-posix (configure.ac): Surround gl_PREREQ_ERROR with AS_IF instead of plain if, so that AC_REQUIREs are propagated out.
* strerror_r-posix: port better to AndroidPaul Eggert2021-09-081-0/+10
| | | | | | | | | | | * m4/strerror_r.m4 (gl_FUNC_STRERROR_R): Move requirement of gl_USE_SYSTEM_EXTENSIONS from here ... (gl_FUNC_STRERROR_R_WORKS): ... to here, which is the macro that actually needs it. This avoids a bug where 'configure' tests whether strerror_r has the POSIX API before enabling GNU extensions. On Android, enabling GNU extensions switches from the POSIX to the GNU API. Problem reported by Lucy Phipps in: https://lists.gnu.org/r/bug-gnulib/2021-09/msg00026.html
* string, wchar: port rpl_free decl to AndroidPaul Eggert2021-09-081-0/+8
| | | | | | | * lib/string.in.h, lib/wchar.in.h: (free): When replacing it, declare the unreplaced version too. Problem reported by Lucy Phipps in: https://lists.gnu.org/r/bug-gnulib/2021-09/msg00026.html
* string, wchar: avoid some namespace pollutionPaul Eggert2021-09-071-0/+12
| | | | | | | | | | | * lib/string.in.h, lib/wchar.in.h: (free): Declare by hand instead of including stdlib.h. This avoids some namespace pollution. It should also avoid some nested-include problems described by Lucy Phipps in: https://lists.gnu.org/r/bug-gnulib/2021-09/msg00018.html * modules/string, modules/wchar: (Depends-on): Add stdlib, so that REPLACE_FREE has the right value. (Makefile.am): Replace @REPLACE_FREE@ when creating the include file.
* crypto: revert previous changePaul Eggert2021-09-071-7/+0
|
* crypto: add missing file af_alg.hPaul Eggert2021-09-061-0/+7
| | | | | | * modules/crypto/md5-buffer, modules/crypto/sha1-buffer: * modules/crypto/sha256-buffer, modules/crypto/sha512-buffer: (Files): Add lib/af_alg.h, since the .c files include it.
* idx: break copying from glibcPaul Eggert2021-09-041-0/+5
| | | | * config/srclist.txt: Comment out idx.h, and bring back recent change.
* sigsegv: Improve cross-compilation support for LoongArch CPU.Sun Haiyong2021-09-041-0/+6
| | | | | * m4/stack-direction.m4 (SV_STACK_DIRECTION): Assume the stack grows down on LoongArch.
* doc: Improve help related to bootstrap script.Simon Josefsson2021-09-041-0/+8
| | | | | | | * doc/gnulib-tool.texi (VCS Issues): Make title more positive, s/Issues/Integration/. Some more bootstrap-related hints, including changing suggested submodule path from .gnulib to gnulib as this seems to be more wide-spread.
* intprops: fix minor doc glitchesPaul Eggert2021-09-041-0/+5
| | | | * doc/intprops.texi (Integer Properties): Fix doc glitches.
* doc: Add suggestions on FDL texinfo usage.Simon Josefsson2021-09-041-0/+6
| | | | | * doc/licenses-texi.texi (License Texinfo sources): Add texinfo examples.
* maintainer-makefile: Add indentation syntax-check rule.Simon Josefsson2021-09-031-0/+9
| | | | | | | | * top/maint.mk (indent): Use AM_V_GEN and indent_args. (sc_indent): New rule. (indent_args): New variable. (C_SOURCES): New variable, initialized to reasonable C files. (exclude_file_name_regexp--indent): New variable.
* idx: add commentaryPaul Eggert2021-08-301-0/+7
| | | | | | * lib/idx.h: Add comments about ssize_t and strlen, in response to comments from Simon Josefsson in: https://lists.gnu.org/r/bug-gnulib/2021-08/msg00196.html
* attribute: keep up with gnulib-common.m4Paul Eggert2021-08-291-0/+7
| | | | | | * lib/attribute.h (ATTRIBUTE_DEALLOC, ATTRIBUTE_DEALLOC_FREE): New macros, aliases for the _GL_-prefixed macros added to gnulib-common.m4 last month.
* supersede: Fix test failure under QEMU user-mode for Linux/mips.Bruno Haible2021-08-301-0/+7
| | | | | | * tests/test-supersede-open.h (test_open_supersede): Copy statbuf.st_dev into a local variable of type dev_t. * tests/test-supersede-fopen.h (test_fopen_supersede): Likewise.
* spawn-pipe: Fix test failure when running under QEMU user-mode.Bruno Haible2021-08-301-0/+9
| | | | | | | | * tests/test-spawn-pipe-child.c: Include <stdbool.h>, <string.h>, qemu.h. (main): Under QEMU user-mode, allow fd 2 or fd 3 to be open. * modules/spawn-pipe-tests (Files): Add qemu.h. (Depends-on): Add stdbool.
* execute: Fix test failure when running under QEMU user-mode.Bruno Haible2021-08-301-0/+8
| | | | | | | * tests/test-execute-child.c: Include <stdbool.h>, qemu.h. (main): Under QEMU user-mode, allow fd 3 to be open. * modules/execute-tests (Files): Add qemu.h. (Depends-on): Add stdbool.
* posix_spawn_file_actions_addfchdir: Avoid test failure under QEMU.Bruno Haible2021-08-301-0/+12
| | | | | | | | | | | * tests/test-posix_spawn-fchdir.c: Include qemu.h. (is_qemu): New variable. (test): Under QEMU user-mode, don't expect that "pwd" produces the result "/". (main): Initialize is_qemu. Under QEMU user-mode, skip the relative file name test. * modules/posix_spawn_file_actions_addfchdir-tests (Files): Add qemu.h. (Depends-on): Add stdbool.
* getcwd tests: Avoid test failure when running under QEMU user-mode.Bruno Haible2021-08-301-0/+9
| | | | | | | | * modules/getcwd-tests (Files): Add qemu.h. (Depends-on): Add stdbool. * tests/test-getcwd.c: Include qemu.h. (test_long_name): Skip this test when running under QEMU user-mode. (main): Consider return code 77 from test_long_name.