POSIX states that this should fail with EPERM, not EISDIR:

$ mkdir d
$ link d c

This was detected by the gnulib testsuite; I've since updated that
testsuite to tolerate Hurd's current behavior, but it might be worth
updating link(2) to comply with the standard.

-- 
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to