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/



_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to