From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 447 invoked by alias); 20 Apr 2011 16:39:43 -0000 Received: (qmail 30273 invoked by uid 22791); 20 Apr 2011 16:39:23 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Wed, 20 Apr 2011 16:39:10 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id D995F2C0254; Wed, 20 Apr 2011 18:39:07 +0200 (CEST) Date: Wed, 20 Apr 2011 16:39:00 -0000 From: Corinna Vinschen To: cygwin-apps@cygwin.com Subject: Re: [PATCH 5/6] Handle bzip2 multi-stream files Message-ID: <20110420163907.GB3324@calimero.vinschen.de> Reply-To: cygwin-apps@cygwin.com Mail-Followup-To: cygwin-apps@cygwin.com References: <4D9492BD.6020103@redhat.com> <1302273832-432-1-git-send-email-jon.turney@dronecode.org.uk> <1302273832-432-6-git-send-email-jon.turney@dronecode.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1302273832-432-6-git-send-email-jon.turney@dronecode.org.uk> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com X-SW-Source: 2011-04/txt/msg00037.txt.bz2 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? Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat