summaryrefslogtreecommitdiff
path: root/gnulib-m4
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib-m4')
-rw-r--r--gnulib-m4/00gnulib.m42
-rw-r--r--gnulib-m4/__inline.m42
-rw-r--r--gnulib-m4/absolute-header.m42
-rw-r--r--gnulib-m4/alloca.m42
-rw-r--r--gnulib-m4/arpa_inet_h.m42
-rw-r--r--gnulib-m4/assert_h.m42
-rw-r--r--gnulib-m4/btowc.m42
-rw-r--r--gnulib-m4/build-to-host.m42
-rw-r--r--gnulib-m4/builtin-expect.m42
-rw-r--r--gnulib-m4/c-bool.m42
-rw-r--r--gnulib-m4/c32rtomb.m42
-rw-r--r--gnulib-m4/calloc.m42
-rw-r--r--gnulib-m4/close.m42
-rw-r--r--gnulib-m4/codeset.m42
-rw-r--r--gnulib-m4/ctype_h.m42
-rw-r--r--gnulib-m4/double-slash-root.m42
-rw-r--r--gnulib-m4/dup2.m42
-rw-r--r--gnulib-m4/environ.m42
-rw-r--r--gnulib-m4/errno_h.m42
-rw-r--r--gnulib-m4/error.m42
-rw-r--r--gnulib-m4/error_h.m42
-rw-r--r--gnulib-m4/exponentd.m42
-rw-r--r--gnulib-m4/exponentf.m42
-rw-r--r--gnulib-m4/exponentl.m42
-rw-r--r--gnulib-m4/extensions-aix.m42
-rw-r--r--gnulib-m4/extensions.m42
-rw-r--r--gnulib-m4/extern-inline.m44
-rw-r--r--gnulib-m4/fcntl-o.m42
-rw-r--r--gnulib-m4/fcntl.m42
-rw-r--r--gnulib-m4/fcntl_h.m48
-rw-r--r--gnulib-m4/fdopen.m42
-rw-r--r--gnulib-m4/flexmember.m42
-rw-r--r--gnulib-m4/float_h.m42
-rw-r--r--gnulib-m4/fpieee.m42
-rw-r--r--gnulib-m4/free.m42
-rw-r--r--gnulib-m4/frexp.m42
-rw-r--r--gnulib-m4/frexpl.m42
-rw-r--r--gnulib-m4/fseterr.m42
-rw-r--r--gnulib-m4/fstat.m42
-rw-r--r--gnulib-m4/ftruncate.m42
-rw-r--r--gnulib-m4/getcwd.m42
-rw-r--r--gnulib-m4/getdtablesize.m42
-rw-r--r--gnulib-m4/getlocalename_l.m425
-rw-r--r--gnulib-m4/getprogname.m410
-rw-r--r--gnulib-m4/gettext_h.m42
-rw-r--r--gnulib-m4/gettimeofday.m42
-rw-r--r--gnulib-m4/gnulib-cache.m42
-rw-r--r--gnulib-m4/gnulib-common.m4113
-rw-r--r--gnulib-m4/gnulib-comp.m454
-rw-r--r--gnulib-m4/gnulib-i18n.m42
-rw-r--r--gnulib-m4/host-cpu-c-abi.m42
-rw-r--r--gnulib-m4/iconv.m42
-rw-r--r--gnulib-m4/iconv_h.m42
-rw-r--r--gnulib-m4/iconv_open.m42
-rw-r--r--gnulib-m4/include_next.m42
-rw-r--r--gnulib-m4/inet_pton.m47
-rw-r--r--gnulib-m4/init-package-version.m42
-rw-r--r--gnulib-m4/inline.m42
-rw-r--r--gnulib-m4/intl-thread-locale.m42
-rw-r--r--gnulib-m4/intlmacosx.m42
-rw-r--r--gnulib-m4/intmax_t.m42
-rw-r--r--gnulib-m4/inttypes.m42
-rw-r--r--gnulib-m4/inttypes_h.m42
-rw-r--r--gnulib-m4/ioctl.m42
-rw-r--r--gnulib-m4/isblank.m42
-rw-r--r--gnulib-m4/isnand.m42
-rw-r--r--gnulib-m4/isnanf.m42
-rw-r--r--gnulib-m4/isnanl.m42
-rw-r--r--gnulib-m4/iswblank.m42
-rw-r--r--gnulib-m4/iswdigit.m42
-rw-r--r--gnulib-m4/iswpunct.m42
-rw-r--r--gnulib-m4/iswxdigit.m42
-rw-r--r--gnulib-m4/largefile.m42
-rw-r--r--gnulib-m4/lcmessage.m42
-rw-r--r--gnulib-m4/ldexpl.m42
-rw-r--r--gnulib-m4/lib-ld.m42
-rw-r--r--gnulib-m4/lib-link.m42
-rw-r--r--gnulib-m4/lib-prefix.m42
-rw-r--r--gnulib-m4/libdl.m446
-rw-r--r--gnulib-m4/libunistring-base.m42
-rw-r--r--gnulib-m4/limits-h.m42
-rw-r--r--gnulib-m4/localcharset.m42
-rw-r--r--gnulib-m4/locale-ar.m42
-rw-r--r--gnulib-m4/locale-en.m44
-rw-r--r--gnulib-m4/locale-fr.m44
-rw-r--r--gnulib-m4/locale-ja.m42
-rw-r--r--gnulib-m4/locale-tr.m42
-rw-r--r--gnulib-m4/locale-zh.m42
-rw-r--r--gnulib-m4/locale_h.m42
-rw-r--r--gnulib-m4/localeconv.m42
-rw-r--r--gnulib-m4/localename.m42
-rw-r--r--gnulib-m4/lock.m42
-rw-r--r--gnulib-m4/lstat.m42
-rw-r--r--gnulib-m4/malloc.m465
-rw-r--r--gnulib-m4/malloca.m42
-rw-r--r--gnulib-m4/math_h.m49
-rw-r--r--gnulib-m4/mbchar.m42
-rw-r--r--gnulib-m4/mbiter.m42
-rw-r--r--gnulib-m4/mbrtoc32.m42
-rw-r--r--gnulib-m4/mbrtowc.m42
-rw-r--r--gnulib-m4/mbsinit.m42
-rw-r--r--gnulib-m4/mbstate_t.m42
-rw-r--r--gnulib-m4/mbtowc.m42
-rw-r--r--gnulib-m4/memchr.m42
-rw-r--r--gnulib-m4/minmax.m42
-rw-r--r--gnulib-m4/mkfifo.m42
-rw-r--r--gnulib-m4/mmap-anon.m42
-rw-r--r--gnulib-m4/mode_t.m42
-rw-r--r--gnulib-m4/msvc-inval.m42
-rw-r--r--gnulib-m4/msvc-nothrow.m42
-rw-r--r--gnulib-m4/multiarch.m42
-rw-r--r--gnulib-m4/musl.m42
-rw-r--r--gnulib-m4/nan-mips.m42
-rw-r--r--gnulib-m4/nanosleep.m423
-rw-r--r--gnulib-m4/netinet_in_h.m42
-rw-r--r--gnulib-m4/nocrash.m42
-rw-r--r--gnulib-m4/off64_t.m42
-rw-r--r--gnulib-m4/off_t.m42
-rw-r--r--gnulib-m4/once.m42
-rw-r--r--gnulib-m4/open-cloexec.m42
-rw-r--r--gnulib-m4/open-slash.m42
-rw-r--r--gnulib-m4/open.m42
-rw-r--r--gnulib-m4/pathmax.m42
-rw-r--r--gnulib-m4/perror.m42
-rw-r--r--gnulib-m4/pipe.m42
-rw-r--r--gnulib-m4/printf-frexp.m42
-rw-r--r--gnulib-m4/printf-frexpl.m42
-rw-r--r--gnulib-m4/printf.m46
-rw-r--r--gnulib-m4/pselect.m42
-rw-r--r--gnulib-m4/pthread-cond.m42
-rw-r--r--gnulib-m4/pthread-mutex.m42
-rw-r--r--gnulib-m4/pthread-once.m42
-rw-r--r--gnulib-m4/pthread-rwlock.m42
-rw-r--r--gnulib-m4/pthread-spin.m42
-rw-r--r--gnulib-m4/pthread-thread.m42
-rw-r--r--gnulib-m4/pthread_h.m42
-rw-r--r--gnulib-m4/pthread_mutex_timedlock.m42
-rw-r--r--gnulib-m4/pthread_rwlock_rdlock.m42
-rw-r--r--gnulib-m4/pthread_sigmask.m42
-rw-r--r--gnulib-m4/putenv.m42
-rw-r--r--gnulib-m4/raise.m42
-rw-r--r--gnulib-m4/random.m42
-rw-r--r--gnulib-m4/random_r.m42
-rw-r--r--gnulib-m4/realloc.m449
-rw-r--r--gnulib-m4/reallocarray.m42
-rw-r--r--gnulib-m4/relocatable-lib.m412
-rw-r--r--gnulib-m4/sched_h.m42
-rw-r--r--gnulib-m4/sched_yield.m42
-rw-r--r--gnulib-m4/select.m42
-rw-r--r--gnulib-m4/semaphore.m42
-rw-r--r--gnulib-m4/setenv.m42
-rw-r--r--gnulib-m4/setlocale.m42
-rw-r--r--gnulib-m4/setlocale_null.m42
-rw-r--r--gnulib-m4/signal_h.m42
-rw-r--r--gnulib-m4/signalblocking.m42
-rw-r--r--gnulib-m4/signbit.m42
-rw-r--r--gnulib-m4/size_max.m42
-rw-r--r--gnulib-m4/sleep.m42
-rw-r--r--gnulib-m4/snan.m42
-rw-r--r--gnulib-m4/socketlib.m42
-rw-r--r--gnulib-m4/sockets.m42
-rw-r--r--gnulib-m4/socklen.m42
-rw-r--r--gnulib-m4/sockpfaf.m42
-rw-r--r--gnulib-m4/ssize_t.m42
-rw-r--r--gnulib-m4/stat-time.m42
-rw-r--r--gnulib-m4/stat.m42
-rw-r--r--gnulib-m4/stdalign.m46
-rw-r--r--gnulib-m4/stdckdint_h.m42
-rw-r--r--gnulib-m4/stddef_h.m42
-rw-r--r--gnulib-m4/stdint.m42
-rw-r--r--gnulib-m4/stdint_h.m42
-rw-r--r--gnulib-m4/stdio_h.m42
-rw-r--r--gnulib-m4/stdlib_h.m45
-rw-r--r--gnulib-m4/stpcpy.m42
-rw-r--r--gnulib-m4/strerror.m42
-rw-r--r--gnulib-m4/strerror_r.m42
-rw-r--r--gnulib-m4/string_h.m49
-rw-r--r--gnulib-m4/stringeq.m42
-rw-r--r--gnulib-m4/strncat.m42
-rw-r--r--gnulib-m4/strncpy.m494
-rw-r--r--gnulib-m4/strstr.m42
-rw-r--r--gnulib-m4/symlink.m42
-rw-r--r--gnulib-m4/sys_cdefs_h.m42
-rw-r--r--gnulib-m4/sys_ioctl_h.m42
-rw-r--r--gnulib-m4/sys_select_h.m42
-rw-r--r--gnulib-m4/sys_socket_h.m42
-rw-r--r--gnulib-m4/sys_stat_h.m42
-rw-r--r--gnulib-m4/sys_time_h.m42
-rw-r--r--gnulib-m4/sys_types_h.m42
-rw-r--r--gnulib-m4/sys_uio_h.m42
-rw-r--r--gnulib-m4/thread.m42
-rw-r--r--gnulib-m4/threadlib.m42
-rw-r--r--gnulib-m4/time.m42
-rw-r--r--gnulib-m4/time_h.m42
-rw-r--r--gnulib-m4/uchar_h.m42
-rw-r--r--gnulib-m4/unicase_h.m42
-rw-r--r--gnulib-m4/unictype_h.m42
-rw-r--r--gnulib-m4/unimetadata_h.m42
-rw-r--r--gnulib-m4/uninorm_h.m42
-rw-r--r--gnulib-m4/unistd_h.m42
-rw-r--r--gnulib-m4/unitypes_h.m42
-rw-r--r--gnulib-m4/usleep.m42
-rw-r--r--gnulib-m4/vasnprintf.m42
-rw-r--r--gnulib-m4/visibility.m42
-rw-r--r--gnulib-m4/warn-on-use.m42
-rw-r--r--gnulib-m4/wchar_h.m42
-rw-r--r--gnulib-m4/wcrtomb.m42
-rw-r--r--gnulib-m4/wctob.m42
-rw-r--r--gnulib-m4/wctomb.m42
-rw-r--r--gnulib-m4/wctype_h.m42
-rw-r--r--gnulib-m4/wcwidth.m42
-rw-r--r--gnulib-m4/windows-rc.m42
-rw-r--r--gnulib-m4/wint_t.m42
-rw-r--r--gnulib-m4/xalloc.m42
-rw-r--r--gnulib-m4/xgetcwd.m42
-rw-r--r--gnulib-m4/xsize.m42
-rw-r--r--gnulib-m4/yield.m42
-rw-r--r--gnulib-m4/zzgnulib.m42
218 files changed, 619 insertions, 330 deletions
diff --git a/gnulib-m4/00gnulib.m4 b/gnulib-m4/00gnulib.m4
index 2b205b35..a4b32403 100644
--- a/gnulib-m4/00gnulib.m4
+++ b/gnulib-m4/00gnulib.m4
@@ -1,6 +1,6 @@
# 00gnulib.m4
# serial 9
-dnl Copyright (C) 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/__inline.m4 b/gnulib-m4/__inline.m4
index d1b8257b..4dedc0d4 100644
--- a/gnulib-m4/__inline.m4
+++ b/gnulib-m4/__inline.m4
@@ -1,6 +1,6 @@
# __inline.m4
# serial 1
-dnl Copyright 2017-2025 Free Software Foundation, Inc.
+dnl Copyright 2017-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/absolute-header.m4 b/gnulib-m4/absolute-header.m4
index 5501b07b..94ecc510 100644
--- a/gnulib-m4/absolute-header.m4
+++ b/gnulib-m4/absolute-header.m4
@@ -1,6 +1,6 @@
# absolute-header.m4
# serial 18
-dnl Copyright (C) 2006-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2006-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/alloca.m4 b/gnulib-m4/alloca.m4
index 68fc6211..ff0c59dd 100644
--- a/gnulib-m4/alloca.m4
+++ b/gnulib-m4/alloca.m4
@@ -1,6 +1,6 @@
# alloca.m4
# serial 21
-dnl Copyright (C) 2002-2004, 2006-2007, 2009-2025 Free Software Foundation,
+dnl Copyright (C) 2002-2004, 2006-2007, 2009-2026 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
diff --git a/gnulib-m4/arpa_inet_h.m4 b/gnulib-m4/arpa_inet_h.m4
index 5dae6f72..63634c30 100644
--- a/gnulib-m4/arpa_inet_h.m4
+++ b/gnulib-m4/arpa_inet_h.m4
@@ -1,6 +1,6 @@
# arpa_inet_h.m4
# serial 18
-dnl Copyright (C) 2006, 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2006, 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/assert_h.m4 b/gnulib-m4/assert_h.m4
index b02cbd68..d9433ef7 100644
--- a/gnulib-m4/assert_h.m4
+++ b/gnulib-m4/assert_h.m4
@@ -1,6 +1,6 @@
# assert_h.m4
# serial 6
-dnl Copyright (C) 2011-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2011-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/btowc.m4 b/gnulib-m4/btowc.m4
index d224b156..93c9d769 100644
--- a/gnulib-m4/btowc.m4
+++ b/gnulib-m4/btowc.m4
@@ -1,6 +1,6 @@
# btowc.m4
# serial 16
-dnl Copyright (C) 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/build-to-host.m4 b/gnulib-m4/build-to-host.m4
index 01bff8f3..d3b93ce1 100644
--- a/gnulib-m4/build-to-host.m4
+++ b/gnulib-m4/build-to-host.m4
@@ -1,6 +1,6 @@
# build-to-host.m4
# serial 5
-dnl Copyright (C) 2023-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2023-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/builtin-expect.m4 b/gnulib-m4/builtin-expect.m4
index 76d32867..cf96977e 100644
--- a/gnulib-m4/builtin-expect.m4
+++ b/gnulib-m4/builtin-expect.m4
@@ -1,6 +1,6 @@
# builtin-expect.m4
# serial 3
-dnl Copyright 2016-2025 Free Software Foundation, Inc.
+dnl Copyright 2016-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/c-bool.m4 b/gnulib-m4/c-bool.m4
index 8fa8bfc8..f04041a4 100644
--- a/gnulib-m4/c-bool.m4
+++ b/gnulib-m4/c-bool.m4
@@ -1,6 +1,6 @@
# c-bool.m4
# serial 3
-dnl Copyright 2022-2025 Free Software Foundation, Inc.
+dnl Copyright 2022-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/c32rtomb.m4 b/gnulib-m4/c32rtomb.m4
index ce26a31e..b7a0d44c 100644
--- a/gnulib-m4/c32rtomb.m4
+++ b/gnulib-m4/c32rtomb.m4
@@ -1,6 +1,6 @@
# c32rtomb.m4
# serial 8
-dnl Copyright (C) 2020-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2020-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/calloc.m4 b/gnulib-m4/calloc.m4
index ac7d08d4..2ed64332 100644
--- a/gnulib-m4/calloc.m4
+++ b/gnulib-m4/calloc.m4
@@ -1,6 +1,6 @@
# calloc.m4
# serial 36
-dnl Copyright (C) 2004-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2004-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/close.m4 b/gnulib-m4/close.m4
index 314e321e..9b498643 100644
--- a/gnulib-m4/close.m4
+++ b/gnulib-m4/close.m4
@@ -1,6 +1,6 @@
# close.m4
# serial 10
-dnl Copyright (C) 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/codeset.m4 b/gnulib-m4/codeset.m4
index 6bed9dee..4ab542f4 100644
--- a/gnulib-m4/codeset.m4
+++ b/gnulib-m4/codeset.m4
@@ -1,6 +1,6 @@
# codeset.m4
# serial 5 (gettext-0.18.2)
-dnl Copyright (C) 2000-2002, 2006, 2008-2014, 2016, 2019-2025 Free Software
+dnl Copyright (C) 2000-2002, 2006, 2008-2014, 2016, 2019-2026 Free Software
dnl Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
diff --git a/gnulib-m4/ctype_h.m4 b/gnulib-m4/ctype_h.m4
index fec7c458..b6414d37 100644
--- a/gnulib-m4/ctype_h.m4
+++ b/gnulib-m4/ctype_h.m4
@@ -1,6 +1,6 @@
# ctype_h.m4
# serial 23
-dnl Copyright (C) 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/double-slash-root.m4 b/gnulib-m4/double-slash-root.m4
index 5c40b73c..957adca6 100644
--- a/gnulib-m4/double-slash-root.m4
+++ b/gnulib-m4/double-slash-root.m4
@@ -1,6 +1,6 @@
# double-slash-root.m4
# serial 4 -*- Autoconf -*-
-dnl Copyright (C) 2006, 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2006, 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/dup2.m4 b/gnulib-m4/dup2.m4
index 5da3a0b9..e1d51898 100644
--- a/gnulib-m4/dup2.m4
+++ b/gnulib-m4/dup2.m4
@@ -1,6 +1,6 @@
# dup2.m4
# serial 28
-dnl Copyright (C) 2002, 2005, 2007, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2002, 2005, 2007, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/environ.m4 b/gnulib-m4/environ.m4
index e0690e54..5c0644ab 100644
--- a/gnulib-m4/environ.m4
+++ b/gnulib-m4/environ.m4
@@ -1,6 +1,6 @@
# environ.m4
# serial 8
-dnl Copyright (C) 2001-2004, 2006-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2001-2004, 2006-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/errno_h.m4 b/gnulib-m4/errno_h.m4
index 623cb7b2..ade19b6f 100644
--- a/gnulib-m4/errno_h.m4
+++ b/gnulib-m4/errno_h.m4
@@ -1,6 +1,6 @@
# errno_h.m4
# serial 19
-dnl Copyright (C) 2004, 2006, 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2004, 2006, 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/error.m4 b/gnulib-m4/error.m4
index 1572250a..f14b9ceb 100644
--- a/gnulib-m4/error.m4
+++ b/gnulib-m4/error.m4
@@ -1,6 +1,6 @@
# error.m4
# serial 16
-dnl Copyright (C) 1996-1998, 2001-2004, 2009-2025 Free Software Foundation,
+dnl Copyright (C) 1996-1998, 2001-2004, 2009-2026 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
diff --git a/gnulib-m4/error_h.m4 b/gnulib-m4/error_h.m4
index 4ef5cbff..73e96943 100644
--- a/gnulib-m4/error_h.m4
+++ b/gnulib-m4/error_h.m4
@@ -1,6 +1,6 @@
# error_h.m4
# serial 5
-dnl Copyright (C) 1996-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 1996-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/exponentd.m4 b/gnulib-m4/exponentd.m4
index 08e93397..bff98570 100644
--- a/gnulib-m4/exponentd.m4
+++ b/gnulib-m4/exponentd.m4
@@ -1,6 +1,6 @@
# exponentd.m4
# serial 5
-dnl Copyright (C) 2007-2008, 2010-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007-2008, 2010-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/exponentf.m4 b/gnulib-m4/exponentf.m4
index be2deb5c..aab59669 100644
--- a/gnulib-m4/exponentf.m4
+++ b/gnulib-m4/exponentf.m4
@@ -1,6 +1,6 @@
# exponentf.m4
# serial 3
-dnl Copyright (C) 2007-2008, 2010-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007-2008, 2010-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/exponentl.m4 b/gnulib-m4/exponentl.m4
index f4d0923e..af36db3e 100644
--- a/gnulib-m4/exponentl.m4
+++ b/gnulib-m4/exponentl.m4
@@ -1,6 +1,6 @@
# exponentl.m4
# serial 8
-dnl Copyright (C) 2007-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/extensions-aix.m4 b/gnulib-m4/extensions-aix.m4
index 08b703b4..9036d7bb 100644
--- a/gnulib-m4/extensions-aix.m4
+++ b/gnulib-m4/extensions-aix.m4
@@ -1,6 +1,6 @@
# extensions-aix.m4
# serial 1
-dnl Copyright (C) 2024-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2024-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/extensions.m4 b/gnulib-m4/extensions.m4
index 76516bce..01a8e5f9 100644
--- a/gnulib-m4/extensions.m4
+++ b/gnulib-m4/extensions.m4
@@ -1,6 +1,6 @@
# extensions.m4
# serial 25 -*- Autoconf -*-
-dnl Copyright (C) 2003, 2006-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2003, 2006-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/extern-inline.m4 b/gnulib-m4/extern-inline.m4
index 820fbda5..4ccc4a95 100644
--- a/gnulib-m4/extern-inline.m4
+++ b/gnulib-m4/extern-inline.m4
@@ -1,6 +1,6 @@
# extern-inline.m4
# serial 2
-dnl Copyright 2012-2025 Free Software Foundation, Inc.
+dnl Copyright 2012-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -44,7 +44,7 @@ AC_DEFUN([gl_EXTERN_INLINE],
if isdigit is mistakenly implemented via a static inline function,
a program containing an extern inline function that calls isdigit
may not work since C99 through C23 prohibit extern inline functions
- from calling static functions (ISO C 23 section 6.7.5.(2)).
+ from calling static functions (ISO C 23 § 6.7.5 ¶ 3)).
Although a future C standard will likely relax this restriction
<https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3622.txt>,
respect it for now. This bug is known to occur on:
diff --git a/gnulib-m4/fcntl-o.m4 b/gnulib-m4/fcntl-o.m4
index 8020c481..a94fc557 100644
--- a/gnulib-m4/fcntl-o.m4
+++ b/gnulib-m4/fcntl-o.m4
@@ -1,6 +1,6 @@
# fcntl-o.m4
# serial 12
-dnl Copyright (C) 2006, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2006, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/fcntl.m4 b/gnulib-m4/fcntl.m4
index 08ab936f..69ac76f9 100644
--- a/gnulib-m4/fcntl.m4
+++ b/gnulib-m4/fcntl.m4
@@ -1,6 +1,6 @@
# fcntl.m4
# serial 12
-dnl Copyright (C) 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/fcntl_h.m4 b/gnulib-m4/fcntl_h.m4
index 1c9f9cce..946a0bd6 100644
--- a/gnulib-m4/fcntl_h.m4
+++ b/gnulib-m4/fcntl_h.m4
@@ -1,6 +1,6 @@
# fcntl_h.m4
-# serial 20
-dnl Copyright (C) 2006-2007, 2009-2025 Free Software Foundation, Inc.
+# serial 21
+dnl Copyright (C) 2006-2007, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -26,7 +26,7 @@ AC_DEFUN_ONCE([gl_FCNTL_H],
dnl corresponding gnulib module is not in use, if it is not common
dnl enough to be declared everywhere.
gl_WARN_ON_USE_PREPARE([[#include <fcntl.h>
- ]], [fcntl openat])
+ ]], [fcntl openat openat2])
])
# gl_FCNTL_MODULE_INDICATOR([modulename])
@@ -53,6 +53,7 @@ AC_DEFUN([gl_FCNTL_H_REQUIRE_DEFAULTS],
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_NONBLOCKING])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_OPEN])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_OPENAT])
+ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_OPENAT2])
dnl Support Microsoft deprecated alias function names by default.
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_CREAT], [1])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_OPEN], [1])
@@ -66,6 +67,7 @@ AC_DEFUN([gl_FCNTL_H_DEFAULTS],
dnl Assume proper GNU behavior unless another module says otherwise.
HAVE_FCNTL=1; AC_SUBST([HAVE_FCNTL])
HAVE_OPENAT=1; AC_SUBST([HAVE_OPENAT])
+ HAVE_OPENAT2=0; AC_SUBST([HAVE_OPENAT2])
REPLACE_CREAT=0; AC_SUBST([REPLACE_CREAT])
REPLACE_FCNTL=0; AC_SUBST([REPLACE_FCNTL])
REPLACE_OPEN=0; AC_SUBST([REPLACE_OPEN])
diff --git a/gnulib-m4/fdopen.m4 b/gnulib-m4/fdopen.m4
index 2ef37adf..8c3752b1 100644
--- a/gnulib-m4/fdopen.m4
+++ b/gnulib-m4/fdopen.m4
@@ -1,6 +1,6 @@
# fdopen.m4
# serial 6
-dnl Copyright (C) 2011-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2011-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/flexmember.m4 b/gnulib-m4/flexmember.m4
index 3e097a66..b2d9994c 100644
--- a/gnulib-m4/flexmember.m4
+++ b/gnulib-m4/flexmember.m4
@@ -1,6 +1,6 @@
# flexmember.m4
# serial 5
-dnl Copyright (C) 2006, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2006, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/float_h.m4 b/gnulib-m4/float_h.m4
index a3d37a81..8af5bbff 100644
--- a/gnulib-m4/float_h.m4
+++ b/gnulib-m4/float_h.m4
@@ -1,6 +1,6 @@
# float_h.m4
# serial 16
-dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/fpieee.m4 b/gnulib-m4/fpieee.m4
index ccece005..3fe97042 100644
--- a/gnulib-m4/fpieee.m4
+++ b/gnulib-m4/fpieee.m4
@@ -1,6 +1,6 @@
# fpieee.m4
# serial 2
-dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/free.m4 b/gnulib-m4/free.m4
index bf03a7d1..c7a134ba 100644
--- a/gnulib-m4/free.m4
+++ b/gnulib-m4/free.m4
@@ -1,6 +1,6 @@
# free.m4
# serial 6
-dnl Copyright (C) 2003-2005, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2003-2005, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/frexp.m4 b/gnulib-m4/frexp.m4
index 003dd790..5d8cc2e4 100644
--- a/gnulib-m4/frexp.m4
+++ b/gnulib-m4/frexp.m4
@@ -1,6 +1,6 @@
# frexp.m4
# serial 21
-dnl Copyright (C) 2007-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/frexpl.m4 b/gnulib-m4/frexpl.m4
index 06895eb6..a519a42e 100644
--- a/gnulib-m4/frexpl.m4
+++ b/gnulib-m4/frexpl.m4
@@ -1,6 +1,6 @@
# frexpl.m4
# serial 25
-dnl Copyright (C) 2007-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/fseterr.m4 b/gnulib-m4/fseterr.m4
index 3a94c288..e5ad635b 100644
--- a/gnulib-m4/fseterr.m4
+++ b/gnulib-m4/fseterr.m4
@@ -1,6 +1,6 @@
# fseterr.m4
# serial 2
-dnl Copyright (C) 2012-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2012-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/fstat.m4 b/gnulib-m4/fstat.m4
index e89bbc32..7db4e346 100644
--- a/gnulib-m4/fstat.m4
+++ b/gnulib-m4/fstat.m4
@@ -1,6 +1,6 @@
# fstat.m4
# serial 10
-dnl Copyright (C) 2011-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2011-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/ftruncate.m4 b/gnulib-m4/ftruncate.m4
index aa149c37..17bae949 100644
--- a/gnulib-m4/ftruncate.m4
+++ b/gnulib-m4/ftruncate.m4
@@ -1,6 +1,6 @@
# ftruncate.m4
# serial 24
-dnl Copyright (C) 2000-2001, 2003-2007, 2009-2025 Free Software Foundation,
+dnl Copyright (C) 2000-2001, 2003-2007, 2009-2026 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
diff --git a/gnulib-m4/getcwd.m4 b/gnulib-m4/getcwd.m4
index b5b35b11..28189485 100644
--- a/gnulib-m4/getcwd.m4
+++ b/gnulib-m4/getcwd.m4
@@ -1,6 +1,6 @@
# getcwd.m4
# serial 22
-dnl Copyright (C) 2001, 2003-2007, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2001, 2003-2007, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/getdtablesize.m4 b/gnulib-m4/getdtablesize.m4
index 112c1c4d..0b780110 100644
--- a/gnulib-m4/getdtablesize.m4
+++ b/gnulib-m4/getdtablesize.m4
@@ -1,6 +1,6 @@
# getdtablesize.m4
# serial 8
-dnl Copyright (C) 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/getlocalename_l.m4 b/gnulib-m4/getlocalename_l.m4
index 629e510b..2b648ee4 100644
--- a/gnulib-m4/getlocalename_l.m4
+++ b/gnulib-m4/getlocalename_l.m4
@@ -1,6 +1,6 @@
# getlocalename_l.m4
-# serial 4
-dnl Copyright (C) 2025 Free Software Foundation, Inc.
+# serial 5
+dnl Copyright (C) 2025-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -30,6 +30,8 @@ AC_DEFUN_ONCE([gl_FUNC_GETLOCALENAME_L_UNSAFE],
if test $ac_cv_func_getlocalename_l = yes; then
dnl Check against the Cygwin 3.6.0 bug: It returns an invalid pointer when
dnl the second argument is LC_GLOBAL_LOCALE.
+ dnl Check against a Haiku >= hrev59293 oddity: It returns "POSIX" instead
+ dnl of "C". We prefer "C".
AC_REQUIRE([AC_CANONICAL_HOST])
AC_CACHE_CHECK([whether getlocalename_l works],
[gl_cv_func_getlocalename_l_works],
@@ -39,14 +41,29 @@ AC_DEFUN_ONCE([gl_FUNC_GETLOCALENAME_L_UNSAFE],
#include <string.h>
int main ()
{
- const char *ret = getlocalename_l (LC_COLLATE, LC_GLOBAL_LOCALE);
- return strlen (ret) == 0;
+ int result = 0;
+ /* Check against the Cygwin bug. */
+ {
+ const char *ret = getlocalename_l (LC_COLLATE, LC_GLOBAL_LOCALE);
+ if (strlen (ret) == 0)
+ result |= 1;
+ }
+ /* Check against the Haiku oddity. */
+ {
+ const char *ret =
+ getlocalename_l (LC_COLLATE, newlocale (LC_ALL_MASK, "C", NULL));
+ if (strcmp (ret, "C") != 0)
+ result |= 2;
+ }
+ return result;
}]])],
[gl_cv_func_getlocalename_l_works=yes],
[gl_cv_func_getlocalename_l_works=no],
[case "$host_os" in
cygwin*) # Guess no on Cygwin.
gl_cv_func_getlocalename_l_works="guessing no" ;;
+ haiku*) # Guess no on Haiku.
+ gl_cv_func_getlocalename_l_works="guessing no" ;;
*) # Guess yes otherwise.
gl_cv_func_getlocalename_l_works="guessing yes" ;;
esac
diff --git a/gnulib-m4/getprogname.m4 b/gnulib-m4/getprogname.m4
index 90f34c74..d60f3efb 100644
--- a/gnulib-m4/getprogname.m4
+++ b/gnulib-m4/getprogname.m4
@@ -1,6 +1,6 @@
# getprogname.m4
-# serial 8
-dnl Copyright (C) 2016-2025 Free Software Foundation, Inc.
+# serial 9
+dnl Copyright (C) 2016-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -12,6 +12,12 @@ AC_DEFUN([gl_FUNC_GETPROGNAME],
[
AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
+ AC_CHECK_HEADERS_ONCE([sys/process.h])
+ if test $ac_cv_header_sys_process_h = yes; then
+ HAVE_SYS_PROCESS_H=1
+ else
+ HAVE_SYS_PROCESS_H=0
+ fi
gl_CHECK_FUNCS_ANDROID([getprogname], [[#include <stdlib.h>]])
if test $ac_cv_func_getprogname = no; then
HAVE_GETPROGNAME=0
diff --git a/gnulib-m4/gettext_h.m4 b/gnulib-m4/gettext_h.m4
index b4b1995c..7ef89541 100644
--- a/gnulib-m4/gettext_h.m4
+++ b/gnulib-m4/gettext_h.m4
@@ -1,6 +1,6 @@
# gettext_h.m4
# serial 1
-dnl Copyright (C) 2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2025-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/gettimeofday.m4 b/gnulib-m4/gettimeofday.m4
index 5cd84cc9..3728c13e 100644
--- a/gnulib-m4/gettimeofday.m4
+++ b/gnulib-m4/gettimeofday.m4
@@ -1,6 +1,6 @@
# gettimeofday.m4
# serial 30
-dnl Copyright (C) 2001-2003, 2005, 2007, 2009-2025 Free Software Foundation,
+dnl Copyright (C) 2001-2003, 2005, 2007, 2009-2026 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
diff --git a/gnulib-m4/gnulib-cache.m4 b/gnulib-m4/gnulib-cache.m4
index 74292d64..9441c414 100644
--- a/gnulib-m4/gnulib-cache.m4
+++ b/gnulib-m4/gnulib-cache.m4
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2025 Free Software Foundation, Inc.
+# Copyright (C) 2002-2026 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/gnulib-m4/gnulib-common.m4 b/gnulib-m4/gnulib-common.m4
index 134bfba2..26eef771 100644
--- a/gnulib-m4/gnulib-common.m4
+++ b/gnulib-m4/gnulib-common.m4
@@ -1,6 +1,6 @@
# gnulib-common.m4
-# serial 113
-dnl Copyright (C) 2007-2025 Free Software Foundation, Inc.
+# serial 115
+dnl Copyright (C) 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -414,22 +414,25 @@ AC_DEFUN([gl_COMMON_BODY], [
#endif
/* _GL_ATTRIBUTE_CONST declares:
- It is OK for a compiler to move calls to the function and to omit
- calls to the function if another call has the same arguments or the
- result is not used.
- This attribute is safe for a function that neither depends on
- nor affects state, and always returns exactly once -
+ It is OK for a compiler to move a call, or omit a duplicate call
+ and reuse a cached return value, even if the state changes between calls.
+ It is also OK to omit a call if the result is not used.
+ This attribute is safe if the function does not change observable state,
+ returns a value determined solely by its arguments' values
+ without examining state, and always returns exactly once -
e.g., does not raise an exception, call longjmp, or loop forever.
(This attribute is stricter than _GL_ATTRIBUTE_PURE because the
- function cannot observe state. It is stricter than
- _GL_ATTRIBUTE_UNSEQUENCED because the function must return exactly
- once and cannot depend on state addressed by its arguments.) */
+ function cannot observe state. Unlike _GL_ATTRIBUTE_UNSEQUENCED
+ the function must return exactly once and cannot access state
+ addressed by its pointer arguments or that happens to have the same
+ value for all calls to the function, but the function is allowed to
+ return a pointer to storage that can be modified later. */
/* Applies to: functions. */
#ifndef _GL_ATTRIBUTE_CONST
# if _GL_HAS_ATTRIBUTE (const)
# define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
# else
-# define _GL_ATTRIBUTE_CONST _GL_ATTRIBUTE_UNSEQUENCED
+# define _GL_ATTRIBUTE_CONST
# endif
#endif
@@ -590,7 +593,9 @@ AC_DEFUN([gl_COMMON_BODY], [
/* _GL_ATTRIBUTE_MAYBE_UNUSED declares that it is not a programming mistake if
the entity is not used. The compiler should not warn if the entity is not
- used. */
+ used. However, 'int _GL_UNNAMED (i)' is preferable to
+ '_GL_ATTRIBUTE_MAYBE_UNUSED int i' when parameter I is unused
+ regardless of preprocessor macro settings. */
/* Applies to:
- function, variable,
- struct, union, struct/union member,
@@ -744,39 +749,40 @@ AC_DEFUN([gl_COMMON_BODY], [
#endif
/* _GL_ATTRIBUTE_PURE declares:
- It is OK for a compiler to move calls to the function and to omit
- calls to the function if another call has the same arguments or the
- result is not used, and if observable state is the same.
- This attribute is safe for a function that does not affect observable state
- and always returns exactly once.
+ It is OK for a compiler to move a call, or omit a duplicate call
+ and reuse a cached return value, if observable state is the same.
+ It is also OK to omit a call if the return value is not used.
+ This attribute is safe if the function does not change observable state,
+ returns a value determined solely by its arguments's values
+ together with observable state, and always returns exactly once.
(This attribute is looser than _GL_ATTRIBUTE_CONST because the function
- can depend on observable state. It is stricter than
- _GL_ATTRIBUTE_REPRODUCIBLE because the function must return exactly
- once and cannot affect state addressed by its arguments.) */
+ can depend on observable state.
+ Unlike _GL_ATTRIBUTE_REPRODUCIBLE the function must return exactly
+ once and cannot change state addressed by its arguments, but the
+ function can return a pointer to storage whose contents change later.) */
/* Applies to: functions. */
#ifndef _GL_ATTRIBUTE_PURE
# if _GL_HAS_ATTRIBUTE (pure)
# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
# else
-# define _GL_ATTRIBUTE_PURE _GL_ATTRIBUTE_REPRODUCIBLE
+# define _GL_ATTRIBUTE_PURE
# endif
#endif
/* _GL_ATTRIBUTE_REPRODUCIBLE declares:
- It is OK for a compiler to move calls to the function and to omit duplicate
- calls to the function with the same arguments, so long as the state
- addressed by its arguments is the same and is updated in time for
- the rest of the program.
- This attribute is safe for a function that is effectless and idempotent; see
- ISO C 23 § 6.7.12.7 for a definition of these terms.
+ It is OK for a compiler to move a call, or omit a duplicate call
+ and reuse a cached value returned either directly or indirectly via
+ a pointer, if other observable state is the same;
+ however, pointer arguments cannot alias.
+ This attribute is safe for a function that is effectless and idempotent;
+ see ISO C 23 § 6.7.13.8 for a definition of these terms.
(This attribute is looser than _GL_ATTRIBUTE_UNSEQUENCED because
- the function need not be stateless and idempotent. It is looser
- than _GL_ATTRIBUTE_PURE because the function need not return
- exactly once and can affect state addressed by its arguments.)
+ the function need not be stateless or independent.
+ Unlike _GL_ATTRIBUTE_PURE the function need not return exactly once
+ and can change state addressed by its pointer arguments, but the
+ function cannot return a pointer to storage whose contents change later.)
See also <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2956.htm> and
- <https://stackoverflow.com/questions/76847905/>.
- ATTENTION! Efforts are underway to change the meaning of this attribute.
- See <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3424.htm>. */
+ <https://stackoverflow.com/questions/76847905/>. */
/* Applies to: functions, pointer to functions, function types. */
#ifndef _GL_ATTRIBUTE_REPRODUCIBLE
/* This may be revisited when gcc and clang support [[reproducible]] or possibly
@@ -816,20 +822,22 @@ AC_DEFUN([gl_COMMON_BODY], [
#endif
/* _GL_ATTRIBUTE_UNSEQUENCED declares:
- It is OK for a compiler to move calls to the function and to omit duplicate
- calls to the function with the same arguments, so long as the state
- addressed by its arguments is the same.
+ It is OK for a compiler to move a call, or omit a duplicate call
+ and reuse a cached value returned either directly or indirectly via
+ a pointer, if the state addressed by its pointer arguments is the same;
+ however, pointer arguments cannot alias.
This attribute is safe for a function that is effectless, idempotent,
- stateless, and independent; see ISO C 23 § 6.7.12.7 for a definition of
+ stateless, and independent; see ISO C 23 § 6.7.13.8 for a definition of
these terms.
(This attribute is stricter than _GL_ATTRIBUTE_REPRODUCIBLE because
- the function must be stateless and independent. It is looser than
- _GL_ATTRIBUTE_CONST because the function need not return exactly
- once and can depend on state addressed by its arguments.)
+ the function must be stateless and independent. Unlike
+ _GL_ATTRIBUTE_CONST the function need not return exactly once, and
+ can depend on state accessed via its pointer arguments or that
+ happens to have the same value for all calls to the function, but
+ the function cannot return a pointer to storage whose contents
+ change later.)
See also <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2956.htm> and
- <https://stackoverflow.com/questions/76847905/>.
- ATTENTION! Efforts are underway to change the meaning of this attribute.
- See <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3424.htm>. */
+ <https://stackoverflow.com/questions/76847905/>. */
/* Applies to: functions, pointer to functions, function types. */
#ifndef _GL_ATTRIBUTE_UNSEQUENCED
/* This may be revisited when gcc and clang support [[unsequenced]] or possibly
@@ -869,6 +877,21 @@ AC_DEFUN([gl_COMMON_BODY], [
# endif
#endif
+/* _GL_UNNAMED (ID) is the "name" of an unnamed function parameter.
+ Each of the function's unnamed parameters should have a unique "name".
+ The "name" cannot be used. This ports both to C17 and earlier, which
+ lack unnamed parameters, and to C++ and later C, which have them. */
+/* Applies to:
+ - function parameters. */
+#ifndef _GL_UNNAMED
+# if ((defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) < 202311 \
+ && !defined __cplusplus)
+# define _GL_UNNAMED(id) unnamed_##id _GL_ATTRIBUTE_UNUSED
+# else
+# define _GL_UNNAMED(id)
+# endif
+#endif
+
/* The following attributes enable detection of multithread-safety problems
and resource leaks at compile-time, by clang ≥ 15, when the warning option
-Wthread-safety is enabled. For usage, see
@@ -1406,7 +1429,7 @@ AC_DEFUN([gl_CC_GNULIB_WARNINGS],
dnl -Wno-type-limits >= 4.3 >= 3.9
dnl -Wno-undef >= 3 >= 3.9
dnl -Wno-unsuffixed-float-constants >= 4.5
- dnl -Wno-unused-const-variable >= 4.4 >= 3.9
+ dnl -Wno-unused-const-variable >= 6.1 >= 3.9
dnl -Wno-unused-function >= 3 >= 3.9
dnl -Wno-unused-parameter >= 3 >= 3.9
dnl
@@ -1436,7 +1459,7 @@ AC_DEFUN([gl_CC_GNULIB_WARNINGS],
-Wno-sign-conversion
-Wno-type-limits
#endif
- #if (__GNUC__ + (__GNUC_MINOR__ >= 4) > 4 && !defined __clang__) || (__clang_major__ + (__clang_minor__ >= 9) > 3)
+ #if (__GNUC__ + (__GNUC_MINOR__ >= 1) > 6 && !defined __clang__) || (__clang_major__ + (__clang_minor__ >= 9) > 3)
-Wno-unused-const-variable
#endif
#if (__GNUC__ + (__GNUC_MINOR__ >= 5) > 4 && !defined __clang__)
diff --git a/gnulib-m4/gnulib-comp.m4 b/gnulib-m4/gnulib-comp.m4
index 3f238a2a..6ae83ecd 100644
--- a/gnulib-m4/gnulib-comp.m4
+++ b/gnulib-m4/gnulib-comp.m4
@@ -1,5 +1,5 @@
# DO NOT EDIT! GENERATED AUTOMATICALLY!
-# Copyright (C) 2002-2025 Free Software Foundation, Inc.
+# Copyright (C) 2002-2026 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -346,8 +346,8 @@ AC_DEFUN([gl_EARLY],
# Code from module setsockopt-tests:
# Code from module signal-h:
# Code from module signal-h-tests:
- # Code from module signbit:
- # Code from module signbit-tests:
+ # Code from module signbit-no-c++:
+ # Code from module signbit-no-c++-tests:
# Code from module signed-nan:
# Code from module signed-snan:
# Code from module sigprocmask:
@@ -380,6 +380,7 @@ AC_DEFUN([gl_EARLY],
# Code from module stdio-h:
gl_STDIO_H_EARLY
# Code from module stdio-h-tests:
+ # Code from module stdio-windows:
# Code from module stdlib-h:
# Code from module stdlib-h-tests:
# Code from module stpcpy:
@@ -387,7 +388,7 @@ AC_DEFUN([gl_EARLY],
# Code from module str_endswith-tests:
# Code from module str_startswith:
# Code from module str_startswith-tests:
- # Code from module streq:
+ # Code from module streq-opt:
# Code from module strerror:
# Code from module strerror-override:
# Code from module strerror-tests:
@@ -402,6 +403,8 @@ AC_DEFUN([gl_EARLY],
# Code from module stringeq:
# Code from module strncat:
# Code from module strncat-tests:
+ # Code from module strncpy:
+ # Code from module strncpy-tests:
# Code from module strstr:
# Code from module strstr-simple:
# Code from module strstr-tests:
@@ -1803,7 +1806,7 @@ AC_DEFUN([gl_INIT],
gl_LOCALE_MODULE_INDICATOR([setlocale_null])
gl_SIGNBIT
gl_CONDITIONAL([GL_COND_OBJ_SIGNBIT3], [test $REPLACE_SIGNBIT = 1])
- gl_MATH_MODULE_INDICATOR([signbit])
+ gl_MATH_MODULE_INDICATOR([signbit-no-cxx])
gl_SIZE_MAX
gt_TYPE_SSIZE_T
gl_STDCKDINT_H
@@ -1837,6 +1840,12 @@ AC_DEFUN([gl_INIT],
gl_PREREQ_STRNCAT
])
gl_STRING_MODULE_INDICATOR([strncat])
+ gl_FUNC_STRNCPY
+ gl_CONDITIONAL([GL_COND_OBJ_STRNCPY], [test $REPLACE_STRNCPY = 1])
+ AM_COND_IF([GL_COND_OBJ_STRNCPY], [
+ gl_PREREQ_STRNCPY
+ ])
+ gl_STRING_MODULE_INDICATOR([strncpy])
gl_FUNC_STRSTR
if test $REPLACE_STRSTR = 1; then
AC_LIBOBJ([strstr])
@@ -3340,18 +3349,6 @@ changequote([, ])dnl
gl_STDIO_H
gl_STDIO_H_REQUIRE_DEFAULTS
AC_PROG_MKDIR_P
- USES_MSVCRT=0
- case "$host_os" in
- mingw* | windows*)
- AC_EGREP_CPP([Special], [
- #ifndef _UCRT
- Special
- #endif
- ],
- [USES_MSVCRT=1])
- ;;
- esac
- gl_CONDITIONAL([GL_COND_OBJ_STDIO_CONSOLESAFE], [test $USES_MSVCRT = 1])
gl_CONDITIONAL([GL_COND_OBJ_STDIO_READ], [test $REPLACE_STDIO_READ_FUNCS = 1])
gl_CONDITIONAL([GL_COND_OBJ_STDIO_WRITE], [test $REPLACE_STDIO_WRITE_FUNCS = 1])
dnl No need to create extra modules for these functions. Everyone who uses
@@ -3378,6 +3375,20 @@ changequote([, ])dnl
gl_STDIO_MODULE_INDICATOR([puts])
gl_STDIO_MODULE_INDICATOR([fwrite])
gl_DOUBLE_EXPONENT_LOCATION
+ AC_REQUIRE([AC_CANONICAL_HOST])
+ USES_MSVCRT=0
+ case "$host_os" in
+ mingw* | windows*)
+ AC_EGREP_CPP([Special], [
+ #ifndef _UCRT
+ Special
+ #endif
+ ],
+ [USES_MSVCRT=1])
+ ;;
+ esac
+ gl_CONDITIONAL([GL_COND_OBJ_STDIO_CONSOLESAFE], [test $USES_MSVCRT = 1])
+ AC_CHECK_FUNCS([vasprintf])
gl_FUNC_STPCPY
gl_CONDITIONAL([GL_COND_OBJ_STPCPY],
[test $HAVE_STPCPY = 0 || test $REPLACE_STPCPY = 1])
@@ -3409,6 +3420,9 @@ changequote([, ])dnl
gl_FUNC_MMAP_ANON
AC_CHECK_HEADERS_ONCE([sys/mman.h])
AC_CHECK_FUNCS_ONCE([mprotect])
+ gl_FUNC_MMAP_ANON
+ AC_CHECK_HEADERS_ONCE([sys/mman.h])
+ AC_CHECK_FUNCS_ONCE([mprotect])
AC_CHECK_DECLS_ONCE([alarm])
gl_FUNC_MMAP_ANON
AC_CHECK_HEADERS_ONCE([sys/mman.h])
@@ -3854,7 +3868,7 @@ AC_DEFUN([gl_FILE_LIST], [
lib/stdlib.c
lib/stdlib.in.h
lib/str-two-way.h
- lib/streq.h
+ lib/streq-opt.h
lib/striconveh.c
lib/striconveh.h
lib/striconveha.c
@@ -3862,6 +3876,7 @@ AC_DEFUN([gl_FILE_LIST], [
lib/string.c
lib/string.in.h
lib/strncat.c
+ lib/strncpy.c
lib/strstr.c
lib/struniq.h
lib/sys_types.in.h
@@ -4779,6 +4794,7 @@ AC_DEFUN([gl_FILE_LIST], [
m4/lib-ld.m4
m4/lib-link.m4
m4/lib-prefix.m4
+ m4/libdl.m4
m4/libunistring-base.m4
m4/limits-h.m4
m4/localcharset.m4
@@ -4881,6 +4897,7 @@ AC_DEFUN([gl_FILE_LIST], [
m4/string_h.m4
m4/stringeq.m4
m4/strncat.m4
+ m4/strncpy.m4
m4/strstr.m4
m4/symlink.m4
m4/sys_cdefs_h.m4
@@ -5172,6 +5189,7 @@ AC_DEFUN([gl_FILE_LIST], [
tests/test-striconveha.c
tests/test-string-h.c
tests/test-strncat.c
+ tests/test-strncpy.c
tests/test-strstr.c
tests/test-symlink.c
tests/test-symlink.h
diff --git a/gnulib-m4/gnulib-i18n.m4 b/gnulib-m4/gnulib-i18n.m4
index 868043e7..9a389187 100644
--- a/gnulib-m4/gnulib-i18n.m4
+++ b/gnulib-m4/gnulib-i18n.m4
@@ -1,6 +1,6 @@
# gnulib-i18n.m4
# serial 1
-dnl Copyright (C) 2005-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2005-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/host-cpu-c-abi.m4 b/gnulib-m4/host-cpu-c-abi.m4
index 6ca7721a..23661f4f 100644
--- a/gnulib-m4/host-cpu-c-abi.m4
+++ b/gnulib-m4/host-cpu-c-abi.m4
@@ -1,6 +1,6 @@
# host-cpu-c-abi.m4
# serial 20
-dnl Copyright (C) 2002-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2002-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/iconv.m4 b/gnulib-m4/iconv.m4
index f2b0c37d..7f14fc3e 100644
--- a/gnulib-m4/iconv.m4
+++ b/gnulib-m4/iconv.m4
@@ -1,6 +1,6 @@
# iconv.m4
# serial 32
-dnl Copyright (C) 2000-2002, 2007-2014, 2016-2025 Free Software Foundation,
+dnl Copyright (C) 2000-2002, 2007-2014, 2016-2026 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
diff --git a/gnulib-m4/iconv_h.m4 b/gnulib-m4/iconv_h.m4
index 2128564a..506ad2bc 100644
--- a/gnulib-m4/iconv_h.m4
+++ b/gnulib-m4/iconv_h.m4
@@ -1,6 +1,6 @@
# iconv_h.m4
# serial 16
-dnl Copyright (C) 2007-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/iconv_open.m4 b/gnulib-m4/iconv_open.m4
index 3fe509f2..bebf94d0 100644
--- a/gnulib-m4/iconv_open.m4
+++ b/gnulib-m4/iconv_open.m4
@@ -1,6 +1,6 @@
# iconv_open.m4
# serial 19
-dnl Copyright (C) 2007-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/include_next.m4 b/gnulib-m4/include_next.m4
index 80de991e..a19f2dfd 100644
--- a/gnulib-m4/include_next.m4
+++ b/gnulib-m4/include_next.m4
@@ -1,6 +1,6 @@
# include_next.m4
# serial 27
-dnl Copyright (C) 2006-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2006-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/inet_pton.m4 b/gnulib-m4/inet_pton.m4
index b6e59a25..150c3a07 100644
--- a/gnulib-m4/inet_pton.m4
+++ b/gnulib-m4/inet_pton.m4
@@ -1,6 +1,6 @@
# inet_pton.m4
-# serial 20
-dnl Copyright (C) 2006, 2008-2025 Free Software Foundation, Inc.
+# serial 21
+dnl Copyright (C) 2006, 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -19,6 +19,7 @@ AC_DEFUN([gl_FUNC_INET_PTON],
dnl Solaris 8..10 provide inet_pton in libnsl instead.
dnl Solaris 2.6..7 provide inet_pton in libresolv instead.
dnl Haiku provides it in -lnetwork.
+ dnl QNX provides it in -lsocket.
dnl Native Windows provides it in -lws2_32 instead, with a declaration in
dnl <ws2tcpip.h>, and it uses stdcall calling convention, not cdecl
dnl (hence we cannot use AC_CHECK_FUNCS, AC_SEARCH_LIBS to find it).
@@ -39,7 +40,7 @@ AC_DEFUN([gl_FUNC_INET_PTON],
fi
else
gl_saved_LIBS=$LIBS
- AC_SEARCH_LIBS([inet_pton], [nsl resolv network], [],
+ AC_SEARCH_LIBS([inet_pton], [nsl resolv network socket], [],
[AC_CHECK_FUNCS([inet_pton])
if test $ac_cv_func_inet_pton = no; then
HAVE_INET_PTON=0
diff --git a/gnulib-m4/init-package-version.m4 b/gnulib-m4/init-package-version.m4
index a95b804c..ca6d3cd9 100644
--- a/gnulib-m4/init-package-version.m4
+++ b/gnulib-m4/init-package-version.m4
@@ -1,6 +1,6 @@
# init-package-version.m4
# serial 7
-dnl Copyright (C) 1992-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 1992-2026 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
diff --git a/gnulib-m4/inline.m4 b/gnulib-m4/inline.m4
index 5a272425..df4402b2 100644
--- a/gnulib-m4/inline.m4
+++ b/gnulib-m4/inline.m4
@@ -1,6 +1,6 @@
# inline.m4
# serial 5
-dnl Copyright (C) 2006, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2006, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/intl-thread-locale.m4 b/gnulib-m4/intl-thread-locale.m4
index ec8a5125..7d030abe 100644
--- a/gnulib-m4/intl-thread-locale.m4
+++ b/gnulib-m4/intl-thread-locale.m4
@@ -1,6 +1,6 @@
# intl-thread-locale.m4
# serial 16
-dnl Copyright (C) 2015-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2015-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/intlmacosx.m4 b/gnulib-m4/intlmacosx.m4
index f0920d0f..d28df608 100644
--- a/gnulib-m4/intlmacosx.m4
+++ b/gnulib-m4/intlmacosx.m4
@@ -1,6 +1,6 @@
# intlmacosx.m4
# serial 10 (gettext-0.23)
-dnl Copyright (C) 2004-2014, 2016, 2019-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2004-2014, 2016, 2019-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/intmax_t.m4 b/gnulib-m4/intmax_t.m4
index c1df7b27..ad79536c 100644
--- a/gnulib-m4/intmax_t.m4
+++ b/gnulib-m4/intmax_t.m4
@@ -1,6 +1,6 @@
# intmax_t.m4
# serial 9
-dnl Copyright (C) 1997-2004, 2006-2007, 2009-2025 Free Software Foundation,
+dnl Copyright (C) 1997-2004, 2006-2007, 2009-2026 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
diff --git a/gnulib-m4/inttypes.m4 b/gnulib-m4/inttypes.m4
index 63c82c61..ec17c237 100644
--- a/gnulib-m4/inttypes.m4
+++ b/gnulib-m4/inttypes.m4
@@ -1,6 +1,6 @@
# inttypes.m4
# serial 37
-dnl Copyright (C) 2006-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2006-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/inttypes_h.m4 b/gnulib-m4/inttypes_h.m4
index ad939a53..ed9e7033 100644
--- a/gnulib-m4/inttypes_h.m4
+++ b/gnulib-m4/inttypes_h.m4
@@ -1,6 +1,6 @@
# inttypes_h.m4
# serial 10
-dnl Copyright (C) 1997-2004, 2006, 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 1997-2004, 2006, 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/ioctl.m4 b/gnulib-m4/ioctl.m4
index 12a1379d..4a79aecd 100644
--- a/gnulib-m4/ioctl.m4
+++ b/gnulib-m4/ioctl.m4
@@ -1,6 +1,6 @@
# ioctl.m4
# serial 6
-dnl Copyright (C) 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/isblank.m4 b/gnulib-m4/isblank.m4
index 6aaf6071..f3af7cc1 100644
--- a/gnulib-m4/isblank.m4
+++ b/gnulib-m4/isblank.m4
@@ -1,6 +1,6 @@
# isblank.m4
# serial 3
-dnl Copyright (C) 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/isnand.m4 b/gnulib-m4/isnand.m4
index 16562866..962cf9d4 100644
--- a/gnulib-m4/isnand.m4
+++ b/gnulib-m4/isnand.m4
@@ -1,6 +1,6 @@
# isnand.m4
# serial 15
-dnl Copyright (C) 2007-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/isnanf.m4 b/gnulib-m4/isnanf.m4
index a23b22b1..ab89e287 100644
--- a/gnulib-m4/isnanf.m4
+++ b/gnulib-m4/isnanf.m4
@@ -1,6 +1,6 @@
# isnanf.m4
# serial 22
-dnl Copyright (C) 2007-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/isnanl.m4 b/gnulib-m4/isnanl.m4
index 01b2928a..495a959a 100644
--- a/gnulib-m4/isnanl.m4
+++ b/gnulib-m4/isnanl.m4
@@ -1,6 +1,6 @@
# isnanl.m4
# serial 27
-dnl Copyright (C) 2007-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/iswblank.m4 b/gnulib-m4/iswblank.m4
index d06b16a2..2c301a97 100644
--- a/gnulib-m4/iswblank.m4
+++ b/gnulib-m4/iswblank.m4
@@ -1,6 +1,6 @@
# iswblank.m4
# serial 7
-dnl Copyright (C) 2011-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2011-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/iswdigit.m4 b/gnulib-m4/iswdigit.m4
index 4582f598..7fca8167 100644
--- a/gnulib-m4/iswdigit.m4
+++ b/gnulib-m4/iswdigit.m4
@@ -1,6 +1,6 @@
# iswdigit.m4
# serial 9
-dnl Copyright (C) 2020-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2020-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/iswpunct.m4 b/gnulib-m4/iswpunct.m4
index d8e8d712..be312d6c 100644
--- a/gnulib-m4/iswpunct.m4
+++ b/gnulib-m4/iswpunct.m4
@@ -1,6 +1,6 @@
# iswpunct.m4
# serial 2
-dnl Copyright (C) 2023-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2023-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/iswxdigit.m4 b/gnulib-m4/iswxdigit.m4
index 95226fc4..2cb8e873 100644
--- a/gnulib-m4/iswxdigit.m4
+++ b/gnulib-m4/iswxdigit.m4
@@ -1,6 +1,6 @@
# iswxdigit.m4
# serial 9
-dnl Copyright (C) 2020-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2020-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/largefile.m4 b/gnulib-m4/largefile.m4
index 6aa07078..3134f336 100644
--- a/gnulib-m4/largefile.m4
+++ b/gnulib-m4/largefile.m4
@@ -1,6 +1,6 @@
# largefile.m4
# serial 4
-dnl Copyright 1992-1996, 1998-2025 Free Software Foundation, Inc.
+dnl Copyright 1992-1996, 1998-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/lcmessage.m4 b/gnulib-m4/lcmessage.m4
index e83f1fa4..1c7e45f7 100644
--- a/gnulib-m4/lcmessage.m4
+++ b/gnulib-m4/lcmessage.m4
@@ -1,6 +1,6 @@
# lcmessage.m4
# serial 8
-dnl Copyright (C) 1995-2002, 2004-2005, 2008-2014, 2016, 2019-2025 Free
+dnl Copyright (C) 1995-2002, 2004-2005, 2008-2014, 2016, 2019-2026 Free
dnl Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
diff --git a/gnulib-m4/ldexpl.m4 b/gnulib-m4/ldexpl.m4
index 5288d72f..c2b17684 100644
--- a/gnulib-m4/ldexpl.m4
+++ b/gnulib-m4/ldexpl.m4
@@ -1,6 +1,6 @@
# ldexpl.m4
# serial 19
-dnl Copyright (C) 2007-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/lib-ld.m4 b/gnulib-m4/lib-ld.m4
index 3714b9ce..f32028c0 100644
--- a/gnulib-m4/lib-ld.m4
+++ b/gnulib-m4/lib-ld.m4
@@ -1,6 +1,6 @@
# lib-ld.m4
# serial 13
-dnl Copyright (C) 1996-2003, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 1996-2003, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/lib-link.m4 b/gnulib-m4/lib-link.m4
index 1863f4e1..6be17b14 100644
--- a/gnulib-m4/lib-link.m4
+++ b/gnulib-m4/lib-link.m4
@@ -1,6 +1,6 @@
# lib-link.m4
# serial 35
-dnl Copyright (C) 2001-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2001-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/lib-prefix.m4 b/gnulib-m4/lib-prefix.m4
index 29283534..9e4326e9 100644
--- a/gnulib-m4/lib-prefix.m4
+++ b/gnulib-m4/lib-prefix.m4
@@ -1,6 +1,6 @@
# lib-prefix.m4
# serial 23
-dnl Copyright (C) 2001-2005, 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2001-2005, 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/libdl.m4 b/gnulib-m4/libdl.m4
new file mode 100644
index 00000000..79d69063
--- /dev/null
+++ b/gnulib-m4/libdl.m4
@@ -0,0 +1,46 @@
+# libdl.m4
+# serial 3
+dnl Copyright (C) 2024-2026 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+dnl This file is offered as-is, without any warranty.
+
+dnl From Bruno Haible.
+
+dnl Set LIBDL to '-ldl' if it is needed to use the functions declared
+dnl in <dlfcn.h> (dlopen, dlsym, etc.), or to empty otherwise.
+AC_DEFUN([gl_LIBDL],
+[
+ dnl dlopen, dlsym are
+ dnl - in libc on glibc >= 2.34, musl libc, macOS, FreeBSD, NetBSD, OpenBSD,
+ dnl AIX, Solaris, Cygwin, Haiku,
+ dnl - in a separate libdl on glibc < 2.34, uClibc, Android.
+ AC_CACHE_CHECK([for library needed for dlopen and dlsym],
+ [gl_cv_lib_dl],
+ [AC_LINK_IFELSE(
+ [AC_LANG_PROGRAM(
+ [[#include <dlfcn.h>
+ ]],
+ [[return ! dlsym (RTLD_DEFAULT, "main");]])],
+ [gl_cv_lib_dl=none],
+ [gl_cv_lib_dl=maybe])
+ if test $gl_cv_lib_dl = maybe; then
+ saved_LIBS="$LIBS"
+ LIBS="$LIBS -ldl"
+ AC_LINK_IFELSE(
+ [AC_LANG_PROGRAM(
+ [[#include <dlfcn.h>
+ ]],
+ [[return ! dlsym (RTLD_DEFAULT, "main");]])],
+ [gl_cv_lib_dl='-ldl'],
+ [gl_cv_lib_dl=none])
+ LIBS="$saved_LIBS"
+ fi
+ ])
+ case "$gl_cv_lib_dl" in
+ none) LIBDL='' ;;
+ *) LIBDL="$gl_cv_lib_dl" ;;
+ esac
+ AC_SUBST([LIBDL])
+])
diff --git a/gnulib-m4/libunistring-base.m4 b/gnulib-m4/libunistring-base.m4
index 9b5795ed..f2f144ac 100644
--- a/gnulib-m4/libunistring-base.m4
+++ b/gnulib-m4/libunistring-base.m4
@@ -1,6 +1,6 @@
# libunistring-base.m4
# serial 10
-dnl Copyright (C) 2010-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2010-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/limits-h.m4 b/gnulib-m4/limits-h.m4
index 202df492..048c8fab 100644
--- a/gnulib-m4/limits-h.m4
+++ b/gnulib-m4/limits-h.m4
@@ -1,6 +1,6 @@
# limits-h.m4
# serial 1
-dnl Copyright 2016-2025 Free Software Foundation, Inc.
+dnl Copyright 2016-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/localcharset.m4 b/gnulib-m4/localcharset.m4
index 374a48f1..8e2c2755 100644
--- a/gnulib-m4/localcharset.m4
+++ b/gnulib-m4/localcharset.m4
@@ -1,6 +1,6 @@
# localcharset.m4
# serial 8
-dnl Copyright (C) 2002, 2004, 2006, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2002, 2004, 2006, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/locale-ar.m4 b/gnulib-m4/locale-ar.m4
index d5fa9561..b0b4d8e9 100644
--- a/gnulib-m4/locale-ar.m4
+++ b/gnulib-m4/locale-ar.m4
@@ -1,6 +1,6 @@
# locale-ar.m4
# serial 12
-dnl Copyright (C) 2003, 2005-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2003, 2005-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/locale-en.m4 b/gnulib-m4/locale-en.m4
index 4151428a..f5e035f3 100644
--- a/gnulib-m4/locale-en.m4
+++ b/gnulib-m4/locale-en.m4
@@ -1,6 +1,6 @@
# locale-en.m4
# serial 1
-dnl Copyright (C) 2003-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2003-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -19,7 +19,7 @@ AC_DEFUN_ONCE([gt_LOCALE_EN_UTF8],
*-musl* | midipix*)
dnl On musl libc, all kinds of ll_CC.UTF-8 locales exist, even without
dnl any locale file on disk. But they are effectively equivalent to the
- dnl C.UTF-8 locale, except for locale categories (such as LC_MESSSAGES)
+ dnl C.UTF-8 locale, except for locale categories (such as LC_MESSAGES)
dnl for which localizations (.mo files) have been installed.
gt_cv_locale_en_utf8=en_US.UTF-8
;;
diff --git a/gnulib-m4/locale-fr.m4 b/gnulib-m4/locale-fr.m4
index 31c3bf33..097cefa6 100644
--- a/gnulib-m4/locale-fr.m4
+++ b/gnulib-m4/locale-fr.m4
@@ -1,6 +1,6 @@
# locale-fr.m4
# serial 25
-dnl Copyright (C) 2003, 2005-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2003, 2005-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -156,7 +156,7 @@ AC_DEFUN_ONCE([gt_LOCALE_FR_UTF8],
*-musl* | midipix*)
dnl On musl libc, all kinds of ll_CC.UTF-8 locales exist, even without
dnl any locale file on disk. But they are effectively equivalent to the
- dnl C.UTF-8 locale, except for locale categories (such as LC_MESSSAGES)
+ dnl C.UTF-8 locale, except for locale categories (such as LC_MESSAGES)
dnl for which localizations (.mo files) have been installed.
gt_cv_locale_fr_utf8=fr_FR.UTF-8
;;
diff --git a/gnulib-m4/locale-ja.m4 b/gnulib-m4/locale-ja.m4
index 4b256859..ee4309ed 100644
--- a/gnulib-m4/locale-ja.m4
+++ b/gnulib-m4/locale-ja.m4
@@ -1,6 +1,6 @@
# locale-ja.m4
# serial 21
-dnl Copyright (C) 2003, 2005-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2003, 2005-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/locale-tr.m4 b/gnulib-m4/locale-tr.m4
index 7983fd63..34f28a9c 100644
--- a/gnulib-m4/locale-tr.m4
+++ b/gnulib-m4/locale-tr.m4
@@ -1,6 +1,6 @@
# locale-tr.m4
# serial 16
-dnl Copyright (C) 2003, 2005-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2003, 2005-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/locale-zh.m4 b/gnulib-m4/locale-zh.m4
index 6f9374d2..98975bdd 100644
--- a/gnulib-m4/locale-zh.m4
+++ b/gnulib-m4/locale-zh.m4
@@ -1,6 +1,6 @@
# locale-zh.m4
# serial 20
-dnl Copyright (C) 2003, 2005-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2003, 2005-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/locale_h.m4 b/gnulib-m4/locale_h.m4
index ae01b4ff..aeda9f9d 100644
--- a/gnulib-m4/locale_h.m4
+++ b/gnulib-m4/locale_h.m4
@@ -1,6 +1,6 @@
# locale_h.m4
# serial 39
-dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/localeconv.m4 b/gnulib-m4/localeconv.m4
index 55a669d0..9fa31de8 100644
--- a/gnulib-m4/localeconv.m4
+++ b/gnulib-m4/localeconv.m4
@@ -1,6 +1,6 @@
# localeconv.m4
# serial 3
-dnl Copyright (C) 2012-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2012-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/localename.m4 b/gnulib-m4/localename.m4
index 5cb26481..18387d08 100644
--- a/gnulib-m4/localename.m4
+++ b/gnulib-m4/localename.m4
@@ -1,6 +1,6 @@
# localename.m4
# serial 15
-dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/lock.m4 b/gnulib-m4/lock.m4
index d085f442..7058fb30 100644
--- a/gnulib-m4/lock.m4
+++ b/gnulib-m4/lock.m4
@@ -1,6 +1,6 @@
# lock.m4
# serial 15
-dnl Copyright (C) 2005-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2005-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/lstat.m4 b/gnulib-m4/lstat.m4
index efae2485..57df6fd9 100644
--- a/gnulib-m4/lstat.m4
+++ b/gnulib-m4/lstat.m4
@@ -1,6 +1,6 @@
# lstat.m4
# serial 36
-dnl Copyright (C) 1997-2001, 2003-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 1997-2001, 2003-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/malloc.m4 b/gnulib-m4/malloc.m4
index 688594fe..a95e33db 100644
--- a/gnulib-m4/malloc.m4
+++ b/gnulib-m4/malloc.m4
@@ -1,6 +1,6 @@
# malloc.m4
-# serial 44
-dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc.
+# serial 46
+dnl Copyright (C) 2007, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -99,7 +99,7 @@ AC_DEFUN([gl_FUNC_MALLOC_PTRDIFF],
[REPLACE_MALLOC_FOR_MALLOC_POSIX=1])
])
-# Test whether malloc, realloc, calloc refuse to create objects
+# Test whether malloc, calloc refuse to create objects
# larger than what can be expressed in ptrdiff_t.
# Set gl_cv_func_malloc_gnu.
AC_DEFUN([gl_CHECK_MALLOC_PTRDIFF],
@@ -148,7 +148,7 @@ AC_DEFUN([gl_FUNC_MALLOC_POSIX],
case "$gl_cv_func_malloc_posix" in
*yes)
AC_DEFINE([HAVE_MALLOC_POSIX], [1],
- [Define if malloc, realloc, and calloc set errno on allocation failure.])
+ [Define if malloc and calloc set errno on allocation failure.])
;;
*)
REPLACE_MALLOC_FOR_MALLOC_POSIX=1
@@ -156,19 +156,20 @@ AC_DEFUN([gl_FUNC_MALLOC_POSIX],
esac
])
-# Test whether malloc, realloc, calloc set errno to ENOMEM on failure.
+# Test whether malloc, calloc set errno to ENOMEM on failure.
# Set gl_cv_func_malloc_posix to *yes or *no accordingly.
AC_DEFUN([gl_CHECK_MALLOC_POSIX],
[
AC_REQUIRE([AC_CANONICAL_HOST])
- AC_CACHE_CHECK([whether malloc, realloc, calloc set errno on failure],
+ AC_CACHE_CHECK([whether malloc, calloc set errno on failure],
[gl_cv_func_malloc_posix],
[
dnl It is too dangerous to try to allocate a large amount of memory:
dnl some systems go to their knees when you do that. So assume that
dnl all Unix implementations of the function set errno on failure,
dnl except on those platforms where we have seen 'test-malloc-gnu',
- dnl 'test-realloc-posix', 'test-calloc-gnu' fail.
+ dnl 'test-realloc-posix', 'test-calloc-gnu' fail. For platforms
+ dnl where only 'test-realloc-posix', see realloc.m4.
case "$host_os" in
mingw* | windows*)
dnl Old MSVCRT from 2001 did not set errno=ENOMEM when malloc failed.
@@ -187,37 +188,41 @@ AC_DEFUN([gl_CHECK_MALLOC_POSIX],
[gl_cv_func_malloc_posix="guessing no"])
;;
solaris*)
- dnl On Solaris 11.3, the three functions return NULL with errno set
+ dnl On Solaris 11.3, the three functions might fail with errno set
dnl to EAGAIN, not ENOMEM, when the argument is larger than
- dnl PTRDIFF_MAX.
+ dnl PTRDIFF_MAX. See:
+ dnl https://lists.gnu.org/r/bug-gnulib/2021-05/msg00052.html
dnl Here is a test program:
+
m4_divert_push([KILL])
#include <errno.h>
+#include <stddef.h>
#include <stdio.h>
+#include <stdint.h>
#include <stdlib.h>
-#define ptrdiff_t long
-#ifndef PTRDIFF_MAX
-# define PTRDIFF_MAX ((ptrdiff_t) ((1UL << (8 * sizeof (ptrdiff_t) - 1)) - 1))
-#endif
-int main ()
+#define TEST_CALL(call) \
+ do { \
+ void *p = call; \
+ if (p) \
+ fprintf (stderr, "returned %p (incorrect success)\n", p); \
+ else if (errno == ENOMEM) \
+ perror ("correct failure"); \
+ else \
+ perror ("incorrect failure (wrong errno)"); \
+ free (p); \
+ } while (0)
+
+int
+main ()
{
- void *p;
-
- fprintf (stderr, "PTRDIFF_MAX = %lu\n", (unsigned long) PTRDIFF_MAX);
-
- errno = 0;
- p = malloc ((unsigned long) PTRDIFF_MAX + 1);
- fprintf (stderr, "p=%p errno=%d\n", p, errno);
-
- errno = 0;
- p = calloc (PTRDIFF_MAX / 2 + 1, 2);
- fprintf (stderr, "p=%p errno=%d\n", p, errno);
-
- errno = 0;
- p = realloc (NULL, (unsigned long) PTRDIFF_MAX + 1);
- fprintf (stderr, "p=%p errno=%d\n", p, errno);
-
+ size_t big = PTRDIFF_MAX;
+ TEST_CALL (malloc (big + 1));
+ TEST_CALL (calloc (big / 2 + 1, 2));
+ TEST_CALL (realloc (NULL, big + 1));
+ void *small = malloc (1);
+ TEST_CALL (realloc (small, big + 1));
+ free (small);
return 0;
}
m4_divert_pop([KILL])
diff --git a/gnulib-m4/malloca.m4 b/gnulib-m4/malloca.m4
index cabe5fe7..2c0ed8ea 100644
--- a/gnulib-m4/malloca.m4
+++ b/gnulib-m4/malloca.m4
@@ -1,6 +1,6 @@
# malloca.m4
# serial 3
-dnl Copyright (C) 2003-2004, 2006-2007, 2009-2025 Free Software Foundation,
+dnl Copyright (C) 2003-2004, 2006-2007, 2009-2026 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
diff --git a/gnulib-m4/math_h.m4 b/gnulib-m4/math_h.m4
index fa2ace3f..4cf59671 100644
--- a/gnulib-m4/math_h.m4
+++ b/gnulib-m4/math_h.m4
@@ -1,6 +1,6 @@
# math_h.m4
-# serial 141
-dnl Copyright (C) 2007-2025 Free Software Foundation, Inc.
+# serial 146
+dnl Copyright (C) 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -131,8 +131,11 @@ AC_DEFUN([gl_MATH_H_REQUIRE_DEFAULTS],
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ILOGBF])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ILOGBL])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISFINITE])
+ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISFINITE_NO_CXX])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISINF])
+ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISINF_NO_CXX])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISNAN])
+ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISNAN_NO_CXX])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISNANF])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISNAND])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISNANL])
@@ -177,6 +180,7 @@ AC_DEFUN([gl_MATH_H_REQUIRE_DEFAULTS],
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SETPAYLOADSIGF])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SETPAYLOADSIGL])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SIGNBIT])
+ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SIGNBIT_NO_CXX])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SINF])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SINL])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SINHF])
@@ -396,6 +400,7 @@ AC_DEFUN([gl_MATH_H_DEFAULTS],
REPLACE_SIGNBIT_USING_BUILTINS=0; AC_SUBST([REPLACE_SIGNBIT_USING_BUILTINS])
REPLACE_SINF=0; AC_SUBST([REPLACE_SINF])
REPLACE_SINHF=0; AC_SUBST([REPLACE_SINHF])
+ REPLACE_SINL=0; AC_SUBST([REPLACE_SINL])
REPLACE_SQRTF=0; AC_SUBST([REPLACE_SQRTF])
REPLACE_SQRTL=0; AC_SUBST([REPLACE_SQRTL])
REPLACE_TANF=0; AC_SUBST([REPLACE_TANF])
diff --git a/gnulib-m4/mbchar.m4 b/gnulib-m4/mbchar.m4
index b76f1d7b..4251a84c 100644
--- a/gnulib-m4/mbchar.m4
+++ b/gnulib-m4/mbchar.m4
@@ -1,6 +1,6 @@
# mbchar.m4
# serial 9
-dnl Copyright (C) 2005-2007, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2005-2007, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/mbiter.m4 b/gnulib-m4/mbiter.m4
index b51242e6..927876bc 100644
--- a/gnulib-m4/mbiter.m4
+++ b/gnulib-m4/mbiter.m4
@@ -1,6 +1,6 @@
# mbiter.m4
# serial 7
-dnl Copyright (C) 2005, 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2005, 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/mbrtoc32.m4 b/gnulib-m4/mbrtoc32.m4
index 1991529c..d1690fb4 100644
--- a/gnulib-m4/mbrtoc32.m4
+++ b/gnulib-m4/mbrtoc32.m4
@@ -1,6 +1,6 @@
# mbrtoc32.m4
# serial 21
-dnl Copyright (C) 2014-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2014-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/mbrtowc.m4 b/gnulib-m4/mbrtowc.m4
index 4ed9510f..a49872fa 100644
--- a/gnulib-m4/mbrtowc.m4
+++ b/gnulib-m4/mbrtowc.m4
@@ -1,6 +1,6 @@
# mbrtowc.m4
# serial 47
-dnl Copyright (C) 2001-2002, 2004-2005, 2008-2025 Free Software Foundation,
+dnl Copyright (C) 2001-2002, 2004-2005, 2008-2026 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
diff --git a/gnulib-m4/mbsinit.m4 b/gnulib-m4/mbsinit.m4
index 69cfa574..757f2360 100644
--- a/gnulib-m4/mbsinit.m4
+++ b/gnulib-m4/mbsinit.m4
@@ -1,6 +1,6 @@
# mbsinit.m4
# serial 10
-dnl Copyright (C) 2008, 2010-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2008, 2010-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/mbstate_t.m4 b/gnulib-m4/mbstate_t.m4
index 59df1e2e..88307d7a 100644
--- a/gnulib-m4/mbstate_t.m4
+++ b/gnulib-m4/mbstate_t.m4
@@ -1,6 +1,6 @@
# mbstate_t.m4
# serial 14
-dnl Copyright (C) 2000-2002, 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2000-2002, 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/mbtowc.m4 b/gnulib-m4/mbtowc.m4
index 3e3f6ce0..9c5887d3 100644
--- a/gnulib-m4/mbtowc.m4
+++ b/gnulib-m4/mbtowc.m4
@@ -1,6 +1,6 @@
# mbtowc.m4
# serial 5
-dnl Copyright (C) 2011-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2011-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/memchr.m4 b/gnulib-m4/memchr.m4
index 9647b20e..c5c74682 100644
--- a/gnulib-m4/memchr.m4
+++ b/gnulib-m4/memchr.m4
@@ -1,6 +1,6 @@
# memchr.m4
# serial 21
-dnl Copyright (C) 2002-2004, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2002-2004, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/minmax.m4 b/gnulib-m4/minmax.m4
index 69c8a89f..3344e3f7 100644
--- a/gnulib-m4/minmax.m4
+++ b/gnulib-m4/minmax.m4
@@ -1,6 +1,6 @@
# minmax.m4
# serial 4
-dnl Copyright (C) 2005, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2005, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/mkfifo.m4 b/gnulib-m4/mkfifo.m4
index 9e85a89f..b155c872 100644
--- a/gnulib-m4/mkfifo.m4
+++ b/gnulib-m4/mkfifo.m4
@@ -1,6 +1,6 @@
# mkfifo.m4
# serial 9
-dnl Copyright (C) 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/mmap-anon.m4 b/gnulib-m4/mmap-anon.m4
index abf6194a..b5e323d4 100644
--- a/gnulib-m4/mmap-anon.m4
+++ b/gnulib-m4/mmap-anon.m4
@@ -1,6 +1,6 @@
# mmap-anon.m4
# serial 15
-dnl Copyright (C) 2005, 2007, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2005, 2007, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/mode_t.m4 b/gnulib-m4/mode_t.m4
index 7dae201b..4621813d 100644
--- a/gnulib-m4/mode_t.m4
+++ b/gnulib-m4/mode_t.m4
@@ -1,6 +1,6 @@
# mode_t.m4
# serial 2
-dnl Copyright (C) 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/msvc-inval.m4 b/gnulib-m4/msvc-inval.m4
index bfbb983b..565c0d3a 100644
--- a/gnulib-m4/msvc-inval.m4
+++ b/gnulib-m4/msvc-inval.m4
@@ -1,6 +1,6 @@
# msvc-inval.m4
# serial 1
-dnl Copyright (C) 2011-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2011-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/msvc-nothrow.m4 b/gnulib-m4/msvc-nothrow.m4
index 6a470971..1c2b491e 100644
--- a/gnulib-m4/msvc-nothrow.m4
+++ b/gnulib-m4/msvc-nothrow.m4
@@ -1,6 +1,6 @@
# msvc-nothrow.m4
# serial 1
-dnl Copyright (C) 2011-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2011-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/multiarch.m4 b/gnulib-m4/multiarch.m4
index 817f01f1..4fb642b7 100644
--- a/gnulib-m4/multiarch.m4
+++ b/gnulib-m4/multiarch.m4
@@ -1,6 +1,6 @@
# multiarch.m4
# serial 9
-dnl Copyright (C) 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/musl.m4 b/gnulib-m4/musl.m4
index 6ff778cb..15b34466 100644
--- a/gnulib-m4/musl.m4
+++ b/gnulib-m4/musl.m4
@@ -1,6 +1,6 @@
# musl.m4
# serial 4
-dnl Copyright (C) 2019-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2019-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/nan-mips.m4 b/gnulib-m4/nan-mips.m4
index 144c2de8..da807c66 100644
--- a/gnulib-m4/nan-mips.m4
+++ b/gnulib-m4/nan-mips.m4
@@ -1,6 +1,6 @@
# nan-mips.m4
# serial 1
-dnl Copyright (C) 2023-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2023-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/nanosleep.m4 b/gnulib-m4/nanosleep.m4
index 81c45d8a..3a9967c8 100644
--- a/gnulib-m4/nanosleep.m4
+++ b/gnulib-m4/nanosleep.m4
@@ -1,6 +1,6 @@
# nanosleep.m4
-# serial 47
-dnl Copyright (C) 1999-2001, 2003-2025 Free Software Foundation, Inc.
+# serial 48
+dnl Copyright (C) 1999-2001, 2003-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -144,6 +144,25 @@ AC_DEFUN([gl_FUNC_NANOSLEEP],
;;
esac
else
+ # Replace the static inline function on mingw which requires linking to
+ # libwinpthreads.
+ AC_CACHE_CHECK([for static inline nanosleep],
+ [gl_cv_static_inline_nanosleep],
+ [AC_COMPILE_IFELSE(
+ [AC_LANG_PROGRAM(
+ [[#include <time.h>]],
+ [[
+ static struct timespec ts1;
+ static struct timespec ts2;
+ return nanosleep (&ts1, &ts2);
+ ]])
+ ],
+ [gl_cv_static_inline_nanosleep=yes],
+ [gl_cv_static_inline_nanosleep=no])
+ ])
+ if test $gl_cv_static_inline_nanosleep = yes; then
+ REPLACE_NANOSLEEP=1
+ fi
HAVE_NANOSLEEP=0
fi
LIBS=$gl_saved_LIBS
diff --git a/gnulib-m4/netinet_in_h.m4 b/gnulib-m4/netinet_in_h.m4
index b56e354c..6d9eaf97 100644
--- a/gnulib-m4/netinet_in_h.m4
+++ b/gnulib-m4/netinet_in_h.m4
@@ -1,6 +1,6 @@
# netinet_in_h.m4
# serial 6
-dnl Copyright (C) 2006-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2006-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/nocrash.m4 b/gnulib-m4/nocrash.m4
index 662fb049..5c1af8c7 100644
--- a/gnulib-m4/nocrash.m4
+++ b/gnulib-m4/nocrash.m4
@@ -1,6 +1,6 @@
# nocrash.m4
# serial 5
-dnl Copyright (C) 2005, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2005, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/off64_t.m4 b/gnulib-m4/off64_t.m4
index 963d53e9..93d9e37b 100644
--- a/gnulib-m4/off64_t.m4
+++ b/gnulib-m4/off64_t.m4
@@ -1,6 +1,6 @@
# off64_t.m4
# serial 1
-dnl Copyright (C) 2024-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2024-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/off_t.m4 b/gnulib-m4/off_t.m4
index f4f4bbf6..d7d6aa0c 100644
--- a/gnulib-m4/off_t.m4
+++ b/gnulib-m4/off_t.m4
@@ -1,6 +1,6 @@
# off_t.m4
# serial 1
-dnl Copyright (C) 2012-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2012-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/once.m4 b/gnulib-m4/once.m4
index 7876a8fe..a478d81a 100644
--- a/gnulib-m4/once.m4
+++ b/gnulib-m4/once.m4
@@ -1,6 +1,6 @@
# once.m4
# serial 1
-dnl Copyright (C) 2024-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2024-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/open-cloexec.m4 b/gnulib-m4/open-cloexec.m4
index 860541b0..9c9aef23 100644
--- a/gnulib-m4/open-cloexec.m4
+++ b/gnulib-m4/open-cloexec.m4
@@ -1,6 +1,6 @@
# open-cloexec.m4
# serial 1
-dnl Copyright 2017-2025 Free Software Foundation, Inc.
+dnl Copyright 2017-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/open-slash.m4 b/gnulib-m4/open-slash.m4
index 2cba48fe..c36bdced 100644
--- a/gnulib-m4/open-slash.m4
+++ b/gnulib-m4/open-slash.m4
@@ -1,6 +1,6 @@
# open-slash.m4
# serial 2
-dnl Copyright (C) 2007-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/open.m4 b/gnulib-m4/open.m4
index dd3a805f..f5b2a91c 100644
--- a/gnulib-m4/open.m4
+++ b/gnulib-m4/open.m4
@@ -1,6 +1,6 @@
# open.m4
# serial 17
-dnl Copyright (C) 2007-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/pathmax.m4 b/gnulib-m4/pathmax.m4
index 0c3925df..d6bdf43e 100644
--- a/gnulib-m4/pathmax.m4
+++ b/gnulib-m4/pathmax.m4
@@ -1,6 +1,6 @@
# pathmax.m4
# serial 11
-dnl Copyright (C) 2002-2003, 2005-2006, 2009-2025 Free Software Foundation,
+dnl Copyright (C) 2002-2003, 2005-2006, 2009-2026 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
diff --git a/gnulib-m4/perror.m4 b/gnulib-m4/perror.m4
index 62b75d09..4052ab4a 100644
--- a/gnulib-m4/perror.m4
+++ b/gnulib-m4/perror.m4
@@ -1,6 +1,6 @@
# perror.m4
# serial 13
-dnl Copyright (C) 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/pipe.m4 b/gnulib-m4/pipe.m4
index a1709842..41fed87b 100644
--- a/gnulib-m4/pipe.m4
+++ b/gnulib-m4/pipe.m4
@@ -1,6 +1,6 @@
# pipe.m4
# serial 2
-dnl Copyright (C) 2010-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2010-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/printf-frexp.m4 b/gnulib-m4/printf-frexp.m4
index 3e9737fa..e1d1f4b0 100644
--- a/gnulib-m4/printf-frexp.m4
+++ b/gnulib-m4/printf-frexp.m4
@@ -1,6 +1,6 @@
# printf-frexp.m4
# serial 5
-dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/printf-frexpl.m4 b/gnulib-m4/printf-frexpl.m4
index e7e23eb7..22e69639 100644
--- a/gnulib-m4/printf-frexpl.m4
+++ b/gnulib-m4/printf-frexpl.m4
@@ -1,6 +1,6 @@
# printf-frexpl.m4
# serial 10
-dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/printf.m4 b/gnulib-m4/printf.m4
index 3aadf99c..0de493b6 100644
--- a/gnulib-m4/printf.m4
+++ b/gnulib-m4/printf.m4
@@ -1,6 +1,6 @@
# printf.m4
# serial 98
-dnl Copyright (C) 2003, 2007-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2003, 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -937,7 +937,7 @@ int main ()
_CrtSetReportMode (_CRT_ASSERT, 0);
#endif
signal (SIGABRT, abort_handler);
- /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE=2)
+ /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE >= 2)
support %n in format strings in read-only memory but not in writable
memory. */
strcpy (fmtstring, "%d %n");
@@ -1849,7 +1849,7 @@ int main ()
{
int count = -1;
signal (SIGABRT, abort_handler);
- /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE=2)
+ /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE >= 2)
support %n in format strings in read-only memory but not in writable
memory. */
strcpy (fmtstring, "%d %n");
diff --git a/gnulib-m4/pselect.m4 b/gnulib-m4/pselect.m4
index 06df1b9a..829910b8 100644
--- a/gnulib-m4/pselect.m4
+++ b/gnulib-m4/pselect.m4
@@ -1,6 +1,6 @@
# pselect.m4
# serial 11
-dnl Copyright (C) 2011-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2011-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/pthread-cond.m4 b/gnulib-m4/pthread-cond.m4
index 5c78f6ef..02d6efc2 100644
--- a/gnulib-m4/pthread-cond.m4
+++ b/gnulib-m4/pthread-cond.m4
@@ -1,6 +1,6 @@
# pthread-cond.m4
# serial 3
-dnl Copyright (C) 2019-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2019-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/pthread-mutex.m4 b/gnulib-m4/pthread-mutex.m4
index ae3acf4d..38c525da 100644
--- a/gnulib-m4/pthread-mutex.m4
+++ b/gnulib-m4/pthread-mutex.m4
@@ -1,6 +1,6 @@
# pthread-mutex.m4
# serial 4
-dnl Copyright (C) 2019-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2019-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/pthread-once.m4 b/gnulib-m4/pthread-once.m4
index 85549254..9080363d 100644
--- a/gnulib-m4/pthread-once.m4
+++ b/gnulib-m4/pthread-once.m4
@@ -1,6 +1,6 @@
# pthread-once.m4
# serial 6
-dnl Copyright (C) 2019-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2019-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/pthread-rwlock.m4 b/gnulib-m4/pthread-rwlock.m4
index 877da63f..ace80721 100644
--- a/gnulib-m4/pthread-rwlock.m4
+++ b/gnulib-m4/pthread-rwlock.m4
@@ -1,6 +1,6 @@
# pthread-rwlock.m4
# serial 9
-dnl Copyright (C) 2019-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2019-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/pthread-spin.m4 b/gnulib-m4/pthread-spin.m4
index aae2fb3b..17fa3b5e 100644
--- a/gnulib-m4/pthread-spin.m4
+++ b/gnulib-m4/pthread-spin.m4
@@ -1,6 +1,6 @@
# pthread-spin.m4
# serial 8
-dnl Copyright (C) 2019-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2019-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/pthread-thread.m4 b/gnulib-m4/pthread-thread.m4
index ba430e5f..35929600 100644
--- a/gnulib-m4/pthread-thread.m4
+++ b/gnulib-m4/pthread-thread.m4
@@ -1,6 +1,6 @@
# pthread-thread.m4
# serial 3
-dnl Copyright (C) 2019-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2019-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/pthread_h.m4 b/gnulib-m4/pthread_h.m4
index bb921386..f01dc3d3 100644
--- a/gnulib-m4/pthread_h.m4
+++ b/gnulib-m4/pthread_h.m4
@@ -1,6 +1,6 @@
# pthread_h.m4
# serial 11
-dnl Copyright (C) 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/pthread_mutex_timedlock.m4 b/gnulib-m4/pthread_mutex_timedlock.m4
index 9cb25e87..48375e88 100644
--- a/gnulib-m4/pthread_mutex_timedlock.m4
+++ b/gnulib-m4/pthread_mutex_timedlock.m4
@@ -1,6 +1,6 @@
# pthread_mutex_timedlock.m4
# serial 6
-dnl Copyright (C) 2019-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2019-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/pthread_rwlock_rdlock.m4 b/gnulib-m4/pthread_rwlock_rdlock.m4
index 260bc287..c16c781d 100644
--- a/gnulib-m4/pthread_rwlock_rdlock.m4
+++ b/gnulib-m4/pthread_rwlock_rdlock.m4
@@ -1,6 +1,6 @@
# pthread_rwlock_rdlock.m4
# serial 8
-dnl Copyright (C) 2017-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2017-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/pthread_sigmask.m4 b/gnulib-m4/pthread_sigmask.m4
index 77991d4f..2984dcdc 100644
--- a/gnulib-m4/pthread_sigmask.m4
+++ b/gnulib-m4/pthread_sigmask.m4
@@ -1,6 +1,6 @@
# pthread_sigmask.m4
# serial 24
-dnl Copyright (C) 2011-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2011-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/putenv.m4 b/gnulib-m4/putenv.m4
index 26caf9fb..207f5003 100644
--- a/gnulib-m4/putenv.m4
+++ b/gnulib-m4/putenv.m4
@@ -1,6 +1,6 @@
# putenv.m4
# serial 28
-dnl Copyright (C) 2002-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2002-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/raise.m4 b/gnulib-m4/raise.m4
index 0add3f2e..be6021ab 100644
--- a/gnulib-m4/raise.m4
+++ b/gnulib-m4/raise.m4
@@ -1,6 +1,6 @@
# raise.m4
# serial 4
-dnl Copyright (C) 2011-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2011-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/random.m4 b/gnulib-m4/random.m4
index 360e56b0..9a646f3b 100644
--- a/gnulib-m4/random.m4
+++ b/gnulib-m4/random.m4
@@ -1,6 +1,6 @@
# random.m4
# serial 8
-dnl Copyright (C) 2012-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2012-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/random_r.m4 b/gnulib-m4/random_r.m4
index e4c36c4c..2ee52f9d 100644
--- a/gnulib-m4/random_r.m4
+++ b/gnulib-m4/random_r.m4
@@ -1,6 +1,6 @@
# random_r.m4
# serial 6
-dnl Copyright (C) 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/realloc.m4 b/gnulib-m4/realloc.m4
index 0242abdc..8938db92 100644
--- a/gnulib-m4/realloc.m4
+++ b/gnulib-m4/realloc.m4
@@ -1,6 +1,6 @@
# realloc.m4
-# serial 39
-dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc.
+# serial 40
+dnl Copyright (C) 2007, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -27,13 +27,54 @@ AC_DEFUN([gl_FUNC_REALLOC_POSIX],
[
AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
AC_REQUIRE([gl_FUNC_MALLOC_POSIX])
+ AC_REQUIRE([AC_CANONICAL_HOST])
+ AC_CACHE_CHECK([whether realloc sets errno on failure],
+ [gl_cv_func_realloc_posix],
+ [
+ dnl FreeBSD 15.0 realloc() does not set errno when asked for more than
+ dnl 0x7000000000000000 bytes.
+ case "$host_os" in
+ darwin* | freebsd* | dragonfly* | midnightbsd* | netbsd* | openbsd*)
+ AC_RUN_IFELSE(
+ [AC_LANG_SOURCE(
+ [[#include <errno.h>
+ #include <stdlib.h>
+ int main (int argc, char **argv)
+ {
+ void *p;
+ errno = 1729;
+ p = realloc (malloc (1), (size_t)(-1) / 100 * 49);
+ return (!p && errno == 1729);
+ }
+ ]])
+ ],
+ [gl_cv_func_realloc_posix=yes],
+ [gl_cv_func_realloc_posix=no],
+ [case "$host_os" in
+ freebsd*) gl_cv_func_realloc_posix="guessing no" ;;
+ *) gl_cv_func_realloc_posix="guessing yes" ;;
+ esac
+ ])
+ ;;
+ *)
+ gl_cv_func_realloc_posix="$gl_cv_func_malloc_posix"
+ ;;
+ esac
+ ])
+ case "$gl_cv_func_realloc_posix" in
+ *yes)
+ AC_DEFINE([HAVE_REALLOC_POSIX], [1],
+ [Define if realloc sets errno on allocation failure.])
+ ;;
+ *)
+ REPLACE_REALLOC_FOR_REALLOC_POSIX=1
+ ;;
+ esac
AC_REQUIRE([gl_FUNC_REALLOC_SANITIZED])
if test "$gl_cv_func_realloc_sanitize" != no; then
REPLACE_REALLOC_FOR_REALLOC_POSIX=1
AC_DEFINE([NEED_SANITIZED_REALLOC], [1],
[Define to 1 if realloc should abort upon undefined behaviour.])
- else
- REPLACE_REALLOC_FOR_REALLOC_POSIX=$REPLACE_MALLOC_FOR_MALLOC_POSIX
fi
])
diff --git a/gnulib-m4/reallocarray.m4 b/gnulib-m4/reallocarray.m4
index 3970d9e1..e789967c 100644
--- a/gnulib-m4/reallocarray.m4
+++ b/gnulib-m4/reallocarray.m4
@@ -1,6 +1,6 @@
# reallocarray.m4
# serial 7
-dnl Copyright (C) 2017-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2017-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/relocatable-lib.m4 b/gnulib-m4/relocatable-lib.m4
index 5efed521..d270ad97 100644
--- a/gnulib-m4/relocatable-lib.m4
+++ b/gnulib-m4/relocatable-lib.m4
@@ -1,6 +1,6 @@
# relocatable-lib.m4
-# serial 8
-dnl Copyright (C) 2003, 2005-2007, 2009-2025 Free Software Foundation, Inc.
+# serial 9
+dnl Copyright (C) 2003, 2005-2007, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -31,6 +31,14 @@ AC_DEFUN([gl_RELOCATABLE_LIBRARY_BODY],
[Define to 1 if the package shall run at any location in the file
system.])
fi
+ dnl Determine whether dladdr() exists in libc.
+ gl_LIBDL
+ if test -z "$LIBDL"; then
+ AC_CHECK_FUNC([dladdr],
+ [AC_DEFINE([HAVE_DLADDR_IN_LIBC], [1],
+ [Define to 1 if dladdr exists and is defined in libc.])
+ ])
+ fi
])
dnl Support for relocatable packages for which it is a nop.
diff --git a/gnulib-m4/sched_h.m4 b/gnulib-m4/sched_h.m4
index 1ffd465f..92ebe1b7 100644
--- a/gnulib-m4/sched_h.m4
+++ b/gnulib-m4/sched_h.m4
@@ -1,6 +1,6 @@
# sched_h.m4
# serial 16
-dnl Copyright (C) 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/sched_yield.m4 b/gnulib-m4/sched_yield.m4
index 2aaaf1cc..3c23d768 100644
--- a/gnulib-m4/sched_yield.m4
+++ b/gnulib-m4/sched_yield.m4
@@ -1,6 +1,6 @@
# sched_yield.m4
# serial 3
-dnl Copyright (C) 2019-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2019-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/select.m4 b/gnulib-m4/select.m4
index 88909788..1e4a0344 100644
--- a/gnulib-m4/select.m4
+++ b/gnulib-m4/select.m4
@@ -1,6 +1,6 @@
# select.m4
# serial 16
-dnl Copyright (C) 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/semaphore.m4 b/gnulib-m4/semaphore.m4
index a5d278f6..1091550e 100644
--- a/gnulib-m4/semaphore.m4
+++ b/gnulib-m4/semaphore.m4
@@ -1,6 +1,6 @@
# semaphore.m4
# serial 4
-dnl Copyright (C) 2019-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2019-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/setenv.m4 b/gnulib-m4/setenv.m4
index 39612750..5faf28d2 100644
--- a/gnulib-m4/setenv.m4
+++ b/gnulib-m4/setenv.m4
@@ -1,6 +1,6 @@
# setenv.m4
# serial 36
-dnl Copyright (C) 2001-2004, 2006-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2001-2004, 2006-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/setlocale.m4 b/gnulib-m4/setlocale.m4
index 16413cec..8a8841b8 100644
--- a/gnulib-m4/setlocale.m4
+++ b/gnulib-m4/setlocale.m4
@@ -1,6 +1,6 @@
# setlocale.m4
# serial 11
-dnl Copyright (C) 2011-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2011-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/setlocale_null.m4 b/gnulib-m4/setlocale_null.m4
index bf2cf589..b6727245 100644
--- a/gnulib-m4/setlocale_null.m4
+++ b/gnulib-m4/setlocale_null.m4
@@ -1,6 +1,6 @@
# setlocale_null.m4
# serial 11
-dnl Copyright (C) 2019-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2019-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/signal_h.m4 b/gnulib-m4/signal_h.m4
index 10343bbf..7c12652b 100644
--- a/gnulib-m4/signal_h.m4
+++ b/gnulib-m4/signal_h.m4
@@ -1,6 +1,6 @@
# signal_h.m4
# serial 23
-dnl Copyright (C) 2007-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/signalblocking.m4 b/gnulib-m4/signalblocking.m4
index 23dad848..55a1495f 100644
--- a/gnulib-m4/signalblocking.m4
+++ b/gnulib-m4/signalblocking.m4
@@ -1,6 +1,6 @@
# signalblocking.m4
# serial 17
-dnl Copyright (C) 2001-2002, 2006-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2001-2002, 2006-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/signbit.m4 b/gnulib-m4/signbit.m4
index 4cb1ac4b..8124cc81 100644
--- a/gnulib-m4/signbit.m4
+++ b/gnulib-m4/signbit.m4
@@ -1,6 +1,6 @@
# signbit.m4
# serial 23
-dnl Copyright (C) 2007-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/size_max.m4 b/gnulib-m4/size_max.m4
index b0460d45..b7a5153a 100644
--- a/gnulib-m4/size_max.m4
+++ b/gnulib-m4/size_max.m4
@@ -1,6 +1,6 @@
# size_max.m4
# serial 12
-dnl Copyright (C) 2003, 2005-2006, 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2003, 2005-2006, 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/sleep.m4 b/gnulib-m4/sleep.m4
index c5da022d..6416cd5f 100644
--- a/gnulib-m4/sleep.m4
+++ b/gnulib-m4/sleep.m4
@@ -1,6 +1,6 @@
# sleep.m4
# serial 14
-dnl Copyright (C) 2007-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/snan.m4 b/gnulib-m4/snan.m4
index 7fa869c9..64d20a82 100644
--- a/gnulib-m4/snan.m4
+++ b/gnulib-m4/snan.m4
@@ -1,6 +1,6 @@
# snan.m4
# serial 3
-dnl Copyright (C) 2023-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2023-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/socketlib.m4 b/gnulib-m4/socketlib.m4
index e3509f81..f62ffcfd 100644
--- a/gnulib-m4/socketlib.m4
+++ b/gnulib-m4/socketlib.m4
@@ -1,6 +1,6 @@
# socketlib.m4
# serial 4
-dnl Copyright (C) 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/sockets.m4 b/gnulib-m4/sockets.m4
index 54f4dc79..95800d2e 100644
--- a/gnulib-m4/sockets.m4
+++ b/gnulib-m4/sockets.m4
@@ -1,6 +1,6 @@
# sockets.m4
# serial 7
-dnl Copyright (C) 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/socklen.m4 b/gnulib-m4/socklen.m4
index a4d49bfd..e5156511 100644
--- a/gnulib-m4/socklen.m4
+++ b/gnulib-m4/socklen.m4
@@ -1,6 +1,6 @@
# socklen.m4
# serial 13
-dnl Copyright (C) 2005-2007, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2005-2007, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/sockpfaf.m4 b/gnulib-m4/sockpfaf.m4
index 08ce843d..6379766d 100644
--- a/gnulib-m4/sockpfaf.m4
+++ b/gnulib-m4/sockpfaf.m4
@@ -1,6 +1,6 @@
# sockpfaf.m4
# serial 11
-dnl Copyright (C) 2004, 2006, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2004, 2006, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/ssize_t.m4 b/gnulib-m4/ssize_t.m4
index a2ffd6fc..8710cb72 100644
--- a/gnulib-m4/ssize_t.m4
+++ b/gnulib-m4/ssize_t.m4
@@ -1,6 +1,6 @@
# ssize_t.m4
# serial 6
-dnl Copyright (C) 2001-2003, 2006, 2010-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2001-2003, 2006, 2010-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/stat-time.m4 b/gnulib-m4/stat-time.m4
index 4aa24e7f..10eb1dfa 100644
--- a/gnulib-m4/stat-time.m4
+++ b/gnulib-m4/stat-time.m4
@@ -1,6 +1,6 @@
# stat-time.m4
# serial 1
-dnl Copyright (C) 1998-1999, 2001, 2003, 2005-2007, 2009-2025 Free Software
+dnl Copyright (C) 1998-1999, 2001, 2003, 2005-2007, 2009-2026 Free Software
dnl Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
diff --git a/gnulib-m4/stat.m4 b/gnulib-m4/stat.m4
index 66876305..3764ec0b 100644
--- a/gnulib-m4/stat.m4
+++ b/gnulib-m4/stat.m4
@@ -1,6 +1,6 @@
# stat.m4
# serial 21
-dnl Copyright (C) 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/stdalign.m4 b/gnulib-m4/stdalign.m4
index d22360e1..7177d034 100644
--- a/gnulib-m4/stdalign.m4
+++ b/gnulib-m4/stdalign.m4
@@ -1,6 +1,6 @@
# stdalign.m4
# serial 3
-dnl Copyright 2011-2025 Free Software Foundation, Inc.
+dnl Copyright 2011-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -82,8 +82,8 @@ AC_DEFUN([gl_ALIGNASOF],
References:
ISO C23 (latest free draft
- <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3096.pdf>)
- sections 6.5.3.4, 6.7.5, 7.15.
+ <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3220.pdf>)
+ sections 6.2.8, 6.7.6.
C++11 (latest free draft
<https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3242.pdf>)
section 18.10. */
diff --git a/gnulib-m4/stdckdint_h.m4 b/gnulib-m4/stdckdint_h.m4
index d269faa5..eb8c858a 100644
--- a/gnulib-m4/stdckdint_h.m4
+++ b/gnulib-m4/stdckdint_h.m4
@@ -1,6 +1,6 @@
# stdckdint_h.m4
# serial 1
-dnl Copyright 2025 Free Software Foundation, Inc.
+dnl Copyright 2025-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/stddef_h.m4 b/gnulib-m4/stddef_h.m4
index d52d5494..299472b1 100644
--- a/gnulib-m4/stddef_h.m4
+++ b/gnulib-m4/stddef_h.m4
@@ -1,6 +1,6 @@
# stddef_h.m4
# serial 23
-dnl Copyright (C) 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/stdint.m4 b/gnulib-m4/stdint.m4
index 5a289e6d..410da153 100644
--- a/gnulib-m4/stdint.m4
+++ b/gnulib-m4/stdint.m4
@@ -1,6 +1,6 @@
# stdint.m4
# serial 65
-dnl Copyright (C) 2001-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2001-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/stdint_h.m4 b/gnulib-m4/stdint_h.m4
index d4f1acdd..7f60af20 100644
--- a/gnulib-m4/stdint_h.m4
+++ b/gnulib-m4/stdint_h.m4
@@ -1,6 +1,6 @@
# stdint_h.m4
# serial 9
-dnl Copyright (C) 1997-2004, 2006, 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 1997-2004, 2006, 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/stdio_h.m4 b/gnulib-m4/stdio_h.m4
index 71d86180..9d4126f5 100644
--- a/gnulib-m4/stdio_h.m4
+++ b/gnulib-m4/stdio_h.m4
@@ -1,6 +1,6 @@
# stdio_h.m4
# serial 75
-dnl Copyright (C) 2007-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/stdlib_h.m4 b/gnulib-m4/stdlib_h.m4
index ab2e8701..f35d6611 100644
--- a/gnulib-m4/stdlib_h.m4
+++ b/gnulib-m4/stdlib_h.m4
@@ -1,6 +1,6 @@
# stdlib_h.m4
-# serial 85
-dnl Copyright (C) 2007-2025 Free Software Foundation, Inc.
+# serial 86
+dnl Copyright (C) 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -223,6 +223,7 @@ AC_DEFUN([gl_STDLIB_H_DEFAULTS],
HAVE_STRTOULL=1; AC_SUBST([HAVE_STRTOULL])
HAVE_STRUCT_RANDOM_DATA=1; AC_SUBST([HAVE_STRUCT_RANDOM_DATA])
HAVE_SYS_LOADAVG_H=0; AC_SUBST([HAVE_SYS_LOADAVG_H])
+ HAVE_SYS_PROCESS_H=0; AC_SUBST([HAVE_SYS_PROCESS_H])
HAVE_UNLOCKPT=1; AC_SUBST([HAVE_UNLOCKPT])
HAVE_DECL_UNSETENV=1; AC_SUBST([HAVE_DECL_UNSETENV])
REPLACE__EXIT=0; AC_SUBST([REPLACE__EXIT])
diff --git a/gnulib-m4/stpcpy.m4 b/gnulib-m4/stpcpy.m4
index 0c84d6d6..4b9e774b 100644
--- a/gnulib-m4/stpcpy.m4
+++ b/gnulib-m4/stpcpy.m4
@@ -1,6 +1,6 @@
# stpcpy.m4
# serial 11
-dnl Copyright (C) 2002, 2007, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2002, 2007, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/strerror.m4 b/gnulib-m4/strerror.m4
index c8b3b207..9bb60c3f 100644
--- a/gnulib-m4/strerror.m4
+++ b/gnulib-m4/strerror.m4
@@ -1,6 +1,6 @@
# strerror.m4
# serial 25
-dnl Copyright (C) 2002, 2007-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2002, 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/strerror_r.m4 b/gnulib-m4/strerror_r.m4
index 4bbb8a0f..9b056c0f 100644
--- a/gnulib-m4/strerror_r.m4
+++ b/gnulib-m4/strerror_r.m4
@@ -1,6 +1,6 @@
# strerror_r.m4
# serial 29
-dnl Copyright (C) 2002, 2007-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2002, 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/string_h.m4 b/gnulib-m4/string_h.m4
index b5324e3a..93a5d354 100644
--- a/gnulib-m4/string_h.m4
+++ b/gnulib-m4/string_h.m4
@@ -1,6 +1,6 @@
# string_h.m4
-# serial 45
-dnl Copyright (C) 2007-2025 Free Software Foundation, Inc.
+# serial 47
+dnl Copyright (C) 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -24,7 +24,7 @@ AC_DEFUN_ONCE([gl_STRING_H],
]],
[explicit_bzero ffsl ffsll memmem mempcpy memrchr memset_explicit
rawmemchr stpcpy stpncpy strchrnul
- strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r
+ strdup strncat strncpy strndup strnlen strpbrk strsep strcasestr strtok_r
strerror_l strerror_r strerrorname_np
sigabbrev_np sigdescr_np strsignal strverscmp])
@@ -65,6 +65,7 @@ AC_DEFUN([gl_STRING_H_REQUIRE_DEFAULTS],
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRDUP])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRINGEQ])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRNCAT])
+ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRNCPY])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRNDUP])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRNLEN])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRPBRK])
@@ -72,6 +73,7 @@ AC_DEFUN([gl_STRING_H_REQUIRE_DEFAULTS],
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRSTR])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRCASESTR])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRTOK_R])
+ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRNUL])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STR_STARTSWITH])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STR_ENDSWITH])
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSLEN])
@@ -149,6 +151,7 @@ AC_DEFUN([gl_STRING_H_DEFAULTS],
REPLACE_STRCHRNUL=0; AC_SUBST([REPLACE_STRCHRNUL])
REPLACE_STRDUP=0; AC_SUBST([REPLACE_STRDUP])
REPLACE_STRNCAT=0; AC_SUBST([REPLACE_STRNCAT])
+ REPLACE_STRNCPY=0; AC_SUBST([REPLACE_STRNCPY])
REPLACE_STRNDUP=0; AC_SUBST([REPLACE_STRNDUP])
REPLACE_STRNLEN=0; AC_SUBST([REPLACE_STRNLEN])
REPLACE_STRSTR=0; AC_SUBST([REPLACE_STRSTR])
diff --git a/gnulib-m4/stringeq.m4 b/gnulib-m4/stringeq.m4
index de6d66c1..ffea8afc 100644
--- a/gnulib-m4/stringeq.m4
+++ b/gnulib-m4/stringeq.m4
@@ -1,6 +1,6 @@
# stringeq.m4
# serial 1
-dnl Copyright (C) 2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2025-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/strncat.m4 b/gnulib-m4/strncat.m4
index 81a0ce6a..8af276fc 100644
--- a/gnulib-m4/strncat.m4
+++ b/gnulib-m4/strncat.m4
@@ -1,6 +1,6 @@
# strncat.m4
# serial 10
-dnl Copyright (C) 2002-2004, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2002-2004, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/strncpy.m4 b/gnulib-m4/strncpy.m4
new file mode 100644
index 00000000..b94abede
--- /dev/null
+++ b/gnulib-m4/strncpy.m4
@@ -0,0 +1,94 @@
+# strncpy.m4
+# serial 1
+dnl Copyright (C) 2002-2004, 2009-2026 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+dnl This file is offered as-is, without any warranty.
+
+AC_DEFUN_ONCE([gl_FUNC_STRNCPY],
+[
+ AC_REQUIRE([gl_STRING_H_DEFAULTS])
+ AC_REQUIRE([AC_PROG_CC])
+ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
+
+ dnl Check for prerequisites for memory fence checks.
+ gl_FUNC_MMAP_ANON
+ AC_CHECK_HEADERS_ONCE([sys/mman.h])
+ AC_CHECK_FUNCS_ONCE([mprotect])
+
+ dnl Detect bug in FreeBSD 15.0 on x86_64:
+ dnl strncpy should not dereference more than n bytes, but always dereferences
+ dnl n+1 bytes if the first n bytes don't contain a NUL byte.
+ dnl Assume that strncpy works on platforms that lack mprotect.
+ AC_CACHE_CHECK([whether strncpy works], [gl_cv_func_strncpy_works],
+ [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
+#include <string.h>
+#if HAVE_SYS_MMAN_H
+# include <fcntl.h>
+# include <unistd.h>
+# include <sys/types.h>
+# include <sys/mman.h>
+#endif
+]GL_MDA_DEFINES],
+[[
+ char *fence = NULL;
+#if HAVE_SYS_MMAN_H && HAVE_MPROTECT
+ {
+ long int pagesize = sysconf (_SC_PAGESIZE);
+ char *two_pages =
+ (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE,
+ MAP_ANONYMOUS | MAP_PRIVATE, -1, 0);
+ if (two_pages != (char *)(-1)
+ && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0)
+ fence = two_pages + pagesize;
+ }
+#endif
+ if (fence)
+ {
+ char dest[8];
+
+ dest[0] = 'a';
+ dest[1] = 'b';
+ dest[2] = 'c';
+ dest[3] = 'd';
+ dest[4] = 'e';
+ dest[5] = 'f';
+ dest[6] = 'g';
+
+ *(fence - 3) = '7';
+ *(fence - 2) = '2';
+ *(fence - 1) = '9';
+
+ if (strncpy (dest + 1, fence - 3, 3) != dest + 1)
+ return 1;
+ if (dest[0] != 'a')
+ return 2;
+ if (dest[1] != '7' || dest[2] != '2' || dest[3] != '9')
+ return 3;
+ if (dest[4] != 'e')
+ return 4;
+ }
+ return 0;
+]])], [gl_cv_func_strncpy_works=yes], [gl_cv_func_strncpy_works=no],
+ [
+ case "$host_os" in
+ # Guess no on FreeBSD.
+ freebsd* | dragonfly*) gl_cv_func_strncpy_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_strncpy_works="guessing yes" ;;
+ # Guess yes otherwise.
+ *) gl_cv_func_strncpy_works="guessing yes" ;;
+ esac
+ ])
+ ])
+ case "$gl_cv_func_strncpy_works" in
+ *yes) ;;
+ *) REPLACE_STRNCPY=1 ;;
+ esac
+])
+
+# Prerequisites of lib/strncpy.c.
+AC_DEFUN([gl_PREREQ_STRNCPY], [
+ :
+])
diff --git a/gnulib-m4/strstr.m4 b/gnulib-m4/strstr.m4
index 1be2721c..3a9e9c60 100644
--- a/gnulib-m4/strstr.m4
+++ b/gnulib-m4/strstr.m4
@@ -1,6 +1,6 @@
# strstr.m4
# serial 25
-dnl Copyright (C) 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/symlink.m4 b/gnulib-m4/symlink.m4
index 74e46936..f6b59f25 100644
--- a/gnulib-m4/symlink.m4
+++ b/gnulib-m4/symlink.m4
@@ -1,6 +1,6 @@
# symlink.m4
# serial 10
-dnl Copyright (C) 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/sys_cdefs_h.m4 b/gnulib-m4/sys_cdefs_h.m4
index d72796ca..a1398a29 100644
--- a/gnulib-m4/sys_cdefs_h.m4
+++ b/gnulib-m4/sys_cdefs_h.m4
@@ -1,6 +1,6 @@
# sys_cdefs_h.m4 - Is <sys/cdefs.h> compatible enough with glibc?
# serial 2
-dnl Copyright 2024-2025 Free Software Foundation, Inc.
+dnl Copyright 2024-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/sys_ioctl_h.m4 b/gnulib-m4/sys_ioctl_h.m4
index 533ed92e..8fa69913 100644
--- a/gnulib-m4/sys_ioctl_h.m4
+++ b/gnulib-m4/sys_ioctl_h.m4
@@ -1,6 +1,6 @@
# sys_ioctl_h.m4
# serial 15
-dnl Copyright (C) 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/sys_select_h.m4 b/gnulib-m4/sys_select_h.m4
index f154bc5f..ac9fc535 100644
--- a/gnulib-m4/sys_select_h.m4
+++ b/gnulib-m4/sys_select_h.m4
@@ -1,6 +1,6 @@
# sys_select_h.m4
# serial 24
-dnl Copyright (C) 2006-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2006-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/sys_socket_h.m4 b/gnulib-m4/sys_socket_h.m4
index da3c6804..cdc374e4 100644
--- a/gnulib-m4/sys_socket_h.m4
+++ b/gnulib-m4/sys_socket_h.m4
@@ -1,6 +1,6 @@
# sys_socket_h.m4
# serial 32
-dnl Copyright (C) 2005-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2005-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/sys_stat_h.m4 b/gnulib-m4/sys_stat_h.m4
index 10636923..04dfce7e 100644
--- a/gnulib-m4/sys_stat_h.m4
+++ b/gnulib-m4/sys_stat_h.m4
@@ -1,6 +1,6 @@
# sys_stat_h.m4
# serial 44 -*- Autoconf -*-
-dnl Copyright (C) 2006-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2006-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/sys_time_h.m4 b/gnulib-m4/sys_time_h.m4
index a33b97d8..6e48cddb 100644
--- a/gnulib-m4/sys_time_h.m4
+++ b/gnulib-m4/sys_time_h.m4
@@ -1,6 +1,6 @@
# sys_time_h.m4
# serial 12
-dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/sys_types_h.m4 b/gnulib-m4/sys_types_h.m4
index e99fdcc6..b284e08e 100644
--- a/gnulib-m4/sys_types_h.m4
+++ b/gnulib-m4/sys_types_h.m4
@@ -1,6 +1,6 @@
# sys_types_h.m4
# serial 15
-dnl Copyright (C) 2011-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2011-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/sys_uio_h.m4 b/gnulib-m4/sys_uio_h.m4
index eb0e8424..59496e01 100644
--- a/gnulib-m4/sys_uio_h.m4
+++ b/gnulib-m4/sys_uio_h.m4
@@ -1,6 +1,6 @@
# sys_uio_h.m4
# serial 3
-dnl Copyright (C) 2011-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2011-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/thread.m4 b/gnulib-m4/thread.m4
index d7be2811..91f73666 100644
--- a/gnulib-m4/thread.m4
+++ b/gnulib-m4/thread.m4
@@ -1,6 +1,6 @@
# thread.m4
# serial 5
-dnl Copyright (C) 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/threadlib.m4 b/gnulib-m4/threadlib.m4
index a93aa5c1..bdea4b97 100644
--- a/gnulib-m4/threadlib.m4
+++ b/gnulib-m4/threadlib.m4
@@ -1,6 +1,6 @@
# threadlib.m4
# serial 49
-dnl Copyright (C) 2005-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2005-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/time.m4 b/gnulib-m4/time.m4
index 8c3ec944..5cacb701 100644
--- a/gnulib-m4/time.m4
+++ b/gnulib-m4/time.m4
@@ -1,6 +1,6 @@
# time.m4
# serial 6
-dnl Copyright (C) 2023-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2023-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/time_h.m4 b/gnulib-m4/time_h.m4
index f4d8e20f..8d896ea5 100644
--- a/gnulib-m4/time_h.m4
+++ b/gnulib-m4/time_h.m4
@@ -1,6 +1,6 @@
# time_h.m4
# serial 27
-dnl Copyright (C) 2000-2001, 2003-2007, 2009-2025 Free Software Foundation,
+dnl Copyright (C) 2000-2001, 2003-2007, 2009-2026 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
diff --git a/gnulib-m4/uchar_h.m4 b/gnulib-m4/uchar_h.m4
index b2309385..20b63b6c 100644
--- a/gnulib-m4/uchar_h.m4
+++ b/gnulib-m4/uchar_h.m4
@@ -1,6 +1,6 @@
# uchar_h.m4
# serial 32
-dnl Copyright (C) 2019-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2019-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/unicase_h.m4 b/gnulib-m4/unicase_h.m4
index bf5d4c2e..71dccf06 100644
--- a/gnulib-m4/unicase_h.m4
+++ b/gnulib-m4/unicase_h.m4
@@ -1,6 +1,6 @@
# unicase_h.m4
# serial 1
-dnl Copyright (C) 2023-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2023-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/unictype_h.m4 b/gnulib-m4/unictype_h.m4
index 68ddaf6c..ba5a3688 100644
--- a/gnulib-m4/unictype_h.m4
+++ b/gnulib-m4/unictype_h.m4
@@ -1,6 +1,6 @@
# unictype_h.m4
# serial 4
-dnl Copyright (C) 2023-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2023-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/unimetadata_h.m4 b/gnulib-m4/unimetadata_h.m4
index 1a98b7c3..9530ef44 100644
--- a/gnulib-m4/unimetadata_h.m4
+++ b/gnulib-m4/unimetadata_h.m4
@@ -1,6 +1,6 @@
# unimetadata_h.m4
# serial 1
-dnl Copyright (C) 2024-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2024-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/uninorm_h.m4 b/gnulib-m4/uninorm_h.m4
index d416f73b..5ec9ea67 100644
--- a/gnulib-m4/uninorm_h.m4
+++ b/gnulib-m4/uninorm_h.m4
@@ -1,6 +1,6 @@
# uninorm_h.m4
# serial 1
-dnl Copyright (C) 2023-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2023-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/unistd_h.m4 b/gnulib-m4/unistd_h.m4
index 6ec16286..8000e888 100644
--- a/gnulib-m4/unistd_h.m4
+++ b/gnulib-m4/unistd_h.m4
@@ -1,6 +1,6 @@
# unistd_h.m4
# serial 97
-dnl Copyright (C) 2006-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2006-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/unitypes_h.m4 b/gnulib-m4/unitypes_h.m4
index 264e61be..733b9ee2 100644
--- a/gnulib-m4/unitypes_h.m4
+++ b/gnulib-m4/unitypes_h.m4
@@ -1,6 +1,6 @@
# unitypes_h.m4
# serial 1
-dnl Copyright (C) 2021-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2021-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/usleep.m4 b/gnulib-m4/usleep.m4
index fc4438c4..74a34198 100644
--- a/gnulib-m4/usleep.m4
+++ b/gnulib-m4/usleep.m4
@@ -1,6 +1,6 @@
# usleep.m4
# serial 9
-dnl Copyright (C) 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/vasnprintf.m4 b/gnulib-m4/vasnprintf.m4
index 1d040d6e..4e01fbc9 100644
--- a/gnulib-m4/vasnprintf.m4
+++ b/gnulib-m4/vasnprintf.m4
@@ -1,6 +1,6 @@
# vasnprintf.m4
# serial 56
-dnl Copyright (C) 2002-2004, 2006-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2002-2004, 2006-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/visibility.m4 b/gnulib-m4/visibility.m4
index c2cd38d0..55ceb672 100644
--- a/gnulib-m4/visibility.m4
+++ b/gnulib-m4/visibility.m4
@@ -1,6 +1,6 @@
# visibility.m4
# serial 9
-dnl Copyright (C) 2005, 2008, 2010-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2005, 2008, 2010-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/warn-on-use.m4 b/gnulib-m4/warn-on-use.m4
index 73cf16fb..3765368c 100644
--- a/gnulib-m4/warn-on-use.m4
+++ b/gnulib-m4/warn-on-use.m4
@@ -1,6 +1,6 @@
# warn-on-use.m4
# serial 11
-dnl Copyright (C) 2010-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2010-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/wchar_h.m4 b/gnulib-m4/wchar_h.m4
index 70e9e33d..42338a00 100644
--- a/gnulib-m4/wchar_h.m4
+++ b/gnulib-m4/wchar_h.m4
@@ -1,6 +1,6 @@
# wchar_h.m4
# serial 66
-dnl Copyright (C) 2007-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/wcrtomb.m4 b/gnulib-m4/wcrtomb.m4
index 4d8dd19e..a69f17c4 100644
--- a/gnulib-m4/wcrtomb.m4
+++ b/gnulib-m4/wcrtomb.m4
@@ -1,6 +1,6 @@
# wcrtomb.m4
# serial 22
-dnl Copyright (C) 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/wctob.m4 b/gnulib-m4/wctob.m4
index 6506b0da..76acd289 100644
--- a/gnulib-m4/wctob.m4
+++ b/gnulib-m4/wctob.m4
@@ -1,6 +1,6 @@
# wctob.m4
# serial 15
-dnl Copyright (C) 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/wctomb.m4 b/gnulib-m4/wctomb.m4
index f01a6898..6b8884fd 100644
--- a/gnulib-m4/wctomb.m4
+++ b/gnulib-m4/wctomb.m4
@@ -1,6 +1,6 @@
# wctomb.m4
# serial 2
-dnl Copyright (C) 2011-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2011-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/wctype_h.m4 b/gnulib-m4/wctype_h.m4
index 8e54678d..12b4c618 100644
--- a/gnulib-m4/wctype_h.m4
+++ b/gnulib-m4/wctype_h.m4
@@ -3,7 +3,7 @@
dnl A placeholder for ISO C99 <wctype.h>, for platforms that lack it.
-dnl Copyright (C) 2006-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2006-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/wcwidth.m4 b/gnulib-m4/wcwidth.m4
index cb2cca97..515076ba 100644
--- a/gnulib-m4/wcwidth.m4
+++ b/gnulib-m4/wcwidth.m4
@@ -1,6 +1,6 @@
# wcwidth.m4
# serial 39
-dnl Copyright (C) 2006-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2006-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/windows-rc.m4 b/gnulib-m4/windows-rc.m4
index 7787bfa1..808b64df 100644
--- a/gnulib-m4/windows-rc.m4
+++ b/gnulib-m4/windows-rc.m4
@@ -1,6 +1,6 @@
# windows-rc.m4
# serial 1
-dnl Copyright (C) 2024-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2024-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/wint_t.m4 b/gnulib-m4/wint_t.m4
index 8a3c7944..384462d2 100644
--- a/gnulib-m4/wint_t.m4
+++ b/gnulib-m4/wint_t.m4
@@ -1,6 +1,6 @@
# wint_t.m4
# serial 11
-dnl Copyright (C) 2003, 2007-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2003, 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/xalloc.m4 b/gnulib-m4/xalloc.m4
index c10c4189..a0d0f060 100644
--- a/gnulib-m4/xalloc.m4
+++ b/gnulib-m4/xalloc.m4
@@ -1,6 +1,6 @@
# xalloc.m4
# serial 18
-dnl Copyright (C) 2002-2006, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2002-2006, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/xgetcwd.m4 b/gnulib-m4/xgetcwd.m4
index c214e2cb..8e514a25 100644
--- a/gnulib-m4/xgetcwd.m4
+++ b/gnulib-m4/xgetcwd.m4
@@ -1,6 +1,6 @@
# xgetcwd.m4
# serial 8
-dnl Copyright (C) 2002-2006, 2009-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2002-2006, 2009-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/xsize.m4 b/gnulib-m4/xsize.m4
index 157d635c..4e35a5fe 100644
--- a/gnulib-m4/xsize.m4
+++ b/gnulib-m4/xsize.m4
@@ -1,6 +1,6 @@
# xsize.m4
# serial 5
-dnl Copyright (C) 2003-2004, 2008-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2003-2004, 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/yield.m4 b/gnulib-m4/yield.m4
index ce322046..850d8848 100644
--- a/gnulib-m4/yield.m4
+++ b/gnulib-m4/yield.m4
@@ -1,6 +1,6 @@
# yield.m4
# serial 5
-dnl Copyright (C) 2005-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2005-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
diff --git a/gnulib-m4/zzgnulib.m4 b/gnulib-m4/zzgnulib.m4
index 343bda5c..fed091ca 100644
--- a/gnulib-m4/zzgnulib.m4
+++ b/gnulib-m4/zzgnulib.m4
@@ -1,6 +1,6 @@
# zzgnulib.m4
# serial 1
-dnl Copyright (C) 2020-2025 Free Software Foundation, Inc.
+dnl Copyright (C) 2020-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.