unzip concatenated gzip files
Loïc Grenié
loic.grenie at gmail.com
Tue Oct 2 12:17:35 UTC 2007
This patch tries to allow the unzipping of concatenated gzip files.
Test:
% echo First > first
% gzip first
% echo Second > second
% gzip second
% cat first.gz second.gz > total.gz
% ./busybox gunzip total.gz
% cat total
First
Second
%
If there are no errors, this should address Debian's bug
#402482<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=402482>
.
The feature costs 400 bytes on i386. I've removed a couple of
initializations that (look) useless (to me). I've also added a feature
for message "decompression OK, trailing garbage ignored".
Loïc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20071002/b2b8054d/attachment-0002.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gunzip.diff
Type: text/x-diff
Size: 8855 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20071002/b2b8054d/attachment-0002.bin
More information about the busybox
mailing list