delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/16/12:23:15

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Mon, 16 Apr 2001 12:21:58 -0400
From: Jason Tishler <Jason DOT Tishler AT dothill DOT com>
To: Louis Bohm <lbohm AT lightbridge DOT com>
Cc: Cygwin <cygwin AT sources DOT redhat DOT com>
Subject: Re: RCS 5.7 Patches
Message-ID: <20010416122158.G275@dothill.com>
Mail-Followup-To: Louis Bohm <lbohm AT lightbridge DOT com>,
Cygwin <cygwin AT sources DOT redhat DOT com>
References: <3ADAE50C DOT CB5547D0 AT lightbridge DOT com> <20010416085454 DOT A275 AT dothill DOT com> <3ADAF003 DOT 4460B1DF AT lightbridge DOT com> <20010416091800 DOT B275 AT dothill DOT com> <3ADAF38C DOT 5FDF13D1 AT lightbridge DOT com> <20010416095750 DOT D275 AT dothill DOT com> <3ADB0C9F DOT 331D40C1 AT lightbridge DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <3ADB0C9F.331D40C1@lightbridge.com>; from lbohm@lightbridge.com on Mon, Apr 16, 2001 at 11:15:43AM -0400
Organization: Dot Hill Systems Corp.

Louis,

On Mon, Apr 16, 2001 at 11:15:43AM -0400, Louis Bohm wrote:
> I really do not get what I am doing wrong... I made sure that there are
> no CR's in the patch
> foo.patch: ASCII English text
> And when I do a od -c I see the \n's but not the \r's.
> 
> And Bellow is the result of the patch:
> 
> lbohm AT yoda:/mnt% patch -p 1 -i foo.patch

I finally figured out was is causing your problem -- white space
differences between the patch and source.

Try the following:

    $ patch -l -p1 --dry-run <~/foo.patch

The -l (as in the letter L, not the number 1) option should solve your
problem.

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp.               Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason DOT Tishler AT dothill DOT com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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