This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 4/20/2011 12:39 PM, Corinna Vinschen wrote:
> 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?

Apparently it happens when pbzip [*] is used (on a cross build
environment, since cygwin does not actually ship pbzip) to compress the
tarball.

[*] Parallel BZip2: http://www.compression.ca/pbzip2/

--
Chuck


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]