delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/24/15:41:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sat, 24 Jan 2004 15:41:21 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [bug] cygwin-1.5.6-1: corruption on tar | bzip2 > file.tar.bz2
Message-ID: <20040124204121.GA5902@redhat.com>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <401298CB DOT 4030607 AT mail DOT ru>
Mime-Version: 1.0
In-Reply-To: <401298CB.4030607@mail.ru>
User-Agent: Mutt/1.4.1i
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Note-from-DJ: This may be spam

On Sat, Jan 24, 2004 at 05:09:47PM +0100, Ilya Pobelov wrote:
>After installing cygwin-1.5.6-1 files created with
>tar -c <names> | bzip2 > file.tar.bz2
>were corrupted (bzip2 reports CRC cheking error when trying to unpack).
>With cygwin-1.5.6-1 such command works as expected.

The tar command + pipe that you specify would not produce a compressed
tar archive since tar -c <names> would not produce anything on stdout
for bzip2 to compress.  If that is truly what you are doing then things
are working as expected.  The compressed output from bzip2 would
essentially be garbage.

I tried using something like:

tar cf - *  | bzip2 > file.tar.bz2

and that worked as expected.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to aaaspam AT sourceware DOT org
and be permanently blocked from mailing lists at sources.redhat.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019