Tar --remove-files relied on canonicalize_file_name, which replaces symlinks in file name components with the directories they point to. Due to this, tar effectively ignored existence of symbolic links and was unable to remove a directory that contained any (Alexander Kozlov <akozlov@nada.kth.se>, 2010-03-15). * gnulib.modules: Remove canonicalize. * src/misc.c (normalize_filename): Rewrite from scratch. The function operates only on its input string, it makes no attempt to test components for existence or to resolve symbolic links. * tests/Makefile.am (TESTSUITE_AT): Add remfiles03.at. * tests/testsuite.at: Likewise. * tests/remfiles03.at: New test case. * NEWS: Update.
63 lines
659 B
Plaintext
63 lines
659 B
Plaintext
# List of gnulib modules needed for GNU tar.
|
|
# A module name per line. Empty lines and comments are ignored.
|
|
|
|
alloca
|
|
argmatch
|
|
argp
|
|
argp-version-etc
|
|
backupfile
|
|
closeout
|
|
configmake
|
|
dirname
|
|
error
|
|
exclude
|
|
exitfail
|
|
fileblocks
|
|
fnmatch-gnu
|
|
fseeko
|
|
ftruncate
|
|
full-write
|
|
getdate
|
|
getline
|
|
getopt-gnu
|
|
getpagesize
|
|
gettext
|
|
gettime
|
|
gitlog-to-changelog
|
|
hash
|
|
human
|
|
inttypes
|
|
lchown
|
|
localcharset
|
|
mkdtemp
|
|
modechange
|
|
obstack
|
|
priv-set
|
|
progname
|
|
quote
|
|
quotearg
|
|
rpmatch
|
|
safe-read
|
|
save-cwd
|
|
savedir
|
|
setenv
|
|
snprintf
|
|
stat-time
|
|
stdbool
|
|
stdint
|
|
stpcpy
|
|
strdup-posix
|
|
strerror
|
|
strtol
|
|
strtoul
|
|
timespec
|
|
unlinkdir
|
|
unlocked-io
|
|
utimens
|
|
version-etc-fsf
|
|
xalloc
|
|
xalloc-die
|
|
xgetcwd
|
|
xstrtoumax
|
|
xvasprintf
|