On Fri, 2012-03-02 at 06:57 -0700, Eric Blake wrote: > Make fails to restrict output to just directories when a wildcard > contains both a trailing slash and internal slashes, even though it does > the right thing with no internal slashes.
Hi Eric; This is actually a bug in glibc's glob() function (which I reported to the glibc bugzilla almost 3 years ago but hasn't been looked at yet). GNU make just calls glibc glob(), it doesn't do its own globbing. GNU make bug report: https://savannah.gnu.org/bugs/index.php?18123 glibc bug report: http://sourceware.org/bugzilla/show_bug.cgi?id=10278 Cheers! -- ------------------------------------------------------------------------------- Paul D. Smith <psm...@gnu.org> Find some GNU make tips at: http://www.gnu.org http://make.mad-scientist.net "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make