summaryrefslogtreecommitdiff
path: root/doc/posix-functions/linkat.texi
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2014-10-31 18:12:15 +0000
committerPádraig Brady <P@draigBrady.com>2014-11-03 15:10:33 +0100
commitc8e57ce5bbfc176ca622fcfff5af1982dd9ff17e (patch)
treed2220bb41dfe4779dafefd5b4d58122f781a4cef /doc/posix-functions/linkat.texi
parent08a713e078f03e7a870b0111960c6f4c54357152 (diff)
downloadgnulib-c8e57ce5bbfc176ca622fcfff5af1982dd9ff17e.tar.gz
linkat: wrap to handle symlinks on OS X 10.10
* m4/linkat.m4 (gl_FUNC_LINKAT): linkat() is available on Yosemite but not usable because it doesn't support creating hardlinks to symlinks. Therefore add a generic test for this capability and fallback to our emulation if linkat() fails with ENOTSUP.
Diffstat (limited to 'doc/posix-functions/linkat.texi')
-rw-r--r--doc/posix-functions/linkat.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/posix-functions/linkat.texi b/doc/posix-functions/linkat.texi
index 232a50b655..fadb350ab5 100644
--- a/doc/posix-functions/linkat.texi
+++ b/doc/posix-functions/linkat.texi
@@ -10,10 +10,13 @@ Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
-glibc 2.3.6, Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8,
+glibc 2.3.6, Mac OS X < 10.10, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8,
AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x, mingw, MSVC 9, Interix 3.5, BeOS.
But the replacement function is not safe to be used in libraries and is not multithread-safe.
@item
+This function fails to directly hardlink symlinks on some platforms:
+Mac OS X 10.10.
+@item
This function fails to reject trailing slashes on non-directories on
some platforms:
AIX 7.1, Solaris 11 2011-11.