Re: link(dir,name) should fail with EPERM

2012-05-12 Thread Samuel Thibault
Hello, Eric Blake, le Tue 01 Mar 2011 16:30:04 -0700, a écrit : > 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 >

link(dir,name) should fail with EPERM

2011-03-01 Thread Eric Blake
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