openat: fix GNU/Hurd bug in unlinkat
authorEric Blake <ebb9@byu.net>
Tue, 6 Oct 2009 18:03:58 +0000 (12:03 -0600)
committerEric Blake <ebb9@byu.net>
Wed, 7 Oct 2009 04:09:49 +0000 (22:09 -0600)
commit3cfa87074aacbe7975f7b019d652a97488173f02
treedf2efdb8ee1e9d0b16a4b359c525023eeaf916ee
parentdfbec8be94ca116ce40c04f88302329505dbb745
openat: fix GNU/Hurd bug in unlinkat

unlinkat(fd,"file/",0) mistakenly succeeded.

* m4/openat.m4 (gl_FUNC_OPENAT): Replace unlinkat if unlink is
broken.
* doc/posix-functions/unlink.texi (unlink): Document this.
* doc/posix-functions/unlinkat.texi (unlinkat): Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
doc/posix-functions/unlink.texi
doc/posix-functions/unlinkat.texi
m4/openat.m4