Move script_name into unix suboptions.

committer: mfx <mfx> 973827324 +0000
This commit is contained in:
Markus F.X.J. Oberhumer 2000-11-10 03:35:24 +00:00
parent e25318d0f1
commit 32dfec3cbc

View File

@ -436,22 +436,24 @@ enum {
struct options_t { struct options_t {
int cmd; int cmd;
// compression options
int method; int method;
int level; // compression level 1..10 int level; // compression level 1..10
int mem_level; // memory level 1..9 int mem_level; // memory level 1..9
int filter; // preferred filter from Packer::getFilters() int filter; // preferred filter from Packer::getFilters()
bool all_filters; // try all filters ? bool all_filters; // try all filters ?
// other options
int backup;
int console; int console;
int debug; int debug;
int force; int force;
int info_mode; int info_mode;
bool ignorewarn; bool ignorewarn;
int backup;
bool no_env; bool no_env;
bool no_progress; bool no_progress;
const char *output_name; const char *output_name;
const char *script_name;
int small; int small;
int verbose; int verbose;
bool to_stdout; bool to_stdout;
@ -500,6 +502,8 @@ struct options_t {
} tos; } tos;
struct { struct {
unsigned blocksize; unsigned blocksize;
enum { SCRIPT_MAX = 32 };
const char *script_name;
} unix; } unix;
struct { struct {
bool le; bool le;
@ -606,8 +610,6 @@ int upx_test_overlap ( const upx_byte *buf, upx_uint src_off,
#endif /* __cplusplus */ #endif /* __cplusplus */
#define SCRIPT_MAX 32
#endif /* already included */ #endif /* already included */