And finally, this patch should avoid the test failures on native Windows. There's probably something wrong w.r.t. glob() on native Windows, regarding backslashes such as in 'C:\', but I don't have time to debug this now.
2025-10-15 Bruno Haible <[email protected]> glob tests: Avoid a test failure on native Windows. * tests/test-glob.c (main): Disable the new test cases on native Windows. diff --git a/tests/test-glob.c b/tests/test-glob.c index 7b3439b6cd..23dda01291 100644 --- a/tests/test-glob.c +++ b/tests/test-glob.c @@ -95,6 +95,7 @@ main () globfree (&g); } +#if !(defined _WIN32 && !defined __CYGWIN__) /* Check for a glibc 2.42 bug where recursive calls cause the stack to overflow. Test cases based on the following: <https://sourceware.org/PR30635>. @@ -119,6 +120,7 @@ main () free (pattern); } +#endif return test_exit_status; }
