mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-14 14:01:48 +03:00
* 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.
41 lines
856 B
Plaintext
41 lines
856 B
Plaintext
Description:
|
|
symlinkat() function: create symlinks relative to a directory
|
|
|
|
Files:
|
|
lib/symlinkat.c
|
|
lib/at-func.c
|
|
m4/symlinkat.m4
|
|
|
|
Depends-on:
|
|
unistd
|
|
extensions
|
|
at-internal [test $HAVE_SYMLINKAT = 0]
|
|
dosname [test $HAVE_SYMLINKAT = 0]
|
|
errno [test $HAVE_SYMLINKAT = 0]
|
|
fchdir [test $HAVE_SYMLINKAT = 0]
|
|
fcntl-h [test $HAVE_SYMLINKAT = 0]
|
|
openat-die [test $HAVE_SYMLINKAT = 0]
|
|
openat-h [test $HAVE_SYMLINKAT = 0]
|
|
save-cwd [test $HAVE_SYMLINKAT = 0]
|
|
symlink [test $HAVE_SYMLINKAT = 0]
|
|
fstatat [test $REPLACE_SYMLINKAT = 1]
|
|
|
|
configure.ac:
|
|
gl_FUNC_SYMLINKAT
|
|
if test $HAVE_SYMLINKAT = 0 || test $REPLACE_SYMLINKAT = 1; then
|
|
AC_LIBOBJ([symlinkat])
|
|
fi
|
|
gl_UNISTD_MODULE_INDICATOR([symlinkat])
|
|
|
|
Makefile.am:
|
|
|
|
Include:
|
|
<fcntl.h>
|
|
<unistd.h>
|
|
|
|
License:
|
|
GPL
|
|
|
|
Maintainer:
|
|
Jim Meyering, Eric Blake
|