allow better handling for no_filter option;

new options is_ptinterp, use_ptintep, make_ptinterp;
reserve codes for M_CL1B.
	compress.ch conf.h main.cpp options.h

committer: jreiser <jreiser> 1108939577 +0000
This commit is contained in:
John Reiser
2005-02-20 22:46:17 +00:00
parent 67a77f1880
commit 8d60343940
4 changed files with 53 additions and 11 deletions
+4 -1
View File
@@ -51,6 +51,7 @@ struct options_t {
int filter; // preferred filter from Packer::getFilters()
bool all_methods; // try all available compression methods ?
bool all_filters; // try all available filters ?
bool no_filter; // force no filter
// other options
int backup;
@@ -116,7 +117,9 @@ struct options_t {
struct {
unsigned blocksize;
bool force_execve; // force the linux/386 execve format
bool ptinterp; // is PT_INTERP, so don't adjust auxv_t
bool is_ptinterp; // is PT_INTERP, so don't adjust auxv_t
bool use_ptinterp; // use PT_INTERP /opt/upx/run
bool make_ptinterp; // make PT_INTERP [ignore current file!]
enum { SCRIPT_MAX = 32 };
const char *script_name;
} o_unix;