summaryrefslogtreecommitdiff
path: root/archival/tar.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-12-12 02:14:35 +0000
committerDenis Vlasenko2008-12-12 02:14:35 +0000
commitab6b446e9567db741b463f74afb7d98cc583c4b9 (patch)
tree5a58620c525bf524451adec2ab2121fea04f04f8 /archival/tar.c
parent12abcb36c871f4c97d7aed3d9bd55e5477888bb7 (diff)
downloadbusybox-ab6b446e9567db741b463f74afb7d98cc583c4b9.zip
busybox-ab6b446e9567db741b463f74afb7d98cc583c4b9.tar.gz
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 'archival/tar.c')
-rw-r--r--archival/tar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/archival/tar.c b/archival/tar.c
index deb5c89..76f1a62 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -357,7 +357,8 @@ static int writeTarHeader(struct TarBallInfo *tbInfo,
if (tbInfo->verboseFlag) {
FILE *vbFd = stdout;
- if (tbInfo->tarFd == STDOUT_FILENO) /* If the archive goes to stdout, verbose to stderr */
+ /* If archive goes to stdout, verbose goes to stderr */
+ if (tbInfo->tarFd == STDOUT_FILENO)
vbFd = stderr;
/* GNU "tar cvvf" prints "extended" listing a-la "ls -l" */
/* We don't have such excesses here: for us "v" == "vv" */