[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

link(dir,name) should fail with EPERM

From: Eric Blake
Subject: link(dir,name) should fail with EPERM
Date: Tue, 01 Mar 2011 16:30:04 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

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   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]