mirror of
https://github.com/sheumann/hush.git
synced 2024-12-25 03:32:18 +00:00
gz_open and gz_close were left in, even when BB_FEATURE_TAR_GZIP was disabled.
Fix that.
This commit is contained in:
parent
5f2ef46d6d
commit
3a6da8c183
@ -1017,6 +1017,7 @@ extern int unzip(FILE *l_in_file, FILE *l_out_file)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef BB_FEATURE_TAR_GZIP
|
||||
extern int gz_open(FILE *compressed_file, int *pid)
|
||||
{
|
||||
int unzip_pipe[2];
|
||||
@ -1056,6 +1057,7 @@ extern void gz_close(int gunzip_pid)
|
||||
free(window);
|
||||
free(crc_table);
|
||||
}
|
||||
#endif
|
||||
|
||||
extern int gunzip_main(int argc, char **argv)
|
||||
{
|
||||
|
2
gunzip.c
2
gunzip.c
@ -1017,6 +1017,7 @@ extern int unzip(FILE *l_in_file, FILE *l_out_file)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef BB_FEATURE_TAR_GZIP
|
||||
extern int gz_open(FILE *compressed_file, int *pid)
|
||||
{
|
||||
int unzip_pipe[2];
|
||||
@ -1056,6 +1057,7 @@ extern void gz_close(int gunzip_pid)
|
||||
free(window);
|
||||
free(crc_table);
|
||||
}
|
||||
#endif
|
||||
|
||||
extern int gunzip_main(int argc, char **argv)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user