kc3-lang/gnulib

Branch :


Log

Author Commit Date CI Message
d3c1eca9 2021-08-07 23:15:21 xstrndup: Improve GCC 11 allocation-deallocation checking. * lib/xstrndup.h: Include <stdlib.h> instead of <stddef.h>. (xstrndup): Declare that deallocation must happen through 'free'.
5f7e4b01 2021-08-07 23:11:48 xstriconveh: Improve GCC 11 allocation-deallocation checking. * lib/xstriconveh.h: Include <stdlib.h> instead of <stddef.h>. (xstr_cd_iconveh, xstr_iconveh): Declare that deallocation must happen through 'free'.
5c2fcfe2 2021-08-07 23:08:45 xmemdup0: Improve GCC 11 allocation-deallocation checking. * lib/xmemdup0.h: Include <stdlib.h> instead of <stddef.h>. (xmemdup0): Declare that deallocation must happen through 'free'.
4a0993e3 2021-08-07 23:05:51 windows-spawn: Improve GCC 11 allocation-deallocation checking. * lib/windows-spawn.h: Include <stdlib.h>. (compose_command, compose_envblock): Declare that deallocation must happen through 'free'.
40cc7b7e 2021-08-07 22:16:55 string-buffer: Improve GCC 11 allocation-deallocation checking. * lib/string-buffer.h: Include <stdlib.h> instead of <stddef.h>. (sb_dupfree): Declare that deallocation must happen through 'free'.
21884ba6 2021-08-07 22:14:02 striconveha: Improve GCC 11 allocation-deallocation checking. * lib/striconveha.h: Include <stdlib.h> instead of <stddef.h>. (str_iconveha): Declare that deallocation must happen through 'free'.
392c16a0 2021-08-07 22:10:29 striconveh: Improve GCC 11 allocation-deallocation checking. * lib/striconveh.h: Include <stdlib.h> instead of <stddef.h>. (str_cd_iconveh, str_iconveh): Declare that deallocation must happen through 'free'.
4a49d74a 2021-08-07 22:08:16 striconv: Improve GCC 11 allocation-deallocation checking. * lib/striconv.h: Include <stdlib.h> instead of <stddef.h>. (str_cd_iconv, str_iconv): Declare that deallocation must happen through 'free'.
ccecca2b 2021-08-07 22:04:55 relocatable-lib-lgpl: Improve GCC 11 allocation-deallocation checking. * lib/relocatable.h: Include <stdlib.h>. (compute_curr_prefix): Declare that deallocation must happen through 'free'.
72ec85ae 2021-08-07 22:02:37 regex-quote: Improve GCC 11 allocation-deallocation checking. * lib/regex-quote.h: Include <stdlib.h> instead of <stddef.h>. (regex_quote): Declare that deallocation must happen through 'free'.
fe15063a 2021-08-07 21:55:00 readline: Improve GCC 11 allocation-deallocation checking. * lib/readline.h: Include <stdlib.h>. (readline): Declare that deallocation must happen through 'free'.
ce3c801b 2021-08-07 21:52:48 read-file: Improve GCC 11 allocation-deallocation checking. * lib/read-file.h: Include <stdlib.h> instead of <stddef.h>. (fread_file, read_file): Declare that deallocation must happen through 'free'.
16aea871 2021-08-07 21:49:55 pipe-filter-gi: Improve GCC 11 allocation-deallocation checking. * lib/pipe-filter.h (pipe_filter_gi_close): Move declaration up. (pipe_filter_gi_create): Declare that deallocation must happen through 'pipe_filter_gi_close'.
5ce620f7 2021-08-07 21:46:24 javaversion: Improve GCC 11 allocation-deallocation checking. * lib/javaversion.h: Include <stdlib.h>. (javaexec_version): Declare that deallocation must happen through 'free'.
9405768c 2021-08-07 19:47:47 ino-map: Improve GCC 11 allocation-deallocation checking. * lib/ino-map.h (ino_map_free): Move declaration up. (ino_map_alloc): Declare that deallocation must happen through 'ino_map_free'.
d665f4db 2021-08-07 19:45:19 hash: Improve GCC 11 allocation-deallocation checking. * lib/hash.h (hash_free): Move declaration up. (hash_initialize, hash_xinitialize): Declare that deallocation must happen through 'hash_free'.
5adafd69 2021-08-07 19:42:08 hamt: Improve GCC 11 allocation-deallocation checking. * lib/hamt.h (hamt_free): Move declaration up. (hamt_create, hamt_copy): Declare that deallocation must happen through 'hamt_free'.
8af7649e 2021-08-07 19:36:50 get_progname_of: Improve GCC 11 allocation-deallocation checking. * lib/get_progname_of.h: Include <stdlib.h>. (get_progname_of): Declare that deallocation must happen through 'free'.
80e5de15 2021-08-07 19:34:16 fts: Improve GCC 11 allocation-deallocation checking. * lib/fts_.h (fts_open): Declare that deallocation must happen through 'fts_close'.
8b16a88f 2021-08-07 19:32:01 eealloc: Improve GCC 11 allocation-deallocation checking. * lib/eealloc.h (eemalloc): Declare that deallocation must happen through 'free'.
ae274538 2021-08-07 19:29:57 di-set: Improve GCC 11 allocation-deallocation checking. * lib/di-set.h (di_set_free): Move declaration up. (di_set_alloc): Declare that deallocation must happen through 'di_set_free'.
56312173 2021-08-07 19:27:05 [x]concat-filename: Improve GCC 11 allocation-deallocation checking. * lib/concat-filename.h: Include <stdlib.h>. (concatenated_filename, xconcatenated_filename): Declare that deallocation must happen through 'free'.
65460a3a 2021-08-07 19:23:57 clean-temp: Improve GCC 11 allocation-deallocation checking. * lib/clean-temp.h (cleanup_temp_dir): Move declaration up. (create_temp_dir): Declare that deallocation must happen through 'cleanup_temp_dir'.
f0bfa2ea 2021-08-07 19:21:19 canon-host: Improve GCC 11 allocation-deallocation checking. * lib/canon-host.h: Include <stdlib.h>. (canon_host, canon_host_r): Declare that deallocation must happen through 'free'.
6decb4e2 2021-08-07 19:16:48 c-xvasprintf: Improve GCC 11 allocation-deallocation checking. * lib/c-xvasprintf.h: Include <stdlib.h>. (c_xasprintf, c_xvasprintf): Declare that deallocation must happen through 'free'.
0e96b118 2021-08-07 19:13:56 bitsetv: Improve GCC 11 allocation-deallocation checking. * lib/bitsetv.h (bitsetv_free): Move declaration up. (bitsetv_alloc, bitsetv_create): Declare that deallocation must happen through 'bitsetv_free'.
a8b11d9c 2021-08-07 19:10:38 bitset: Improve GCC 11 allocation-deallocation checking. * lib/bitset.h (bitset_free): Move declaration up. (bitset_alloc, bitset_create): Declare that deallocation must happen through 'bitset_free'. (bitset_obstack_free): Move declaration up. (bitset_obstack_alloc): Declare that deallocation must happen through 'bitset_obstack_free'.
3f14ad2a 2021-08-07 19:05:31 argv-iter: Improve GCC 11 allocation-deallocation checking. * lib/argv-iter.h (argv_iter_free): Move declaration up. (argv_iter_init_argv, argv_iter_init_stream): Declare that deallocation must happen through 'argv_iter_free'.
2fb0672b 2021-08-07 19:00:42 argp: Improve GCC 11 allocation-deallocation checking. * lib/argp-fmtstream.h (__argp_fmtstream_free, argp_fmtstream_free): Move declarations up. (__argp_make_fmtstream): Declare that deallocation must happen through '__argp_fmtstream_free'. (argp_make_fmtstream): Declare that deallocation must happen through 'argp_fmtstream_free'.
9cf8b021 2021-08-07 18:55:45 areadlink, areadlinkat: Improve GCC 11 allocation-deallocation checking. * lib/areadlink.h: Include <stdlib.h> instead of <stddef.h>. (areadlink, areadlink_with_size, areadlinkat, areadlinkat_with_size): Declare that deallocation must happen through 'free'.
a2dcb11b 2021-08-07 18:17:55 stdio: Improve GCC 11 allocation-deallocation checking. * lib/stdio.in.h (fdopen, fopen, tmpfile): Declare that deallocation must happen through 'fclose'. (popen): Declare that deallocation must happen through 'pclose'. * lib/stdio-safer.h (fopen_safer, tmpfile_safer): Declare that deallocation must happen through 'fclose'. (popen_safer): Declare that deallocation must happen through 'pclose'. (freopen_safer): Declare that arguments must be non-NULL.
d57726ca 2021-08-07 18:05:44 dirent: Improve GCC 11 allocation-deallocation checking. * lib/dirent.in.h (closedir): Move declaration up. (opendir, fdopendir): Declare that that deallocation must happen through 'closedir'. * lib/dirent-safer.h (opendir_safer): Likewise. * lib/opendirat.h (opendirat): Likewise.
e78a8a2d 2021-08-07 16:40:12 stdlib, string, wchar: Improve GCC 11 allocation-deallocation checking. * lib/stdlib.in.h (free): Move declaration up. (aligned_alloc, calloc, canonicalize_file_name, malloc, realloc): Declare that deallocation must happen through 'free' (which may actually be 'rpl_free'). * lib/string.in.h: Include <stdlib.h>. (strdup): Declare deallocation. * lib/wchar.in.h: Include <stdlib.h>. (wcsdup): Declare deallocation. * lib/malloc.in.h: Include <stdlib.h>. (memalign): Declare deallocation.
edb4fbdc 2021-08-07 16:03:22 year2038: Fix recommendation regarding -m64 flag. * m4/year2038.m4 (gl_YEAR2038_BODY): Recommend to put option --m64 in CC, not in CPPFLAGS and LDFLAGS.
10d4999c 2021-08-07 15:24:51 quotearg: Tweak last commit. * lib/quotearg.h: Don't include <stddef.h>. Remove stray semicolon.
c67dc34d 2021-08-07 15:19:33 malloca: Tweak last commit. * lib/malloca.h: Keep use and declaration of mmalloca close together.
648dc42b 2021-08-07 15:11:43 dirname-lgpl, sh-quote, system-quote, xstriconv: Clean up includes. * lib/dirname.h: Don't include <stddef.h>. * lib/sh-quote.h: Likewise. * lib/system-quote.h: Likewise. * lib/xstriconv.h: Likewise.
ba20910e 2021-08-07 15:01:33 dfa: Improve GCC 11 allocation-deallocation checking. * lib/dfa.h (dfamust): Declare that deallocation must happen through dfamustfree.
2533aa89 2021-08-06 15:08:27 glob: merge from glibc * lib/glob-libc.h, lib/glob.c: Merge changes from glibc 2.34. The result should be copyable directly into glibc. * modules/glob-h (glob-libc.gl.h): Also omit __THROWNL.
81852598 2021-08-04 11:18:39 announce-gen: Text fix suggested by Paul Eggert.
322a8eb6 2021-08-03 21:16:33 announce-gen: Text fix suggested by Jim Meyering.
3ace7783 2021-08-03 17:16:42 maintainer-makefile: Print checksums by default. * top/maint.mk (announcement): Drop --no-print-checksums.
4adae938 2021-08-03 17:15:16 announce-gen: Print SHA1/B64(SHA256) instead of MD5/SHA1. * build-aux/announce-gen (%digest_classes): Removed. (usage): Doc fix. (print_checksums): Instead of MD5/SHA1, print SHA1 and B64(SHA256), inspired by OpenSSH announcements.
8acb4bce 2021-08-03 07:31:39 autoupdate
6dae7213 2021-08-02 16:49:01 manywarnings: enable some malloc warnings * m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): Stop adding -Wno-analyzer-double-free, -Wno-analyzer-null-dereference, and -Wno-analyzer-use-after-free, as these false alarms don’t seem to be as much of an issue now that we’ve pacified a couple of individual modules and GCC has some bug fixes.
b03cdc1b 2021-08-02 11:36:30 dfa: omit unneeded malloc+free Problem indirectly found by Coverity. * lib/dfa.c (enlistnew): New function, with most of the body of the old ‘enlist’. It assumes its arg NEW has been malloced and can be freed eventually. (enlist, addlists, dfamust): Use it. (dfamust): Omit an unnecessary malloc+free.
7c6538cf 2021-08-02 09:44:59 year2038: work even if time_t is narrower than int
784f55e5 2021-08-02 09:30:50 year2038: port to unusual time_t platforms * m4/year2038.m4 (gl_YEAR2038_TEST_INCLUDES): Check that time_t can go to 2**32 - 1, not to 2**63 - 1, as the former is enough to be year 2038 safe. Unsigned 32-bit time_t (AmigaOS) and signed 40-bit time_t (Unisys ClearPath) have occurred in the wild, and even if Gnulib code is rarely or never ported to them there’s no need to exclude them merely because of year 2038 issues. (gl_YEAR2038_BODY): Adjust messages to match. Use 2**32 - 1, not 2**32, as the test timestamp, to allow unsigned 32-bit time_t.
9b69ffb7 2021-08-01 22:27:49 xalloc: no attribute (malloc (free)) on inline The GCC manual says you can’t use __attribute__ ((__malloc__ (free, 1))) on inline functions. Problem discovered when compiling diffutils 3.8 on RHEL 8.4 using a GCC 11.2.0 that I built myself. Perhaps the problem was not discovered earlier because the attribute works with ‘free’ (which is what I was seeing before on Fedora 34) but not with ‘rpl_free’ (seen on RHEL 8.4). Anyway, the GCC manual says it shouldn’t work at all, so don’t use it. * lib/xalloc.h (xnmalloc, xcharalloc): No longer inline. * lib/xmalloc.c (xcharalloc, xnmalloc): Move function bodies here. * m4/gnulib-common.m4 (_GL_ATTRIBUTE_DEALLOC) (_GL_ATTRIBUTE_DEALLOC_FREE): Document that these cannot be used on inline functions, as per the GCC 11.2.1 manual.
49782e40 2021-08-01 17:59:05 * lib/quotarg.c: remove wrong, unneeded comment
dbc0251f 2021-08-01 17:57:43 sigsegv-tests: make more things static * tests/test-sigsegv-catch-segv1.c: * tests/test-sigsegv-catch-stackoverflow1.c: * tests/test-sigsegv-catch-stackoverflow2.c: Declare some functions and variables static, to pacify GCC when warning about external functions missing declarations.
3ffd7643 2021-08-01 17:56:18 manywarnings: improve -fanalyzer malloc checking
cfa469f4 2021-08-01 17:52:29 argmatch-tests: improve -fanalyzer malloc checking
6b3915fd 2021-08-01 17:51:11 vasnprintf: improve -fanalyzer malloc checking
3efc9c5e 2021-08-01 17:48:29 xvasprintf: improve -fanalyzer malloc checking
91448cc9 2021-08-01 17:47:24 xstriconv: improve -fanalyzer malloc checking
ff5b9bac 2021-08-01 17:46:47 xreadlink: improve -fanalyzer malloc checking
0fb92d9b 2021-08-01 17:46:13 xmalloca: improve -fanalyzer malloc checking
8136f0c5 2021-08-01 17:45:24 xgethostname: improve -fanalyzer malloc checking
cc5b1eca 2021-08-01 17:44:46 xgetcwd: improve -fanalyzer malloc checking
77dd7535 2021-08-01 17:44:05 trim: improve -fanalyzer malloc checking
6f4134a4 2021-08-01 17:41:59 savedir: improve -fanalyzer malloc checking
e2301aab 2021-08-01 17:40:30 readutmp: improve -fanalyzer malloc checking
c902e7c9 2021-08-01 17:43:35 system-quote: improve -fanalyzer malloc checking
65597d95 2021-08-01 17:42:56 sh-quote: improve -fanalyzer malloc checking
15fd07e1 2021-08-01 17:39:38 quotearg: improve -fanalyzer malloc checking
c343a5b6 2021-08-01 17:38:29 pagalign_alloc: improve -fanalyzer malloc checking
7aa16623 2021-08-01 17:37:11 mountlist: improve -fanalyzer malloc checking
248b13b8 2021-08-01 17:36:09 modechange: improve -fanalyzer malloc checking
8c6a9945 2021-08-01 17:35:17 malloca: improve -fanalyzer malloc checking
b279b399 2021-08-01 17:31:38 filenamecat-lgpl: improve -fanalyzer malloc checking
17cfd8ce 2021-08-01 17:30:17 exclude: improve -fanalyzer malloc checking
d8bba112 2021-08-01 17:29:26 dirname: improve -fanalyzer malloc checking
b4018b8c 2021-08-01 17:28:01 dfa: improve -fanalyzer malloc checking
0ff70809 2021-08-01 17:24:52 maint: improve -fanalyzer malloc checking * lib/canonicalize.h:
6838239f 2021-08-01 17:23:48 backupfile: improve -fanalyzer malloc checking * lib/backup-internal.h, lib/backupfile.h: Add malloc-related attributes and include stdlib.h as needed.
b4890589 2021-08-01 12:26:49 regex: pacify GCC 11.2.1's -fanalyzer * lib/regex_internal.c (re_node_set_merge): Add a debug assertion to pacify GCC 11.2.1's -fanalyzer.
98ebee77 2021-08-01 15:38:04 limits-h tests: Add tests for BOOL_MAX and BOOL_WIDTH. * tests/test-limits-h.c (bool_attrs): New variable. Check value of BOOL_MAX.
53701517 2021-07-31 13:32:02 regex: pacify GCC 11.2 -fanalyzer * lib/regex_internal.c (re_node_set_insert): Add a debug assertion to pacify GCC 11.2 -fanalyzer.
f404a63d 2021-07-31 12:58:51 maint: pacify GCC 11.2 -fanalyzer in crypto tests * tests/bench-digest.h (main): Report an error after memory exhaustion, instead of using a null pointer.
ad28cce8 2021-07-31 11:59:55 doc: C2X -> C2x
0c484f5b 2021-07-30 12:56:24 xalloc: add malloc-related function attributes * lib/quotearg.h, lib/xalloc.h: Include stdlib.h, for the benefit of _GL_ATTRIBUTE_DALLOC_FREE. * lib/quotearg.h (clone_quoting_options): * lib/xalloc.h (xmalloc, ximalloc, xzalloc, xizalloc, xcalloc) (xicalloc, xrealloc, xirealloc, xireallocarray, x2realloc) (x2nrealloc, xmemdup, ximemdup, xstrdup, xnmalloc, xcharalloc): Add _GL_ATTRIBUTE_DALLOC_FREE and _GL_ATTRIBUTE_RETURNS_NONNULL attributes as appropriate.
5ac0cc90 2021-07-30 12:56:24 gnulib-common: update for gcc -Wmismatched-dealloc * m4/gnulib-common.m4 (gl_COMMON_BODY): Define the macros _GL_ATTRIBUTE_DEALLOC and _GL_ATTRIBUTE_DEALLOC_FREE. These can be useful with gcc -Wmismatched-dealloc.
786bb6fb 2021-07-30 12:56:24 gnulib-common: update for C2x 2020-12-11 draft Use blessed-by-draft-standard way to test for [[__deprecated__]] etc.; this is supported by GCC 11 and the fallback code should work fine with GCC 10 and earlier, clang, etc. * NEWS, doc/attribute.texi: Mention that DEPRECATED etc. must now come first. * lib/fflush.c, lib/unistr.in.h: Do not include unused-parameter.h. All uses of _GL_UNUSED_PARAMETER (after parameters) replaced by _GL_ATTRIBUTE_MAYBE_UNUSED (before parameters). Although perhaps we need a shorter name for _GL_ATTRIBUTE_MAYBE_UNUSED, that should probably be in gnulib-common.m4, due to the ubiquity of this issue. And perhaps the snippet/unused-parameter module should be marked obsolete since it's no longer compatible with its old use. * m4/gnulib-common.m4 (gl_COMMON_BODY): Define the macro _GL_HAS_C_ATTRIBUTE, and use it instead of __STDC_VERSION__ in deciding whether to use C2x attributes like [[__deprecated__]]. (_GL_ATTRIBUTE_MAYBE_UNUSED): Fall back on _GL_ATTRIBUTE_UNUSED. (_GL_ATTRIBUTE_UNUSED): New macro, for labels where C2x [[maybe_unused]] do not work. (_GL_UNUSED, _GL_UNUSED_LABEL): Use it. * modules/fflush, modules/unistr/base (Depends-on): Remove snippet/unused-parameter. * modules/fflush (selinux/selinux.h, selinux/context.h) (selinux/label.h): Do not use $(UNUSED_PARAMETER). Remove useless chmod a-x.
c44470fb 2021-07-30 12:56:24 manywarnings: document GCC 11 warnings * build-aux/gcc-warning.spec: Add warnings introduced in GCC 11. None of them require Gnulib code changes, so this is just a documentation change.
8e4d6bf2 2021-07-30 12:56:24 limits-h: add BOOL_MAX, BOOL_WIDTH * doc/posix-headers/limits.texi (limits.h): Document them. * lib/limits.in.h: Also define CHAR_WIDTH etc. if C2x. (BOOL_MAX, BOOL_WIDTH): New macros, from C2x. * m4/limits-h.m4 (gl_LIMITS_H): Also check BOOL_WIDTH.
804ac808 2021-07-28 10:37:57 maintainer-makefile: Respect cfg.mk setting announcement_Cc_, reverting most of the previous patch. * top/maint.mk (announcement_mail_Cc_stable): Rename back to announcement_Cc_stable. (announcement_Cc_alpha): Rename back to announcement_mail_Cc_alpha. (announcement_Cc_): Renamed from announcement_mail_Cc_. (announcement_mail_headers_stable) (announcement_mail_headers_alpha): Use announcement_Cc_ again.
4ee99665 2021-07-28 10:23:37 maintainer-makefile: Fix announcement mail CC's. * top/maint.mk (announcement_Cc_stable): Rename to announcement_mail_Cc_stable. (announcement_Cc_alpha): Rename to announcement_mail_Cc_alpha. (announcement_mail_headers_stable) (announcement_mail_headers_alpha): Use announcement_mail_Cc_ instead of announcement_Cc_.
ec87cff2 2021-07-25 13:18:20 Assume GNU gettext >= 0.17. * modules/vasprintf (Notice): Remove. * modules/xvasprintf (Notice): Remove. * modules/xprintf (Notice): Remove. * modules/error (Notice): Remove. * modules/verror (Notice): Remove. * modules/argp (Notice): Remove. * modules/propername (Notice): Remove. * lib/propername.h: Remove outdated comment.
c567dcac 2021-07-19 18:16:28 gendocs.sh: Fix local rendering of HTML manuals. * build-aux/gendocs.sh (htmlarg): Don't use relative URLs.
f9803478 2021-07-18 14:08:56 explicit_bzero-tests: pacify GCC better Problem reported by Bruno Haible in: https://lists.gnu.org/r/bug-gnulib/2021-07/msg00039.html * tests/test-explicit_bzero.c: Ignore -Wmaybe-uninitialized. (stackbuf): Remove this static pointer, reverting recent change. (do_secret_stuff, test_stack): Revert these related changes too.
44aad5b0 2021-07-17 23:54:14 memrchr-tests: pacify GCC Pacify GCC 11.1.1 20210531 (Red Hat 11.1.1-3) x86-64. * tests/test-memrchr.c: Disable -Wmaybe-uninitialized.
12916298 2021-07-17 23:52:45 explicit_bzero-tests: pacify GCC Redo to pacify -Wmaybe-uninitialized with GCC 11.1.1 20210531 (Red Hat 11.1.1-3) x86-64. * tests/test-explicit_bzero.c (stackbuf): New static pointer. (do_secret_stuff): Use it. (test_stack): Set it to a local buffer.
07be6b74 2021-07-17 17:55:18 posixtm: pacify latest GCC Also, modernize while I’m at it. * lib/posixtm.c: Include c-ctype.h, idx.h, intprops.h, verify.h instead of stdlib.h. (ISDIGIT): Remove. All uses replaced by c_isdigit. (year, posix_time_parse): Prefer idx_t to size_t. Use assume instead of abort. (posixtime): Do not parse twice; once is enough. That way, we needn’t worry about a bogus warning about strcpy overrunning a buffer from GCC 11.1.1 20210531 (Red Hat 11.1.1-3) x86-64 when coreutils is configured with --enable-gcc-warnings. * modules/posixtm (Depends-on): Add c-ctype, intprops, verify. Remove stpcpy.
12b5b00f 2021-07-17 18:20:36 Don't use '#pragma weak' for thread functions in Linux/glibc>=2.34. Suggested by Florian Weimer <fweimer@redhat.com> in <https://lists.gnu.org/archive/html/bug-gnulib/2021-04/msg00211.html>. * m4/threadlib.m4 (gl_PTHREADLIB_BODY): Set gl_pthread_in_glibc and set LIBPMULTITHREAD accordingly. (gl_STDTHREADLIB_BODY): Update comments. (gl_THREADLIB_BODY): Define USE_POSIX_THREADS_FROM_LIBC. * lib/glthread/thread.h (c11_threads_in_use): Define to 1 if all POSIX thread functions are in libc. * lib/glthread/lock.h (c11_threads_in_use): Likewise. * lib/glthread/cond.h (c11_threads_in_use): Likewise. * lib/glthread/tls.h (c11_threads_in_use): Likewise.
18a9101c 2021-07-17 17:32:18 Fix cross-compilation test results. * m4/memmem.m4 (gl_FUNC_MEMMEM_SIMPLE): When cross-compiling, include <string.h> before testing __GNU_LIBRARY__. * m4/strstr.m4 (gl_FUNC_STRSTR_SIMPLE): Likewise. * m4/strcasestr.m4 (gl_FUNC_STRCASESTR_SIMPLE): Likewise.
e707dbe7 2021-07-14 23:55:30 regex: modernize to newer regex bugset Problem reported by Hiroo Hayashi in: https://lists.gnu.org/r/bug-gnulib/2021-07/msg00024.html * m4/regex.m4 (gl_REGEX): Allow newer glibc behavior for ()0|\1, behavior where the regex compiles but does not match. Test for glibc bug 11053. * tests/test-regex.c (bug_regex11, main): Add casts needed for printf portability. (main): Allow newer glibc behavior for ()0|\1.
11e6fc32 2021-07-14 23:23:20 regex: fix shell quoting problem in configuration * m4/regex.m4 (gl_REGEX): Fix quoting problems. These C programs are put into unquoted here-documents, so $ and \ need to be quoted.
ad0fa613 2021-07-12 07:59:46 autoupdate
21fccfa0 2021-07-08 10:00:30 select: port better to MinGW Problem reported by Eli Zaretskii in: https://lists.gnu.org/r/bug-gnulib/2021-07/msg00017.html * lib/select.c (rpl_select) [_WIN32 && !__CYGWIN__]: Pass a SOCKET, not a HANDLE, to FD_ISSET.