delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/10/16:46:55

X-Spam-Check-By: sourceware.org
Message-ID: <45A55E97.8050600@web.de>
Date: Wed, 10 Jan 2007 22:45:59 +0100
From: Markus Elfring <Markus DOT Elfring AT web DOT de>
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
MIME-Version: 1.0
To: Dave Korn <dave DOT korn AT artimi DOT com>
CC: bug-patch AT gnu DOT org, cygwin AT cygwin DOT com,
"'Christopher R. Gabriel'" <cgabriel AT softwarelibero DOT org>,
"'Paul Eggert'" <eggert AT twinsun DOT com>
Subject: Re: How to resolve hiccups by patch program?
References: <023e01c7331f$38720df0$a501a8c0 AT CAM DOT ARTIMI DOT COM>
In-Reply-To: <023e01c7331f$38720df0$a501a8c0@CAM.ARTIMI.COM>
X-Sender: Markus DOT Elfring AT web DOT de
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

> Does running d2u over the rejected hunk fix your problem?

No luck on my system ...

$ uname -a
CYGWIN_NT-5.1 sonne 1.5.23(0.156/4/2) 2006-12-19 10:52 i686 Cygwin

$ cd /cygdrive/e/Projekte/Asterisk/Probe
$ d2u -U app_db.c const4.patch.part010
app_db.c: done.
const4.patch.part010: done.

$ patch -l -r test8160.rej app_db.c const4.patch.part010
patching file app_db.c
Hunk #1 FAILED at 49.
1 out of 1 hunk FAILED -- saving rejects to file test8160.rej


> Does generating the patch by the commandline svn client under cygwin generate
> a patch in the correct format for the patch utility under cygwin?

$ cd /cygdrive/e/Projekte/Asterisk/8160/
$ svn --version
svn, version 1.4.2 (r22196)
   compiled Dec  2 2006, 14:28:55
[...]
$ svn update
Fetching external item into 'menuselect'

Fetching external item into 'menuselect/mxml'
External at revision 17.

At revision 100.
At revision 50443.

$ svn diff apps/app_db.c > ../Probe/try_const.diff
$ cd ../Probe/
$ patch -r test8160b.rej app_db.c try_const.diff
patching file app_db.c
Hunk #1 FAILED at 49.
1 out of 1 hunk FAILED -- saving rejects to file test8160b.rej


Which next steps do you imagine now?

Regards,
Markus

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