Collin Funk wrote:
> The glob function from glibc makes a recursive call for every trailing
> slash character in the given pattern. This makes it easy to run out of
> stack space.
> 
> The attached patches fix it and add a test in Gnulib.

Thanks, looks good, except for:

0001:
+    case $gl_cv_glob_overflows_stack in
+        *yes) REPLACE_GLOB=1 ;;
+        *) REPLACE_GLOB=0 ;;
+    esac

The indentation style for shell code in the *.m4 files (just like in
gnulib-tool.sh) is 2 spaces, not 4 spaces.

Bruno




Reply via email to