[Top][All Lists]

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

linkat returns EISDIR when target exists

From: Simon Josefsson
Subject: linkat returns EISDIR when target exists
Date: Thu, 04 Aug 2011 12:07:56 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux)


I'm porting some software to Debian GNU/Hurd and I think the issues I
found are bugs in the Hurd.  I haven't reported bugs about the Hurd
before, and I'm unsure whether this is an issue with the kernel or libc
or some translator, but I'm hoping someone here will know what code to

As diagnosed under 1) here:


it seems that the linkat function returns EISDIR when the target file

I don't see EISDIR as a documented return code of linkat in POSIX:


instead I see the seemingly appropriate EEXIST documented like this:

    The path2 argument resolves to an existing directory entry or refers
    to a symbolic link.

Maybe just a s/EISDIR/EEXIST/ at the appropriate place?


reply via email to

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