delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/03/09:31:07

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=j/WEyfvmCc45uyrZT8+nwl3nt4gjsBEnfj5a9rLYN/ihH+WcW5Ej7
KFrHlUIlUJrS2WyZG9Bm99UncTDMXuh+BJL7AixnGCcYGgfxR5mf+7Wni5qWiBdU
F2zpUNPkMediH8lbgKOxil5Zel114t5yaJvAZbTnAskCCWzimCmKc8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=6ZwBa21K8zN7WmzQhfedjhd7jSQ=; b=T+Xbg+AxGL47VwnKDQFghJ/3O9go
q0yNxrfCJAkrvyjYwRJe1QW8GsBmlHu+DcrUvI6VoSp5bOYdcwuk/jgD8jmz5Hog
V3GPYnJOKgKZUw3dv0ktVOC3uRDOND5upgkAcKD+u0x1wwCS6acilPENG4Z97DRZ
QvofZt6QsGdMbJ0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1
Date: Wed, 3 Jul 2013 15:30:48 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Bug with Cygwin's 'quilt' is actually in 'patch'
Message-ID: <20130703133048.GG5118@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <51D39491 DOT 9040501 AT email DOT com> <20130703123326 DOT GF5118 AT calimero DOT vinschen DOT de> <51D42171 DOT 9010701 AT email DOT com>
MIME-Version: 1.0
In-Reply-To: <51D42171.9010701@email.com>
User-Agent: Mutt/1.5.21 (2010-09-15)

On Jul  3 15:04, Peter B. wrote:
> 
> On 03.07.2013 14:33 Corinna Vinschen wrote:
> > On Jul  3 05:03, Peter B. wrote:
> >> On Jun 20 09:46, Corinna Vinschen wrote:
> >>> I'll build a new patch 2.7.1 for 32 bit today. I hope that fixes it
> >>> for 32 bit as well.
> >> The new 2.7.1 (32bit) brakes CRLF handling for me completely. The old
> >> 2.6.1 works properly. 2.7.1 with text files converted from CRLF to LF
> >> works properly as well.
> >>
> >> Can you take a look at the download link below? It includes an example
> >> file (with CRLF), the corresponding patch (LF) and the two binaries
> >> (patch v2.6.1 and v2.7.1).
> >>
> >> http://www60.zippyshare.com/v/13352963/file.html
> > Please provide a direct link which doesn't require to enable scripting
> > in a web browser to download.
> >
> >
> > Thanks,
> > Corinna
> >
> Please download this picture (jpg) and rename the file suffix to 7z or
> open with corresponding archiver directly.
> 
> http://abload.de/img/patchfus75.jpg (99KB)

Thanks.  The behaviour here is a deliberate upstream choice to apply the
patch only if the line endings are the same as in the file to patch.

If you really must apply non-CRLF patches to CRLF files, consider using
a temporary text mount:
http://cygwin.com/cygwin-ug-net/using-utils.html#mount


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


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