delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/17/11:10:44

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <5ef8ba411003161400u6c172302r98c64f4d0e9f1d43@mail.gmail.com>
References: <5ef8ba411003161215g7844d7edi6412ca57e5eb6e3d AT mail DOT gmail DOT com> <20100316202916 DOT GO4290 AT trikaliotis DOT net> <5ef8ba411003161400u6c172302r98c64f4d0e9f1d43 AT mail DOT gmail DOT com>
From: David Eisner <deisner AT gmail DOT com>
Date: Wed, 17 Mar 2010 12:10:08 -0400
Message-ID: <5ef8ba411003170910t1c74e19fneebe0465905e14a7@mail.gmail.com>
Subject: Re: Patch, diff, and line-endings
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Tue, Mar 16, 2010 at 5:00 PM, David Eisner <deisner AT gmail DOT com> wrote:

> Cygwin versions (2.8.7 and 2.5.8 respectively). =A0When I get a chance,
> I'll try the newer versions on Linux and see what happens.

Also works fine on Linux with patch 2.5.8 (and diff 2.9 -- version
2.8.7 was never a stable release, I think).

In any case, I figured out the fix:  Use patch --binary.  That switch
is only available on Cygwin.  Now it works fine.  I'm still not quite
sure why I have to do this.  Anyhoo, it works.

-David

--=20
David Eisner     http://cradle.brokenglass.com

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