[BusyBox] More tar bugs...
Erik Andersen
andersen at lineo.com
Mon Sep 4 06:43:14 UTC 2000
On Sun Sep 03, 2000 at 07:00:59PM -0700, Matt Kraai wrote:
> On Sun, Sep 03, 2000 at 06:51:41PM -0700, Matt Kraai wrote:
> > On Sun, Sep 03, 2000 at 05:43:09PM +0200, Alfred M. Szmidt wrote:
> > > Ok, found a cute bug in tar today
> > > I have two files, "test" and "tset" in a tar+gzip archive
> > > test contains "Hurray! we are testing tar!!!"
> > > and tset contains "!!!rat gnitset era ew !yarruH"
> > >
> > > # Busybox
> > > $ cat ../test.tar.gz | gunzip -c - | tar -Oxf - test
> > > Hurray! we are testing tar!!!
> > > !!!rat gnitset era ew !yarruH
> > > $
> > >
> > > # GNU
> > > $ cat ../test.tar.gz | gunzip -c - | tar -Oxf - test
> > > Hurray! we are testing tar!!!
> > > $
> >
> > The version of tar provided by busybox does not allow you to select
> > which files to extract from an archive. It always extracts everything
> > in the archive. The attached patch allows you to select files to
> > extract (or list). Should it be committed?
>
Cool. Yes, please do commit this...
> + /* There are not the droids you're looking for, move along */
<grin>
-Erik
--
Erik B. Andersen email: andersen at lineo.com
--This message was written using 73% post-consumer electrons--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 350 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20000904/6a090f67/attachment.pgp
More information about the busybox
mailing list