delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/06/21/08:12:13

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:cc:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=mv+oEiE8uRPGnc+t5Lf2ATHwzwKlEYD8rBr3U9/l/Nsebjd3lhG7M
mkHWPM0xFYqizfL5R1amvYsb2wywjM6sm2sawkj0RbTUi2ewllWgCYFZlM+MYy7a
yAc31eP/RO8l+LXVNMy3OMjwaM2qLmZVzIaQekgiWYkuAW8MyV6HmQ=
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:cc:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=IfYi0ef3dj+6ISNa2lNuijiKyC8=; b=ISCTlJlxXxg44UONniQ64Qa11SnA
7VQwflFpR8LONC0cNkv9iDIqJ0KyxwfHHxwhs/uGWFJAD8sxbvKN/w6sKqZ1Ea7L
YIYxdMgb4YP7kHLjXNLtS6Bx/TfpGUZRp5P6ChQg8QFnH5sufeDgEZ08eiiYaw87
h9cPkAFZ6Z8Xl8M=
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: Fri, 21 Jun 2013 14:11:54 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Cc: "Matt D." <matt AT codespunk DOT com>
Subject: Re: Bug with Cygwin's 'quilt' is actually in 'patch'
Message-ID: <20130621121154.GA7362@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com, "Matt D." <matt AT codespunk DOT com>
References: <51BFEB6E DOT 2040404 AT codespunk DOT com> <51BFF1F9 DOT 4040205 AT codespunk DOT com> <51C277A4 DOT 20709 AT codespunk DOT com> <20130620074638 DOT GD22578 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20130620074638.GD22578@calimero.vinschen.de>
User-Agent: Mutt/1.5.21 (2010-09-15)

On Jun 20 09:46, Corinna Vinschen wrote:
> On Jun 19 23:31, Matt D. wrote:
> > I've been looking further into this and it appears as though the
> > problem is in 'patch' not 'quilt'. quilt is actually a collection of
> > bash scripts and calls patch to do the actual patching.
> > 
> > Using the same example I provided earlier in the thread, the same
> > error occurs when calling patch directly:
> > 
> > $ patch Imakefile patches/test.patch
> > 
> > Running dos2unix on test.patch will allow the patch to apply
> > successfully. However, this is WRONG. Imakefile and the initially
> > created test.patch both use CRLF line endings. The patch should
> > definitely NOT apply by introducing actual disparity.
> > 
> > To summarize, the patch to Imakefile (CRLF) will apply if it is
> > converted to LF line endings. Using the '--binary' switch seems to
> > be a workaround for this issue.
> 
> I can reproduce this problem on 32 bit Cygwin but not on 64 bit Cygwin.
> 
> The 64 bit version has a newer patch version 2.7.1, while I so far
> neglected to update the 32 bit version which is still on 2.6.1.  I'll
> build a new patch 2.7.1 for 32 bit today.  I hope that fixes it for
> 32 bit as well.  Stay tuned for the announcement.

Matt?  Ping?  Does the new patch 2.7.1 help?


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