diff options
author | Ron Yorston <rmy@pobox.com> | 2017-07-30 11:44:32 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2017-07-30 11:44:32 +0100 |
commit | d4efd67ff83c8c4dffc138531995bb9177f7c7d4 (patch) | |
tree | 0755d96354c52d469a79a7c8d4ff3f0d8036c56f | |
parent | cc684de7ba3470a0f0871634a34e8ebcba37b787 (diff) | |
download | busybox-w32-d4efd67ff83c8c4dffc138531995bb9177f7c7d4.tar.gz busybox-w32-d4efd67ff83c8c4dffc138531995bb9177f7c7d4.tar.bz2 busybox-w32-d4efd67ff83c8c4dffc138531995bb9177f7c7d4.zip |
unzip: omit special treatment of non-GNU getopt
MinGW's getopt is sufficiently similar to GNU's getopt that the code to
handle '-x' in the option string isn't required. This doesn't change
the behaviour, which was already correct, but saves a few bytes.
-rw-r--r-- | archival/unzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/unzip.c b/archival/unzip.c index 0dd18a75d..f37ea3519 100644 --- a/archival/unzip.c +++ b/archival/unzip.c | |||
@@ -589,7 +589,7 @@ int unzip_main(int argc, char **argv) | |||
589 | } | 589 | } |
590 | } | 590 | } |
591 | 591 | ||
592 | #ifndef __GLIBC__ | 592 | #if !defined(__GLIBC__) && !ENABLE_PLATFORM_MINGW32 |
593 | /* | 593 | /* |
594 | * This code is needed for non-GNU getopt | 594 | * This code is needed for non-GNU getopt |
595 | * which doesn't understand "-" in option string. | 595 | * which doesn't understand "-" in option string. |