This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is "Patch" broken?

At 05:20 PM 4/8/2004, you wrote:
> 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
>dobrin@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
>dobrin@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                    
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]