[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in $(wildcard) with trailing slash
From: |
Paul Smith |
Subject: |
Re: bug in $(wildcard) with trailing slash |
Date: |
Sun, 04 Mar 2012 02:06:02 -0500 |
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 <address@hidden> 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