diff options
author | Rob Landley | 2005-10-16 08:42:18 +0000 |
---|---|---|
committer | Rob Landley | 2005-10-16 08:42:18 +0000 |
commit | a4d45d423fe7f80e61bae14323254f73ac9888a0 (patch) | |
tree | 54e763ab36fdefd5adb6eedcbad00ddd3d0193a1 /archival | |
parent | 60fe7bfa41208da10348f0945ce3b3082e6edff6 (diff) | |
download | busybox-a4d45d423fe7f80e61bae14323254f73ac9888a0.zip busybox-a4d45d423fe7f80e61bae14323254f73ac9888a0.tar.gz |
The fact "tar tvjf thing.tbz" didn't work was due to the "-1" in -r11859,
which was apparently never tested. That meant that there always had
to be at least one unparsed argument left over, which is not the case for
tar.
Diffstat (limited to 'archival')
-rw-r--r-- | archival/tar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/tar.c b/archival/tar.c index 4f02e90..82a79b7 100644 --- a/archival/tar.c +++ b/archival/tar.c @@ -688,8 +688,8 @@ int tar_main(int argc, char **argv) /* Prepend '-' to the first argument if required */ bb_opt_complementally = ENABLE_FEATURE_TAR_CREATE ? - "--:-1:X::T::\n::c:t:x:?:c--tx:t--cx:x--ct" : - "--:-1:X::T::\n::t:x:?:t--x:x--t"; + "--:X::T::\n::c:t:x:?:c--tx:t--cx:x--ct" : + "--:X::T::\n::t:x:?:t--x:x--t"; if (ENABLE_FEATURE_TAR_LONG_OPTIONS) bb_applet_long_options = tar_long_options; opt = bb_getopt_ulflags(argc, argv, tar_options, |