svn commit: trunk/busybox/archival
landley at busybox.net
landley at busybox.net
Sun Oct 16 08:42:20 UTC 2005
Author: landley
Date: 2005-10-16 01:42:18 -0700 (Sun, 16 Oct 2005)
New Revision: 11877
Log:
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.
Modified:
trunk/busybox/archival/tar.c
Changeset:
Modified: trunk/busybox/archival/tar.c
===================================================================
--- trunk/busybox/archival/tar.c 2005-10-16 03:54:49 UTC (rev 11876)
+++ trunk/busybox/archival/tar.c 2005-10-16 08:42:18 UTC (rev 11877)
@@ -688,8 +688,8 @@
/* 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,
More information about the busybox-cvs
mailing list