Hash :
cb3a9b8b
Author :
Date :
2014-10-18T22:35:28
readlinkat: port to AIX 7.1 * doc/posix-functions/readlink.texi (readlink): * doc/posix-functions/readlinkat.texi (readlinkat): Mention AIX porting problem. * lib/readlinkat.c (rpl_readlinkat) [HAVE_READLINKAT]: New function. * lib/unistd.in.h (readlinkat): Add replacement machinery. * m4/readlinkat.m4 (gl_FUNC_READLINKAT): Check readlinkat signature. * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Add REPLACE_READLINKAT. * modules/readlinkat (configure.ac): Also compile replacement if REPLACE_READLINKAT. * modules/unistd (unistd.h): Substitute REPLACE_READLINKAT.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
Description:
readlinkat() function: read symlinks relative to a directory
Files:
lib/readlinkat.c
lib/at-func.c
m4/readlinkat.m4
Depends-on:
unistd
extensions
at-internal [test $HAVE_READLINKAT = 0]
dosname [test $HAVE_READLINKAT = 0]
errno [test $HAVE_READLINKAT = 0]
fchdir [test $HAVE_READLINKAT = 0]
fcntl-h [test $HAVE_READLINKAT = 0]
openat-die [test $HAVE_READLINKAT = 0]
openat-h [test $HAVE_READLINKAT = 0]
save-cwd [test $HAVE_READLINKAT = 0]
readlink [test $HAVE_READLINKAT = 0]
configure.ac:
gl_FUNC_READLINKAT
if test $HAVE_READLINKAT = 0 || test $REPLACE_READLINKAT = 1; then
AC_LIBOBJ([readlinkat])
fi
gl_UNISTD_MODULE_INDICATOR([readlinkat])
Makefile.am:
Include:
<fcntl.h>
<unistd.h>
License:
GPL
Maintainer:
Jim Meyering, Eric Blake