Re: Info for the item "does patch.exe work different than other unx patch tools?" (i.e. "hunk 1 out of 3 hunks failed")

2012-11-08 Thread Earnie Boyd
On Thu, Nov 8, 2012 at 10:15 AM, Thomas Höhenleitner wrote: Please do not top post. > Thanks a lot, Earnie, > > for your answer. I do not know whitch patch command line switch do you > mean. With -l I had already tried. I should have said diff instead of patch. --strip-trailing-cr -- Earnie -

RE: Info for the item "does patch.exe work different than other unx patch tools?" (i.e. "hunk 1 out of 3 hunks failed")

2012-11-08 Thread Adam Dinwoodie
Thomas Höhenleitner wrote: > >2012/11/8 Thomas Höhenleitner >: >> >> 2012/11/8 Ryan Johnson >: >> Per , please don't include raw email addresses in your replies. This mailing list is archived online, and we'd rather not feed the spammers. See also http://cygwin.c

Re: Info for the item "does patch.exe work different than other unx patch tools?" (i.e. "hunk 1 out of 3 hunks failed")

2012-11-08 Thread Thomas Höhenleitner
May be because of the attatched file the mail before is not delivered.. Here is a temporary link to the attached file: https://www.dropbox.com/s/7etntr4jukp9t5l/ExamplePatch.zip 2012/11/8 Thomas Höhenleitner : > Hello Ryan, > > first I appologize for the wrong hunks-failed info. I did not remebe

Re: Info for the item "does patch.exe work different than other unx patch tools?" (i.e. "hunk 1 out of 3 hunks failed")

2012-11-08 Thread Thomas Höhenleitner
Thanks a lot, Earnie, for your answer. I do not know whitch patch command line switch do you mean. With -l I had already tried. In my answer to Ryan follows an example, I created. Bes regards, Thomas 2012/11/8 Earnie Boyd : > On Thu, Nov 8, 2012 at 5:30 AM, Thomas Höhenleitner wrote: > >> >> So

Re: Info for the item "does patch.exe work different than other unx patch tools?" (i.e. "hunk 1 out of 3 hunks failed")

2012-11-08 Thread Ryan Johnson
On 08/11/2012 5:30 AM, Thomas Höhenleitner wrote: Hello, using Cygwin patch.exe in a batch file I ran into the problem that patch failed for some reason ("hunk 1 out of 3 hunks failed"): Investigating this issue I found that inserting "unix2dos my.patch" before applying the patch was my friend!

Re: Info for the item "does patch.exe work different than other unx patch tools?" (i.e. "hunk 1 out of 3 hunks failed")

2012-11-08 Thread Earnie Boyd
On Thu, Nov 8, 2012 at 5:30 AM, Thomas Höhenleitner wrote: > > So now I had a closer look to the diff generated my.patch file and I > found out, that the file had somehow hybrid line endings: > * the header with the file names was unix-like > * the body with the diff info was dos-like > > The reas

Info for the item "does patch.exe work different than other unx patch tools?" (i.e. "hunk 1 out of 3 hunks failed")

2012-11-08 Thread Thomas Höhenleitner
Hello, using Cygwin patch.exe in a batch file I ran into the problem that patch failed for some reason ("hunk 1 out of 3 hunks failed"): Investigating this issue I found that inserting "unix2dos my.patch" before applying the patch was my friend! Being paranoid I tried "dos2unix my.patch" before