realpath(1): Return ENOENT if filename is empty string.
authorStathis Kamperis <beket@dragonflybsd.org>
Fri, 1 Jan 2010 13:55:34 +0000 (15:55 +0200)
committerStathis Kamperis <beket@dragonflybsd.org>
Fri, 1 Jan 2010 13:55:39 +0000 (15:55 +0200)
commit66546629446c1c63ff8423d7e5484fc1365c9590
treec20ac63a6f8ffc7ef631c9e9541e16ef343c014c
parent18c4feea95f1a0d5709a8b0d2f144a9078c50482
realpath(1): Return ENOENT if filename is empty string.

Mandated by POSIX.

Linux, NetBSD and OpenSolaris do the same, so we are on
the safe side.

Shortly-discussed-with: aggelos@
lib/libc/stdlib/realpath.c