On 12 September 2012 11:29, Eric Blake <ebl...@redhat.com> wrote:

> In POSIX, the wording "is not a directory" is true only if the file
> exists as some other type.  But here, zzz does not even exist; hence,
> the ENOENT error takes precedence.  This is a bug in the FreeBSD
> realpath() code, because they misinterpreted POSIX.

Eric, thanks for following up on the original FreeBSD PR.  I've filed
a new PR (http://www.freebsd.org/cgi/query-pr.cgi?pr=171577) and have
committed the fix to FreeBSD -CURRENT.

-Ed

Reply via email to