diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2001-04-11 03:45:37 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2001-04-11 03:45:37 +0000 |
commit | 528ef50a4a4171892813b31d1cccc838887353b0 (patch) | |
tree | 0e82f0503aa08f1e6367a7aa790f438c993ea028 | |
parent | a12131966c57166f4d1690f935aaecbbcc1f6e56 (diff) | |
download | busybox-528ef50a4a4171892813b31d1cccc838887353b0.tar.gz |
Gzip is indepenedent of gunzip
-rw-r--r-- | Config.h | 6 | ||||
-rw-r--r-- | archival/gzip.c | 2 | ||||
-rw-r--r-- | gzip.c | 2 |
3 files changed, 4 insertions, 6 deletions
@@ -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 diff --git a/archival/gzip.c b/archival/gzip.c index b0e6b3675..ac503444e 100644 --- a/archival/gzip.c +++ b/archival/gzip.c @@ -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(); } @@ -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(); } |