More corruption [Re: Problems with ncftp]

Earnie Boyd earnie_boyd@yahoo.com
Sun Feb 28 23:02:00 GMT 1999


---Frank McIngvale <frankm@HiWAAY.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@yahoo.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@sourceware.cygnus.com


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /