]> Savannah Git Hosting - gnulib.git/commit
linkat: wrap to handle symlinks on OS X 10.10
authorPádraig Brady <P@draigBrady.com>
Fri, 31 Oct 2014 18:12:15 +0000 (18:12 +0000)
committerPádraig Brady <P@draigBrady.com>
Mon, 3 Nov 2014 14:10:33 +0000 (15:10 +0100)
commitc8e57ce5bbfc176ca622fcfff5af1982dd9ff17e
treed2220bb41dfe4779dafefd5b4d58122f781a4cef
parent08a713e078f03e7a870b0111960c6f4c54357152
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.
ChangeLog
doc/posix-functions/linkat.texi
lib/linkat.c
m4/linkat.m4
modules/linkat