Oded Arbel wrote:
Thanks. I'm assuming fixing the implementation to do that will break
binary compatability with the "old" compressed format.
Looks like it - unless you find an unused field to stick this in, which
I doubt.
If you are into medling with the implementation then maybe I'm found
something which might help you -
The stream of bzip2 output seems to be partitioned into blocks.
If I get it right then each block has in its header also the number
of bytes in the original uncompressed block (in two fields of 32 bits
each) , maybe you can walk through the headers and add up these numbers
from the headers?
Hope this helps, I'd be curios to hear what you came up with.
Cheers,
--Amos
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]