Current svn: tar -xvf works, tar xvf doesn't. bbox 1.2.1 was okay.
Rob Landley
rob at landley.net
Sat Sep 2 19:24:33 UTC 2006
On Saturday 02 September 2006 1:40 pm, Denis Vlasenko wrote:
> # busybox tar xvf t.tar t/1/10
> t/1/10
>
> # ./busybox tar xvf t.tar t/1/10
> BusyBox v1.2.0 (2006.09.02-01:47+0000) multi-call binary
>
> Usage: tar -[czjaZxtvO] [-f TARFILE] [-C DIR] [FILE(s)] ...
>
> Create, extract, or list files from a tar file.
>
> # ./busybox tar -xvf t.tar t/1/10
> t/1/10
>
> Neither tar.c nor ulflags.c looks suspect. Any ideas?
Did you build them against the same C library? I remember uClibc really
doesn't like the "xvf" syntax without the dash. It's a bug in their
getopt().
Rob
--
Never bet against the cheap plastic solution.
More information about the busybox
mailing list