summaryrefslogtreecommitdiff
path: root/archival/tar.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-11-12 02:13:12 +0000
committerDenis Vlasenko2007-11-12 02:13:12 +0000
commit059c91711f664927534246bd5c1d5e202fcf8e1d (patch)
treebf40a8f1895af5bae790c65435c8d4ae621c55cf /archival/tar.c
parent4bfb84db4e941e227f07346a3b3a56afd7d1e3fe (diff)
downloadbusybox-059c91711f664927534246bd5c1d5e202fcf8e1d.zip
busybox-059c91711f664927534246bd5c1d5e202fcf8e1d.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/tar.c b/archival/tar.c
index 3fe1886..1def615 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -662,7 +662,7 @@ static char get_header_tar_Z(archive_handle_t *archive_handle)
bb_error_msg_and_die("invalid magic");
}
- archive_handle->src_fd = open_transformer(archive_handle->src_fd, uncompress, "uncompress", "uncompress", "-cf", "-", NULL);
+ archive_handle->src_fd = open_transformer(archive_handle->src_fd, uncompress, "uncompress");
archive_handle->offset = 0;
while (get_header_tar(archive_handle) == EXIT_SUCCESS)
continue;