[PATCH 5/6] Handle bzip2 multi-stream files

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Apr 20 16:39:00 GMT 2011

On Apr  8 15:43, Jon TURNEY wrote:
> bzip2 compressed files are allowed to contain multiple streams of
> compressed data.  So if we arrive at BZ_STREAM_END but are not at
> EOF, restart the decompressor.  Decompress any data which remains
> in the stream before reading any more.

I take this at face value since I'm not fluent in bzip compression.
So, if that helps to circumvent a potential problem, just go ahead.
Does that really occur in some of our tar.bz files?


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

More information about the Cygwin-apps mailing list