Collin Funk <[email protected]> writes:
>
> The attached patches fix it and add a test in Gnulib. It is based on my
> patch in glibc, which is just waiting for a final "Reviewed-by" before
> committing [1].
Noting here that the cache variable was not matching, fixed with:
diff --git a/m4/glob.m4 b/m4/glob.m4
index 1bbe6603ca..2e7743d813 100644
--- a/m4/glob.m4
+++ b/m4/glob.m4
@@ -24,7 +24,7 @@ AC_DEFUN([gl_GLOB]
else
AC_CACHE_CHECK([whether glob overflows the stack with recursive calls],
- [gl_cv_glob_stack_overflow],
+ [gl_cv_glob_overflows_stack],
[AC_RUN_IFELSE(
[AC_LANG_SOURCE([[
#include <stddef.h>
Collin