Gunzip changes broke tar -z support (woops)

This commit is contained in:
Glenn L McGrath 2001-03-28 05:47:26 +00:00
parent 58e42d5356
commit 0cbc8cf4c9
2 changed files with 2 additions and 4 deletions

View 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);
}

3
tar.c
View 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);
}