aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-10-21 18:59:58 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-10-21 18:59:58 +0000
commit6fa3ab3cf13395831b1a3624e13e66af42b4ac38 (patch)
treefa9e2551941b15691449aad0b2454d4342b8bc25
parente5387a0574a4da88411753c4df959a03629063c9 (diff)
downloadbusybox-w32-6fa3ab3cf13395831b1a3624e13e66af42b4ac38.tar.gz
busybox-w32-6fa3ab3cf13395831b1a3624e13e66af42b4ac38.tar.bz2
busybox-w32-6fa3ab3cf13395831b1a3624e13e66af42b4ac38.zip
bzip2: make -d actually work
-rw-r--r--archival/bbunzip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/bbunzip.c b/archival/bbunzip.c
index 61b5e39da..b467f1b19 100644
--- a/archival/bbunzip.c
+++ b/archival/bbunzip.c
@@ -11,7 +11,7 @@
11enum { 11enum {
12 OPT_STDOUT = 0x1, 12 OPT_STDOUT = 0x1,
13 OPT_FORCE = 0x2, 13 OPT_FORCE = 0x2,
14/* gunzip only: */ 14/* gunzip and bunzip2 only: */
15 OPT_VERBOSE = 0x4, 15 OPT_VERBOSE = 0x4,
16 OPT_DECOMPRESS = 0x8, 16 OPT_DECOMPRESS = 0x8,
17 OPT_TEST = 0x10, 17 OPT_TEST = 0x10,
@@ -161,7 +161,7 @@ USE_DESKTOP(long long) int unpack_bunzip2(void)
161int bunzip2_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 161int bunzip2_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
162int bunzip2_main(int argc, char **argv) 162int bunzip2_main(int argc, char **argv)
163{ 163{
164 getopt32(argv, "cf"); 164 getopt32(argv, "cfvdt");
165 argv += optind; 165 argv += optind;
166 if (applet_name[2] == 'c') 166 if (applet_name[2] == 'c')
167 option_mask32 |= OPT_STDOUT; 167 option_mask32 |= OPT_STDOUT;