This is the mail archive of the
mailing list for the Cygwin project.
RE: How to resolve hiccups by patch program?
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Markus Elfring'" <Markus dot Elfring at web dot de>, <bug-patch at gnu dot org>, <cygwin at cygwin dot com>
- Cc: "'Christopher R. Gabriel'" <cgabriel at softwarelibero dot org>, "'Paul Eggert'" <eggert at twinsun dot com>
- Date: Mon, 8 Jan 2007 12:19:18 -0000
- Subject: RE: How to resolve hiccups by patch program?
On 08 January 2007 10:58, Markus Elfring wrote:
> I published the file "const4.patch"
> I assume that I am not affected by wrong line endings as it was suggested
> for the topic 'Is "Patch" broken?'.
I think you are, since your patch has CRLF line ends. If you're using
Tortoise, it's probably auto-mangling the line-ends for you. It likes to be
"helpful" like that, but what you actually tend to end up with is a working
tree that isn't interoperable with cygwin.
Does running d2u over the rejected hunk fix your problem? Does generating
the patch by the commandline svn client under cygwin generate a patch in the
correct format for the patch utility under cygwin?
Can't think of a witty .sigline today....
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html