summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-10-18 23:22:36 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2014-10-18 23:23:48 -0700
commit032bd151051bfdcb7387af627342ae85637e3253 (patch)
tree79fa08dc5cf39b066a041ec67890f48ab8904a13 /doc
parentcb3a9b8b565ba8ae3425c591d9d8399f524f4b6f (diff)
downloadgnulib-032bd151051bfdcb7387af627342ae85637e3253.tar.gz
symlinkat: port to AIX 7.1
* doc/posix-functions/symlinkat.texi (symlinkat): Mention AIX porting problem. * lib/symlinkat.c: Always include errno.h. (rpl_symlinkat) [HAVE_SYMLINKAT]: New function. * lib/unistd.in.h (symlinkat): Add replacement machinery. * m4/symlinkat.m4 (gl_FUNC_SYMLINKAT): Check symlinkat behavior. * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Add REPLACE_SYMLINKAT. * modules/symlinkat (Depends-on): Add fstatat if REPLACE_SYMLINKAT. (configure.ac): Also compile replacement if REPLACE_SYMLINKAT. * modules/unistd (unistd.h): Substitute REPLACE_SYMLINKAT.
Diffstat (limited to 'doc')
-rw-r--r--doc/posix-functions/symlinkat.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/posix-functions/symlinkat.texi b/doc/posix-functions/symlinkat.texi
index 27ab3aebcf..7c3e39a8b0 100644
--- a/doc/posix-functions/symlinkat.texi
+++ b/doc/posix-functions/symlinkat.texi
@@ -9,6 +9,10 @@ Gnulib module: symlinkat
Portability problems fixed by Gnulib:
@itemize
@item
+On some systems, @code{symlinkat(value, fd, "name/")} mistakenly creates a
+symlink:
+AIX 7.1.
+@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,
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.