diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-12 02:14:35 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-12 02:14:35 +0000 |
commit | ab6b446e9567db741b463f74afb7d98cc583c4b9 (patch) | |
tree | 5a58620c525bf524451adec2ab2121fea04f04f8 /archival/tar.c | |
parent | 12abcb36c871f4c97d7aed3d9bd55e5477888bb7 (diff) | |
download | busybox-w32-ab6b446e9567db741b463f74afb7d98cc583c4b9.tar.gz busybox-w32-ab6b446e9567db741b463f74afb7d98cc583c4b9.tar.bz2 busybox-w32-ab6b446e9567db741b463f74afb7d98cc583c4b9.zip |
header_verbose_list: show off_t size, not cast to (unsigned)
get_header_tar: support GNU tar's "base256" encoding
function old new delta
get_header_tar 1536 1600 +64
header_verbose_list 242 257 +15
Diffstat (limited to '')
-rw-r--r-- | archival/tar.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archival/tar.c b/archival/tar.c index deb5c89b0..76f1a6240 100644 --- a/archival/tar.c +++ b/archival/tar.c | |||
@@ -357,7 +357,8 @@ static int writeTarHeader(struct TarBallInfo *tbInfo, | |||
357 | if (tbInfo->verboseFlag) { | 357 | if (tbInfo->verboseFlag) { |
358 | FILE *vbFd = stdout; | 358 | FILE *vbFd = stdout; |
359 | 359 | ||
360 | if (tbInfo->tarFd == STDOUT_FILENO) /* If the archive goes to stdout, verbose to stderr */ | 360 | /* If archive goes to stdout, verbose goes to stderr */ |
361 | if (tbInfo->tarFd == STDOUT_FILENO) | ||
361 | vbFd = stderr; | 362 | vbFd = stderr; |
362 | /* GNU "tar cvvf" prints "extended" listing a-la "ls -l" */ | 363 | /* GNU "tar cvvf" prints "extended" listing a-la "ls -l" */ |
363 | /* We don't have such excesses here: for us "v" == "vv" */ | 364 | /* We don't have such excesses here: for us "v" == "vv" */ |