aboutsummaryrefslogtreecommitdiff
path: root/archival/tar.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-09-05 11:48:32 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-09-05 11:48:32 +0000
commit211f7f88ae67e875bed50409b2edbb6d740fc648 (patch)
treeae37652f75374919fff81e732fd2ab867e6a947a /archival/tar.c
parentbeffd43d8e393b68787a00d9c6078a2b367afd01 (diff)
downloadbusybox-w32-211f7f88ae67e875bed50409b2edbb6d740fc648.tar.gz
busybox-w32-211f7f88ae67e875bed50409b2edbb6d740fc648.tar.bz2
busybox-w32-211f7f88ae67e875bed50409b2edbb6d740fc648.zip
tar + gzip/bzip2/etc: support NOMMU machines (by Alex Landau <landau_alex@yahoo.com>)
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 f0d397114..e0d4daff7 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -660,7 +660,7 @@ static char get_header_tar_Z(archive_handle_t *archive_handle)
660 bb_error_msg_and_die("invalid magic"); 660 bb_error_msg_and_die("invalid magic");
661 } 661 }
662 662
663 archive_handle->src_fd = open_transformer(archive_handle->src_fd, uncompress); 663 archive_handle->src_fd = open_transformer(archive_handle->src_fd, uncompress, "uncompress", "uncompress", "-cf", "-", NULL);
664 archive_handle->offset = 0; 664 archive_handle->offset = 0;
665 while (get_header_tar(archive_handle) == EXIT_SUCCESS) 665 while (get_header_tar(archive_handle) == EXIT_SUCCESS)
666 /* nothing */; 666 /* nothing */;