aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2001-04-11 03:45:37 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2001-04-11 03:45:37 +0000
commit528ef50a4a4171892813b31d1cccc838887353b0 (patch)
tree0e82f0503aa08f1e6367a7aa790f438c993ea028
parenta12131966c57166f4d1690f935aaecbbcc1f6e56 (diff)
downloadbusybox-w32-528ef50a4a4171892813b31d1cccc838887353b0.tar.gz
busybox-w32-528ef50a4a4171892813b31d1cccc838887353b0.tar.bz2
busybox-w32-528ef50a4a4171892813b31d1cccc838887353b0.zip
Gzip is indepenedent of gunzip
-rw-r--r--Config.h6
-rw-r--r--archival/gzip.c2
-rw-r--r--gzip.c2
3 files changed, 4 insertions, 6 deletions
diff --git a/Config.h b/Config.h
index 11f2150cb..286b68001 100644
--- a/Config.h
+++ b/Config.h
@@ -388,12 +388,6 @@
388 #undef BB_FEATURE_LINUXRC 388 #undef BB_FEATURE_LINUXRC
389#endif 389#endif
390// 390//
391#ifdef BB_GZIP
392 #ifndef BB_GUNZIP
393 #define BB_GUNZIP
394 #endif
395#endif
396//
397#ifdef BB_DPKG 391#ifdef BB_DPKG
398 #ifndef BB_DPKG_DEB 392 #ifndef BB_DPKG_DEB
399 #define BB_DPKG_DEB 393 #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)
1918 case '1': case '2': case '3': case '4': case '5': 1918 case '1': case '2': case '3': case '4': case '5':
1919 case '6': case '7': case '8': case '9': 1919 case '6': case '7': case '8': case '9':
1920 break; 1920 break;
1921#ifdef BB_GUNZIP
1921 case 'd': 1922 case 'd':
1922 exit(gunzip_main(argc, argv)); 1923 exit(gunzip_main(argc, argv));
1924#endif
1923 default: 1925 default:
1924 show_usage(); 1926 show_usage();
1925 } 1927 }
diff --git a/gzip.c b/gzip.c
index b0e6b3675..ac503444e 100644
--- a/gzip.c
+++ b/gzip.c
@@ -1918,8 +1918,10 @@ int gzip_main(int argc, char **argv)
1918 case '1': case '2': case '3': case '4': case '5': 1918 case '1': case '2': case '3': case '4': case '5':
1919 case '6': case '7': case '8': case '9': 1919 case '6': case '7': case '8': case '9':
1920 break; 1920 break;
1921#ifdef BB_GUNZIP
1921 case 'd': 1922 case 'd':
1922 exit(gunzip_main(argc, argv)); 1923 exit(gunzip_main(argc, argv));
1924#endif
1923 default: 1925 default:
1924 show_usage(); 1926 show_usage();
1925 } 1927 }