unzip concatenated gzip files
Denys Vlasenko
vda.linux at googlemail.com
Thu Oct 4 16:36:41 PDT 2007
On Friday 05 October 2007 00:32, Denys Vlasenko wrote:
> On Thursday 04 October 2007 18:43, Loïc Grenié wrote:
> > 2007/10/4, Loïc Grenié <loic.grenie at gmail.com>:
> > > Code
> >
> > Minor tweak (I was reserving two excessive bytes).
>
> Unfortunately, we collided. I was working on this too,
> using your patch as a base. :[
>
> text data bss dec hex filename
> 770988 1029 9552 781569 bed01 busybox_old
> 771137 1029 9552 781718 bed96 busybox_unstripped
>
> This patch does not introduce any new CONFIG options.
> Less than 200 bytes growth.
>
> "decompression OK, trailing garbage ignored" is commented out.
> Not decided yet whether the message itself is needed.
>
> As a bonus, now gunzip should never die without returning to main program.
> It did it before on many low-probability error paths.
>
> As a minus, it can introduce new bugs. :(
>
> Can you test this patch?
Sorry, wrong patch. This one is right.
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loic.diff
Type: text/x-diff
Size: 34893 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20071005/117f290e/attachment-0001.bin
More information about the busybox
mailing list