Re: realpath on AIX

2025-05-28 Thread Jonathan Wakely
On Wed, 28 May 2025 at 21:39, Jonathan Wakely wrote: > > I see that there was a report (and a workaround) for $(realpath foo//) Oops, I meant to link to that: https://lists.gnu.org/archive/html/bug-make/2019-09/msg00063.html > on AIX, but AIX realpath has bigger problems. Paths containing //..

realpath on AIX

2025-05-28 Thread Jonathan Wakely
I see that there was a report (and a workaround) for $(realpath foo//) on AIX, but AIX realpath has bigger problems. Paths containing //.. will confuse AIX realpath causing it to return ENOENT, so Make's realpath function returns nothing, e.g. with GNU Make 4.4.1 gcc119:~/tmp$ echo 'all: ; @echo "