Mend improper use of readlink(2)
Mend improper use of readlink(2)

The return-code checking for readlink(2) would never succeed before this
change.

Also avoid referencing a PATH_MAX that may be missing.

kulp/tenyr,kulp/tenyr,kulp/tenyr