Gunzip changes broke tar -z support (woops)
authorGlenn L McGrath <bug1@ihug.co.nz>
Wed, 28 Mar 2001 05:47:26 +0000 (05:47 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Wed, 28 Mar 2001 05:47:26 +0000 (05:47 -0000)
archival/tar.c
tar.c

index 38a8d9a..16b3fb4 100644 (file)
@@ -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 38a8d9a..16b3fb4 100644 (file)
--- 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);
        }