X-Recipient: archive-cygwin@delorie.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@mail.gmail.com>  	<20100316202916.GO4290@trikaliotis.net> <5ef8ba411003161400u6c172302r98c64f4d0e9f1d43@mail.gmail.com>
From: David Eisner <deisner@gmail.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@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Tue, Mar 16, 2010 at 5:00 PM, David Eisner <deisner@gmail.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

