aboutsummaryrefslogtreecommitdiff
path: root/tar.c
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-03-28 05:47:26 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-03-28 05:47:26 +0000
commitb428ac981d617646ba803857d11d04d34d02ddc7 (patch)
treedabf311eea92bf87c8e3b41478ed297204cd5075 /tar.c
parent0a92ca9dcba5287cd9a5019d5d1d3b74c0587beb (diff)
downloadbusybox-w32-b428ac981d617646ba803857d11d04d34d02ddc7.tar.gz
busybox-w32-b428ac981d617646ba803857d11d04d34d02ddc7.tar.bz2
busybox-w32-b428ac981d617646ba803857d11d04d34d02ddc7.zip
Gunzip changes broke tar -z support (woops)
git-svn-id: svn://busybox.net/trunk/busybox@2209 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'tar.c')
-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 }