diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-05-28 14:15:08 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-05-28 17:18:37 +0100 |
commit | e176ee0b5d8e90b0d3871ee778d290bc3d6abe96 (patch) | |
tree | 194f2eb443a4c78e5320d53c516e68be61982afc /m4/unlinkat.m4 | |
parent | 2b93f1e2daed6b54c3b9cea74d83186250b84494 (diff) | |
download | gnulib-e176ee0b5d8e90b0d3871ee778d290bc3d6abe96.tar.gz |
unlinkat: handle ignoring of ".." on Darwin 14
* lib/unlinkat.c: unlinkat() has the same bug as unlink()
on Mac OS X 10.10, where it ignores paths with a trailing "..",
so handle in the same manner.
* m4/unlinkat.m4: Comment on this Darwin issue.
* doc/posix-functions/unlink.texi: Update the latest version
where the issue was seen.
* doc/posix-functions/unlinkat.texi: Mention this issue.
Fixes a test failure in test-unlinkat.c.
Diffstat (limited to 'm4/unlinkat.m4')
-rw-r--r-- | m4/unlinkat.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/unlinkat.m4 b/m4/unlinkat.m4 index 6e5fa31802..be70c4fefc 100644 --- a/m4/unlinkat.m4 +++ b/m4/unlinkat.m4 @@ -24,6 +24,7 @@ AC_DEFUN([gl_FUNC_UNLINKAT], ;; *) # GNU/Hurd has unlinkat, but it has the same bug as unlink. + # Darwin has unlinkat, but it has the same UNLINK_PARENT_BUG. if test $REPLACE_UNLINK = 1; then REPLACE_UNLINKAT=1 fi |