delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/26/17:38:43

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: Mon, 26 Jan 2004 17:38:28 -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 RESOLVED
Message-ID: <20040126223828.GA17497@redhat.com>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <401298CB DOT 4030607 AT mail DOT ru> <4013C3B3 DOT 40105 AT mail DOT ru> <20040125170546 DOT GA1594 AT redhat DOT com> <4014D541 DOT 3030900 AT mail DOT ru>
Mime-Version: 1.0
In-Reply-To: <4014D541.3030900@mail.ru>
User-Agent: Mutt/1.4.1i
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

On Mon, Jan 26, 2004 at 09:52:17AM +0100, Ilya Pobelov wrote:
>Christopher Faylor wrote on 25.01.2004 18:05:
>>If I were you, I would be comparing the difference between the working
>>and non-working cases, like is the file size different?
>
>Thank you very much for a good question, it really helps to resolve my
>issue.  The problem seems to be in <LF> -> <CR><LF> (0A -> 0D 0A)
>convertion in pipe after bzip2, which occurs _only if_ option "Default
>Text File Type" = Dos.  I didn't test any other utilities except cat,
>when it doesn't happend (=everything fine).

This should be "fixed" in the latest snapshot but it opens a larger issue
with how threads and stdio interoperate.  I'm afraid that I'll probably
end up releasing 1.5.7 with some interesting issues regarding how fopen
interacts with pthreads.

cgf

--
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