delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/02/11/12:58:22

Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com
Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <19990211125830.2409.rocketmail@send105.yahoomail.com>
Date: Thu, 11 Feb 1999 04:58:30 -0800 (PST)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: Re: More corruption [Re: Problems with ncftp]
To: Frank McIngvale <frankm AT HiWAAY DOT net>, cygwin AT sourceware DOT cygnus DOT com
MIME-Version: 1.0

---Frank McIngvale <frankm AT HiWAAY DOT net> wrote:
>
> 
> Hm, it's apparently not just a problem with ncftp.
> The following also causes file corruption:
> 
> $ bzip2 -9k bigfile
> $ bzip2 -dc bigfile.bz2 | bzip2 -9 > out.bz2
> 
> bigfile     = 21,301,412 bytes
> bigfile.bz2 =  3,338,162 bytes
> out.bz2     =  3,351,827 bytes (!!!)
> 
> $ bzip2 -t out.bz2
> 
>   out.bz2: data integrity (CRC) error in data
> 
8<

This problem is the pipe and redirection when they are set to text
mode.  If before starting bash you `SET CYGWIN=binmode' this problem
will go away.
==
-                        \\||//
-------------------o0O0--Earnie--0O0o-------------------
--                earnie_boyd AT yahoo DOT com               --
-- http://www.freeyellow.com/members5/gw32/index.html --
----------------------ooo0O--O0ooo----------------------

PS: Newbie's, you should visit my page.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


--   
Want to unsubscribe from this list?                             
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com


- Raw text -


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