]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
glob: Ensure --enable-cross-guesses is obeyed (regr. yesterday).
authorCollin Funk <collin.funk1@gmail.com>
Wed, 15 Oct 2025 01:10:48 +0000 (18:10 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Wed, 15 Oct 2025 01:10:48 +0000 (18:10 -0700)
Reported by Bruno Haible in
<https://lists.gnu.org/archive/html/bug-gnulib/2025-10/msg00041.html>.

* m4/glob.m4 (gl_GLOB): Set gl_cv_glob_overflows_stack on platforms
other than glibc.

ChangeLog
m4/glob.m4

index 9ab4c4040abec8a3b161bca49480be0c6a96cb38..c3dd9cbb7fc52dec326a285bd7327020f02f0558 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2025-10-14  Collin Funk  <collin.funk1@gmail.com>
+
+       glob: Ensure --enable-cross-guesses is obeyed (regr. yesterday).
+       Reported by Bruno Haible in
+       <https://lists.gnu.org/archive/html/bug-gnulib/2025-10/msg00041.html>.
+       * m4/glob.m4 (gl_GLOB): Set gl_cv_glob_overflows_stack on platforms
+       other than glibc.
+
 2025-10-13  Collin Funk  <collin.funk1@gmail.com>
 
        glob tests: Add a test for the glibc bug.
index 563e8e4ff8e17329b52459dde262b13047e5651a..6f086f78c2eb5b68f100f86116c31b0b02ef8aa4 100644 (file)
@@ -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
          ])
       ])