Re: realpath on AIX

2025-05-28 Thread Jonathan Wakely
/home/jwakely/tmp > gcc119:~/tmp$ echo 'all: ; @echo ">>>" $(realpath > /home/jwakely/tmp//../tmp)' | gmake -f- > >>> > > I haven't been able to reproduce this with anything except "//.." but > there might be other bugs with realpath on AIX.

realpath on AIX

2025-05-28 Thread Jonathan Wakely
l: ; @echo ">>>" $(realpath /home/jwakely/tmp/../tmp)' | gmake -f- >>> /home/jwakely/tmp gcc119:~/tmp$ echo 'all: ; @echo ">>>" $(realpath /home/jwakely/tmp//../tmp)' | gmake -f- >>> I haven't been able to reproduce this with anything except "//.." but there might be other bugs with realpath on AIX.

Re: patch realpath on aix

2019-09-22 Thread Paul Smith
On Fri, 2019-09-13 at 21:42 -0400, Dmitry Goncharov via Bug reports and discussion for GNU make wrote: > aix implementation of realpath returns a path with a trailing slash > given a path with 2 or more trailing slashes. This makes realpath test > fail. I changed the realpath function to remove tr

Re: patch realpath on aix

2019-09-16 Thread Paul Smith
On Fri, 2019-09-13 at 21:42 -0400, Dmitry Goncharov via Bug reports and discussion for GNU make wrote: > aix implementation of realpath returns a path with a trailing slash > given a path with 2 or more trailing slashes. This makes realpath test > fail. This one didn't make it into the current RC

patch realpath on aix

2019-09-13 Thread Dmitry Goncharov via Bug reports and discussion for GNU make
aix implementation of realpath returns a path with a trailing slash given a path with 2 or more trailing slashes. This makes realpath test fail. $ echo 'all: ; @echo $(realpath /tmp/)' | ../i32/make -f- /tmp $ echo 'all: ; @echo $(realpath /tmp//)' | ../i32/make -f- /tmp/ Since both posix and gma