delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/08/18:55:55

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.0.1.1.0.20040408173009.028c01e8@127.0.0.1>
X-Sender:
Date: Thu, 08 Apr 2004 17:31:55 -0400
To: "Bruce Dobrin" <dobrin AT imageworks DOT com>, <cygwin AT cygwin DOT com>
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: Is "Patch" broken?
In-Reply-To: <04ed01c41daf$5667c4e0$4d1f1cac@THEODOLITE>
References: <20040408190219 DOT 19916 DOT qmail AT web12405 DOT mail DOT yahoo DOT com> <Pine DOT GSO DOT 4 DOT 56 DOT 0404081507361 DOT 21641 AT slinky DOT cs DOT nyu DOT edu> <04ed01c41daf$5667c4e0$4d1f1cac AT THEODOLITE>
Mime-Version: 1.0

At 05:20 PM 4/8/2004, you wrote:
>...is my usage broken?
>
>I haven't used Patch in a while,  but I've been trying to patch
>DBD::Oracle1.15,  and the seemingly innocuous patch is being totally
>rejected:
>
>dobrin AT THEODOLITE:/c/temp/DBI/patched-DBDO1.15> patch -p0 -F 3 < pch.1
>patching file dbd-oracle/trunk/Oracle.xs
>Hunk #1 FAILED at 157.
>1 out of 1 hunk FAILED -- saving rejects to file
>dbd-oracle/trunk/Oracle.xs.rej
>dobrin AT THEODOLITE:/c/temp/DBI/patched-DBDO1.15> diff
>./dbd-oracle/trunk/Oracle.xs.orig ./dbd-oracle/trunk/Oracle.xs
><no change>
>
>I've looked over the patch,  the offsets and patterns look fine.  I even
>changed the files to all access and ran the patch thru d2u,  but it still
>rejects all lines.
>I'd REALLY like to avoid cutting and pasting all the changes....  Does
>anyone have any suggestions ( I figure it's mightr be a control character
>thing, but I'd think patch usually deals well with that)


No, patch isn't broken.  Check your patch file for a mismatch of line 
endings (DOS vs UNIX or vice versa).  That's the only things I can think
of off the top of my head without more specifics.


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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

- Raw text -


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