mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-08-24 10:17:11 +00:00
a6749d9692
* 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).
21 lines
282 B
Plaintext
21 lines
282 B
Plaintext
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@
|