diff options
-rw-r--r-- | archival/gzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/gzip.c b/archival/gzip.c index b8f576500..39391dfda 100644 --- a/archival/gzip.c +++ b/archival/gzip.c | |||
@@ -2034,7 +2034,6 @@ int gzip_main(int argc, char **argv) | |||
2034 | 2034 | ||
2035 | /* Must match bbunzip's constants OPT_STDOUT, OPT_FORCE! */ | 2035 | /* Must match bbunzip's constants OPT_STDOUT, OPT_FORCE! */ |
2036 | opt = getopt32(argc, argv, "cfv" USE_GUNZIP("d") "q123456789" ); | 2036 | opt = getopt32(argc, argv, "cfv" USE_GUNZIP("d") "q123456789" ); |
2037 | argv += optind; | ||
2038 | option_mask32 &= 0x7; /* Clear -d, ignore -q, -0..9 */ | 2037 | option_mask32 &= 0x7; /* Clear -d, ignore -q, -0..9 */ |
2039 | //if (opt & 0x1) // -c | 2038 | //if (opt & 0x1) // -c |
2040 | //if (opt & 0x2) // -f | 2039 | //if (opt & 0x2) // -f |
@@ -2044,6 +2043,7 @@ int gzip_main(int argc, char **argv) | |||
2044 | return gunzip_main(argc, argv); | 2043 | return gunzip_main(argc, argv); |
2045 | } | 2044 | } |
2046 | #endif | 2045 | #endif |
2046 | argv += optind; | ||
2047 | 2047 | ||
2048 | PTR_TO_GLOBALS = xzalloc(sizeof(struct globals) + sizeof(struct globals2)) | 2048 | PTR_TO_GLOBALS = xzalloc(sizeof(struct globals) + sizeof(struct globals2)) |
2049 | + sizeof(struct globals); | 2049 | + sizeof(struct globals); |