mirror of
https://github.com/sheumann/hush.git
synced 2024-12-25 18:33:06 +00:00
Gzip is indepenedent of gunzip
This commit is contained in:
parent
a12131966c
commit
528ef50a4a
6
Config.h
6
Config.h
@ -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
|
||||||
|
@ -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
2
gzip.c
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user