On Apr 18 12:21, Bruno Haible via Cygwin wrote:
> Hi,
> 
> When an empty path argument is passed to the readlinkat() function,
> POSIX:2018 specifies that the function fails with error ENOENT:
> 
> https://pubs.opengroup.org/onlinepubs/9699919799/functions/readlinkat.html
> "These functions shall fail if:
> ...
> [ENOENT]
>     A component of path does not name an existing file or path is an empty
>     string."
> 
> In Cygwin 3.4.6, readlinkat() fails with error EBADF instead.

Thanks, I pushed a patch.

A test release cygwin-3.5.0-0.283.gfa84aa4dd2fb containing this patch
is building right now.  You can install it via setup as soon as it's
available (roughly in an hour).


Thanks again,
Corinna


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to