Returns canonicalized absolute pathname ported from glibc
the path being checked
a canonicalized absolute pathname