On Fri, Dec 3, 2021 at 9:19 AM Ævar Arnfjörð Bjarmason <ava...@gmail.com> wrote: > > The $subject isn't strictly true, as the it's implemented in terms of > MatchFirst() on Amiga, but that's obscure enough to not be noted in > the manual
Then the manual will be lying to the users of amiga, right? > and in any case the tests added in 0d366b66 (* Added the > test suite to the main distribution., 1999-09-14) show that the output > is sorted on all platforms GNU make has been tested on. The tests don't verify that the output is sorted. It is just that this input in the test results in this output. Implementation may change (e.g. for performance reasons) to avoid sorting and the tests will be updated accordingly. Furthermore, a different input can result in not sorted output. $ ls 1 2 3 makefile $ cat makefile files:=$(wildcard 2 1 3) all:; $(info $(files)) $ make 2 1 3 make: 'all' is up to date. $ > Aside: I found it difficult to figure out how to submit patches to > this project. https://savannah.gnu.org/bugs/?group=make&func=additem regards, Dmitry