[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #27381] wildcard function acts differently than in 3.81
From: |
Paul D. Smith |
Subject: |
[bug #27381] wildcard function acts differently than in 3.81 |
Date: |
Tue, 08 Sep 2009 05:18:54 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.13) Gecko/2009080316 Ubuntu/8.04 (hardy) Firefox/3.0.13 |
Follow-up Comment #2, bug #27381 (project make):
The change to use GLOB_NOCHECK was made to work around a bug. I can't tell
from the ChangeLog (or my memory) whether GLOB_NOSORT was also required as
part of that or not. If not, it was probably done to increase efficiency;
many of the uses of wildcard don't require the results to be sorted, and
there's nothing in the GNU make manual that specifies that the wildcard
function returns its results in sorted order.
I can investigate whether the GLOB_NOSORT is needed or not, but regardless if
you require the results to be sorted so that your makefile will work properly,
you should be using the $(sort ...) function to ensure it happens rather than
relying on undocumented side-effects of $(wildcard ...).
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?27381>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/