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 #undef BB_FEATURE_LINUXRC
#endif #endif
// //
#ifdef BB_GZIP
#ifndef BB_GUNZIP
#define BB_GUNZIP
#endif
#endif
//
#ifdef BB_DPKG #ifdef BB_DPKG
#ifndef BB_DPKG_DEB #ifndef BB_DPKG_DEB
#define 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 '1': case '2': case '3': case '4': case '5':
case '6': case '7': case '8': case '9': case '6': case '7': case '8': case '9':
break; break;
#ifdef BB_GUNZIP
case 'd': case 'd':
exit(gunzip_main(argc, argv)); exit(gunzip_main(argc, argv));
#endif
default: default:
show_usage(); 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 '1': case '2': case '3': case '4': case '5':
case '6': case '7': case '8': case '9': case '6': case '7': case '8': case '9':
break; break;
#ifdef BB_GUNZIP
case 'd': case 'd':
exit(gunzip_main(argc, argv)); exit(gunzip_main(argc, argv));
#endif
default: default:
show_usage(); show_usage();
} }