* tests/test-glob.c (main): Make the second added test independent from
the first one.
+2025-10-15 Bruno Haible <bruno@clisp.org>
+
+ glob tests: Improve maintainability.
+ * tests/test-glob.c (main): Make the second added test independent from
+ the first one.
+
2025-10-14 Collin Funk <collin.funk1@gmail.com>
getdelim: Avoid the symbol __getdelim with ASAN (regr. 2025-10-13).
globfree (&g);
/* "/*/////sh". */
+ memset (pattern, '/', 9997);
pattern[1] = '*';
- pattern[9997] = 's';
- pattern[9998] = 'h';
+ strcpy (pattern + 9997, "sh");
res = glob (pattern, 0, NULL, &g);
ASSERT (res == 0);
globfree (&g);
+
free (pattern);
}