1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-14 14:01:48 +03:00
Files
gnulib/modules/readlinkat
Paul Eggert cb3a9b8b56 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.
2014-10-18 22:36:27 -07:00

40 lines
825 B
Plaintext

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