This is the mail archive of the cygwin 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: [bug] cygwin-1.5.6-1: corruption on tar | bzip2 > file.tar.bz2


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@sourceware.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/


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