Gunzip changes broke tar -z support (woops)
This commit is contained in:
parent
58e42d5356
commit
0cbc8cf4c9
@ -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
3
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user