libc/realpath: Better POSIX conformance regarding ENOENT and ENOTDIR.
commit94d43c2d640a8e99e3191de5cd4da3480a0187ce
authorSascha Wildner <saw@online.de>
Wed, 18 Mar 2015 18:32:04 +0000 (18 19:32 +0100)
committerSascha Wildner <saw@online.de>
Wed, 18 Mar 2015 18:32:36 +0000 (18 19:32 +0100)
tree120b7027a486b203875debf126120a38560f11ce
parent731fb7dd6fc9ae2ce20ef7b3b26eac9bd2b31a21
libc/realpath: Better POSIX conformance regarding ENOENT and ENOTDIR.

This fixes the "Test keywords with arguments" test of pkg(8), too.

Reported-by: Robin Hahling <robin.hahling@gw-computing.net>
Fix-pointed-out-by: bapt@freebsd
Taken-from:         FreeBSD
lib/libc/stdlib/realpath.3
lib/libc/stdlib/realpath.c