mirror of https://github.com/upx/upx.git
all: minor cleanups
This commit is contained in:
parent
8d1a98e03b
commit
7c57b10cae
|
@ -13,7 +13,7 @@ if [[ $UPX_CONTAINER_IMAGE_NAME != upx-cross-compile-* ]]; then
|
|||
fi
|
||||
|
||||
# go to upx top-level directory
|
||||
cd $argv0dir/../..
|
||||
cd "$argv0dir/../.." || exit 1
|
||||
pwd
|
||||
[[ -f src/version.h ]] || exit 1 # sanity check
|
||||
|
||||
|
|
|
@ -569,7 +569,7 @@ static int do_option(int optc, const char *arg) {
|
|||
case 525: // --exact
|
||||
opt->exact = true;
|
||||
break;
|
||||
// compression runtime parameters
|
||||
// CRP - Compression Runtime Parameters (undocumented and subject to change)
|
||||
case 801:
|
||||
getoptvar(&opt->crp.crp_ucl.c_flags, 0, 3, arg);
|
||||
break;
|
||||
|
@ -866,7 +866,7 @@ int main_get_options(int argc, char **argv) {
|
|||
{"filter", 0x31, N, 521}, // --filter=
|
||||
{"no-filter", 0x10, N, 522},
|
||||
{"small", 0x10, N, 520},
|
||||
// compression runtime parameters
|
||||
// CRP - Compression Runtime Parameters (undocumented and subject to change)
|
||||
{"crp-nrv-cf", 0x31, N, 801},
|
||||
{"crp-nrv-sl", 0x31, N, 802},
|
||||
{"crp-nrv-hl", 0x31, N, 803},
|
||||
|
|
|
@ -96,7 +96,8 @@ struct options_t {
|
|||
enum { SKIP_OVERLAY = 0, COPY_OVERLAY = 1, STRIP_OVERLAY = 2 };
|
||||
int overlay;
|
||||
|
||||
// compression runtime parameters - see struct XXX_compress_config_t
|
||||
// CRP - Compression Runtime Parameters (undocumented and subject to change)
|
||||
// see struct XXX_compress_config_t
|
||||
struct crp_t {
|
||||
lzma_compress_config_t crp_lzma;
|
||||
ucl_compress_config_t crp_ucl;
|
||||
|
|
Loading…
Reference in New Issue