599bbfbd9b
return full path in cases where path doesn't resolve to a link. change name to better differentiate from xmalloc_readlink().