Gzip is indepenedent of gunzip

This commit is contained in:
Glenn L McGrath 2001-04-11 03:45:37 +00:00
parent a12131966c
commit 528ef50a4a
3 changed files with 4 additions and 6 deletions

View File

@ -388,12 +388,6 @@
#undef BB_FEATURE_LINUXRC
#endif
//
#ifdef BB_GZIP
#ifndef BB_GUNZIP
#define BB_GUNZIP
#endif
#endif
//
#ifdef BB_DPKG
#ifndef BB_DPKG_DEB
#define BB_DPKG_DEB

View File

@ -1918,8 +1918,10 @@ int gzip_main(int argc, char **argv)
case '1': case '2': case '3': case '4': case '5':
case '6': case '7': case '8': case '9':
break;
#ifdef BB_GUNZIP
case 'd':
exit(gunzip_main(argc, argv));
#endif
default:
show_usage();
}

2
gzip.c
View File

@ -1918,8 +1918,10 @@ int gzip_main(int argc, char **argv)
case '1': case '2': case '3': case '4': case '5':
case '6': case '7': case '8': case '9':
break;
#ifdef BB_GUNZIP
case 'd':
exit(gunzip_main(argc, argv));
#endif
default:
show_usage();
}