From 0cbc8cf4c9b60f69826b9a9cf5bd5eb2e38eacb1 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Wed, 28 Mar 2001 05:47:26 +0000 Subject: [PATCH] Gunzip changes broke tar -z support (woops) --- archival/tar.c | 3 +-- tar.c | 3 +-- 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); }