From: Collin Funk Date: Wed, 15 Oct 2025 01:10:48 +0000 (-0700) Subject: glob: Ensure --enable-cross-guesses is obeyed (regr. yesterday). X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0acb69c4e0c2f584b16ee351e64fd181c93663cf;p=thirdparty%2Fgnulib.git glob: Ensure --enable-cross-guesses is obeyed (regr. yesterday). Reported by Bruno Haible in . * m4/glob.m4 (gl_GLOB): Set gl_cv_glob_overflows_stack on platforms other than glibc. --- diff --git a/ChangeLog b/ChangeLog index 9ab4c4040a..c3dd9cbb7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2025-10-14 Collin Funk + + glob: Ensure --enable-cross-guesses is obeyed (regr. yesterday). + Reported by Bruno Haible in + . + * m4/glob.m4 (gl_GLOB): Set gl_cv_glob_overflows_stack on platforms + other than glibc. + 2025-10-13 Collin Funk glob tests: Add a test for the glibc bug. diff --git a/m4/glob.m4 b/m4/glob.m4 index 563e8e4ff8..6f086f78c2 100644 --- a/m4/glob.m4 +++ b/m4/glob.m4 @@ -1,5 +1,5 @@ # glob.m4 -# serial 31 +# serial 32 dnl Copyright (C) 2005-2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -54,6 +54,8 @@ AC_DEFUN([gl_GLOB], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_glob_overflows_stack="guessing yes" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_glob_overflows_stack="$gl_cross_guess_inverted" ;; esac ]) ])