Problem reported by Tobias Stoeckmann in: http://lists.gnu.org/archive/html/bug-tar/2015-07/msg00004.html * gnulib.modules: Add areadlinkat-with-size. * src/create.c: Include areadlink.h. (dump_file0): Use areadlinkat_with_size, rather than trying to do it by hand, incorrectly. This also avoids assumption that the symlink contents fit on the stack. Also, use the transformed link name, not the original link name, when deciding whether the name is long enough to require writing a long link.
107 lines
1.6 KiB
Plaintext
107 lines
1.6 KiB
Plaintext
# List of gnulib modules needed for GNU tar.
|
|
# A module name per line. Empty lines and comments are ignored.
|
|
|
|
# Copyright 2005-2010, 2012-2014 Free Software Foundation, Inc.
|
|
|
|
# This file is part of GNU tar.
|
|
|
|
# GNU tar is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
# GNU tar is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
alloca
|
|
areadlinkat-with-size
|
|
argmatch
|
|
argp
|
|
argp-version-etc
|
|
backupfile
|
|
closeout
|
|
configmake
|
|
dirname
|
|
error
|
|
exclude
|
|
extern-inline
|
|
exitfail
|
|
faccessat
|
|
fchmodat
|
|
fchownat
|
|
fcntl-h
|
|
fdopendir
|
|
fdutimensat
|
|
file-has-acl
|
|
fileblocks
|
|
fnmatch-gnu
|
|
fprintftime
|
|
fseeko
|
|
fstatat
|
|
full-write
|
|
futimens
|
|
getline
|
|
getopt-gnu
|
|
getpagesize
|
|
gettext
|
|
gettime
|
|
gitlog-to-changelog
|
|
hash
|
|
human
|
|
inttostr
|
|
inttypes
|
|
lchown
|
|
linkat
|
|
localcharset
|
|
manywarnings
|
|
mkdirat
|
|
mkdtemp
|
|
mkfifoat
|
|
modechange
|
|
obstack
|
|
openat
|
|
parse-datetime
|
|
posix_openpt
|
|
ptsname
|
|
priv-set
|
|
progname
|
|
quote
|
|
quotearg
|
|
readlinkat
|
|
renameat
|
|
root-uid
|
|
rpmatch
|
|
safe-read
|
|
savedir
|
|
selinux-at
|
|
setenv
|
|
snprintf
|
|
stat-time
|
|
stdbool
|
|
stdint
|
|
stpcpy
|
|
strdup-posix
|
|
strerror
|
|
strtoimax
|
|
strtol
|
|
strtoul
|
|
strtoumax
|
|
symlinkat
|
|
timespec
|
|
unlinkat
|
|
unlinkdir
|
|
unlocked-io
|
|
unlockpt
|
|
utimensat
|
|
version-etc-fsf
|
|
xalloc
|
|
xalloc-die
|
|
xgetcwd
|
|
xstrtoumax
|
|
xvasprintf
|