build: update gnulib submodule to latest

In addition to the usual ‘git submodule foreach git pull origin master’,
this also makes the following changes to adjust to current Gnulib:
* bootstrap: Sync from gnulib.
* lib/.gitignore, m4/.gitignore: Update to match current Gnulib.
* sed/utils.c: Include min-eloop-threshold.h, not eloop-threshold.h.
(follow_symlink): Use MIN_ELOOP_THRESHOLD, not __eloop_threshold ().
This commit is contained in:
Paul Eggert committed 2026-08-11 08:55:15 -07:00
1 parent 31df9f71cb
commit ff5921491a
5 files changed
+13 -12

No files matched your search

+7 -3
View File
@@ -37,7 +37,7 @@ medir=`dirname "$me"`
# A library of shell functions for autopull.sh, autogen.sh, and bootstrap.
scriptlibversion=2025-12-04.19; # UTC
scriptlibversion=2026-08-09.13; # UTC
# Copyright (C) 2003-2026 Free Software Foundation, Inc.
#
@@ -597,8 +597,12 @@ prepare_GNULIB_SRCDIR ()
mkdir -p "$gnulib_path"
# Use a -c option to silence an annoying message
# "hint: Using 'master' as the name for the initial branch."
# (cf. <https://stackoverflow.com/questions/65524512/>).
git -C "$gnulib_path" -c init.defaultBranch=master init
# (cf. <https://stackoverflow.com/questions/65524512/>)
# and another -c option to override a configuration
# init.defaultObjectFormat=sha256 that some users have installed.
git -C "$gnulib_path" -c init.defaultBranch=master \
-c init.defaultObjectFormat=sha1 \
init
git -C "$gnulib_path" remote add origin "$gnulib_url"
if git -C "$gnulib_path" fetch $shallow origin "$GNULIB_REVISION"
then
+1 -1
Submodule gnulib updated: 6ecfb724a6...7370e33b8b.
+1 -6
View File
@@ -18,11 +18,6 @@
/btoc32.c
/btowc.c
/c++defs.h
/c-ctype.c
/c-ctype.h
/c-strcase.h
/c-strcasecmp.c
/c-strcaseeq.h
/c32_apply_type_test.c
/c32_get_type_test.c
/c32is-impl.h
@@ -60,7 +55,6 @@
/dirname.h
/dup2.c
/dynarray.h
/eloop-threshold.h
/errno.h
/errno.in.h
/error.c
@@ -155,6 +149,7 @@
/memeq.c
/mempcpy.c
/memrchr.c
/min-eloop-threshold.h
/minmax.h
/mkdir.c
/mkostemp.c
+2
View File
@@ -218,6 +218,7 @@
/std-gnu11.m4
/stdalign.m4
/stdarg.m4
/stdbit_h.m4
/stdckdint_h.m4
/stdcountof_h.m4
/stddef_h.m4
@@ -267,6 +268,7 @@
/warn-on-use.m4
/warnings.m4
/wchar_h.m4
/wchar_t.m4
/wcrtomb.m4
/wctob.m4
/wctomb.m4
+2 -2
View File
@@ -27,7 +27,7 @@
#include <limits.h>
#include "binary-io.h"
#include "eloop-threshold.h"
#include "min-eloop-threshold.h"
#include "idx.h"
#include "minmax.h"
#include "quotearg.h"
@@ -374,7 +374,7 @@ follow_symlink (const char *fname)
break;
panic (_("couldn't readlink %s: %s"), quotef (fn), strerror (errno));
}
if (__eloop_threshold () <= num_links)
if (MIN_ELOOP_THRESHOLD <= num_links)
panic (_("couldn't follow symlink %s: %s"), quotef (fname),
strerror (ELOOP));