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() functio
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.
$ mkdir /tmp/example
$ cd /tmp/example/
$ touch a
$ mkdir b
$ printf 'all:\n\t@echo $(wildcard */)' | make -f -
b/
$