summaryrefslogtreecommitdiff
path: root/tar.c
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2001-03-28 05:47:26 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2001-03-28 05:47:26 +0000
commit0cbc8cf4c9b60f69826b9a9cf5bd5eb2e38eacb1 (patch)
treedabf311eea92bf87c8e3b41478ed297204cd5075 /tar.c
parent58e42d5356bfbb8ed817a782901bf52d9b8f54bf (diff)
downloadbusybox-w32-0cbc8cf4c9b60f69826b9a9cf5bd5eb2e38eacb1.tar.gz
busybox-w32-0cbc8cf4c9b60f69826b9a9cf5bd5eb2e38eacb1.tar.bz2
busybox-w32-0cbc8cf4c9b60f69826b9a9cf5bd5eb2e38eacb1.zip
Gunzip changes broke tar -z support (woops)
Diffstat (limited to '')
-rw-r--r--tar.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tar.c b/tar.c
index 38a8d9a04..16b3fb4b6 100644
--- a/tar.c
+++ b/tar.c
@@ -58,7 +58,6 @@
58 58
59#ifdef BB_FEATURE_TAR_GZIP 59#ifdef BB_FEATURE_TAR_GZIP
60extern int unzip(int in, int out); 60extern int unzip(int in, int out);
61extern int gunzip_init();
62#endif 61#endif
63 62
64/* Tar file constants */ 63/* Tar file constants */
@@ -173,7 +172,7 @@ extern int tar_unzip_init(int tarFd)
173 if (child_pid==0) { 172 if (child_pid==0) {
174 /* child process */ 173 /* child process */
175 close(unzip_pipe[0]); 174 close(unzip_pipe[0]);
176 gunzip_init(); 175// gunzip_init();
177 unzip(tarFd, unzip_pipe[1]); 176 unzip(tarFd, unzip_pipe[1]);
178 exit(EXIT_SUCCESS); 177 exit(EXIT_SUCCESS);
179 } 178 }