make xreadlink() return NULL on failure, and make sure everyone uses the interface correctly. -Erik
readlink(2).