[BusyBox] bunzip problem, texinfo-4.6.tar.bz2

Glenn McGrath bug1 at optushome.com.au
Wed Oct 29 00:11:34 UTC 2003


On Tue, 28 Oct 2003 15:14:48 -0600
Rob Landley <rob at landley.net> wrote:

> cat ../../texinfo-4.6.tar.bz2 | ./busybox bunzip2 | tar tv
> 
> Tar didn't complain, and the error return code was 0.

There was a logic error, the old decompress returned 0 for failure, new
code returnes 0 for success. uncompress_bunzip was working, however
bunzip2.c thought the file was bad and deleted it, the correct data was
still going to stdout.

> Now let's see about building tar support into busybox...  Ah.  This is
> 
> apparently not yet an option:

No, i havent worked out how to integrate it into the rest of the
unarchiving code, im not sure what to do with bunzip_data *, either make
it a global static or add it to archive_handle_t.

It might take me a while to fix it.



Glenn



More information about the busybox mailing list