Follow-up Comment #6, bug #52018 (project make): If I've understood this correctly, then the upshot of the new test, https://git.savannah.gnu.org/cgit/make.git/commit/?id=f9ba22e02924e0a869a6e40ef4a70ee884d1ec46, is that we should expect a "failure", which is really just documenting legacy behavior, that looks like:
martind@sirius:~/download/make-4.3.91$ make check ... functions/wildcard ...................................... FAILED (9/10 passed) ... martind@sirius:~/download/make-4.3.91$ cat tests/work/functions/wildcard.diff.9 *** work/functions/wildcard.base.9 Wed Oct 19 09:03:36 2022 --- work/functions/wildcard.log.9 Wed Oct 19 09:03:36 2022 *************** *** 1 **** ! __ldir --- 1 ---- ! martind@sirius:~/download/make-4.3.91$ ... from make binaries built using glibc glob on systems with glibc older than https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ccf970c7a77e86f4f5ef8ecc5e637114b1c0136a so older than 2.27. So Debian Stretch aka 9, with glibc 2.24, fails, where Debian Buster aka 10, with glibc 2.28, passes, meaning that it exhibits the new behavior, where $(wildcard) matches even dangling symlinks. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?52018> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/