diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-12 02:13:12 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-12 02:13:12 +0000 |
commit | 059c91711f664927534246bd5c1d5e202fcf8e1d (patch) | |
tree | bf40a8f1895af5bae790c65435c8d4ae621c55cf /archival/tar.c | |
parent | 4bfb84db4e941e227f07346a3b3a56afd7d1e3fe (diff) | |
download | busybox-w32-059c91711f664927534246bd5c1d5e202fcf8e1d.tar.gz busybox-w32-059c91711f664927534246bd5c1d5e202fcf8e1d.tar.bz2 busybox-w32-059c91711f664927534246bd5c1d5e202fcf8e1d.zip |
open_transformer: do not duplicate "<program> -cf -"
text data bss dec hex filename
677858 738 7236 685832 a7708 busybox_old
677804 738 7236 685778 a76d2 busybox_unstripped
Diffstat (limited to 'archival/tar.c')
-rw-r--r-- | archival/tar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/tar.c b/archival/tar.c index 3fe188656..1def615b5 100644 --- a/archival/tar.c +++ b/archival/tar.c | |||
@@ -662,7 +662,7 @@ static char get_header_tar_Z(archive_handle_t *archive_handle) | |||
662 | bb_error_msg_and_die("invalid magic"); | 662 | bb_error_msg_and_die("invalid magic"); |
663 | } | 663 | } |
664 | 664 | ||
665 | archive_handle->src_fd = open_transformer(archive_handle->src_fd, uncompress, "uncompress", "uncompress", "-cf", "-", NULL); | 665 | archive_handle->src_fd = open_transformer(archive_handle->src_fd, uncompress, "uncompress"); |
666 | archive_handle->offset = 0; | 666 | archive_handle->offset = 0; |
667 | while (get_header_tar(archive_handle) == EXIT_SUCCESS) | 667 | while (get_header_tar(archive_handle) == EXIT_SUCCESS) |
668 | continue; | 668 | continue; |