Hash :
a6749d96
Author :
Date :
2017-07-27T16:36:03
renameat2: port to Solaris 10 * lib/renameat2.c (rename_noreplace): Use lstat, not faccessat with AT_SYMLINK_NOFOLLOW (which is not portable). (renameat): Undef before using, to avoid endless recursion when the replacement renameat calls renameat2 which calls the replacement renameat. (renameat2): Use lstatat, not faccessat with AT_SYMLINK_NOFOLLOW. * modules/renameat2 (Depends-on): Remove faccessat. * modules/renameat-tests (test_renameat_LDADD): * modules/renameat2-tests (test_renameat2_LDADD): Remove $(LIB_EACCESS).
Files:
tests/test-rename.h
tests/test-renameat.c
tests/signature.h
tests/macros.h
Depends-on:
ignore-value
filenamecat
getcwd-lgpl
opendir
readdir
closedir
configure.ac:
Makefile.am:
TESTS += test-renameat
check_PROGRAMS += test-renameat
test_renameat_LDADD = $(LDADD) @LIBINTL@