summaryrefslogtreecommitdiffhomepage
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
parent58e42d5356bfbb8ed817a782901bf52d9b8f54bf (diff)
Gunzip changes broke tar -z support (woops)
-rw-r--r--archival/tar.c3
-rw-r--r--tar.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/archival/tar.c b/archival/tar.c
index 38a8d9a04..16b3fb4b6 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -58,7 +58,6 @@
#ifdef BB_FEATURE_TAR_GZIP
extern int unzip(int in, int out);
-extern int gunzip_init();
#endif
/* Tar file constants */
@@ -173,7 +172,7 @@ extern int tar_unzip_init(int tarFd)
if (child_pid==0) {
/* child process */
close(unzip_pipe[0]);
- gunzip_init();
+// gunzip_init();
unzip(tarFd, unzip_pipe[1]);
exit(EXIT_SUCCESS);
}
diff --git a/tar.c b/tar.c
index 38a8d9a04..16b3fb4b6 100644
--- a/tar.c
+++ b/tar.c
@@ -58,7 +58,6 @@
#ifdef BB_FEATURE_TAR_GZIP
extern int unzip(int in, int out);
-extern int gunzip_init();
#endif
/* Tar file constants */
@@ -173,7 +172,7 @@ extern int tar_unzip_init(int tarFd)
if (child_pid==0) {
/* child process */
close(unzip_pipe[0]);
- gunzip_init();
+// gunzip_init();
unzip(tarFd, unzip_pipe[1]);
exit(EXIT_SUCCESS);
}