GNU bug report logs -
#18236
diff-apply-hunk interacts poorly with line endings
Previous Next
Full log
Message #17 received at 18236 <at> debbugs.gnu.org (full text, mbox):
> Date: Wed, 17 Feb 2016 19:59:02 +0000
> From: Reuben Thomas <rrt <at> sc3d.org>
> Cc: Marcin Borkowski <mbork <at> mbork.pl>, 18236 <at> debbugs.gnu.org
>
> Is the recipe
>
> complete?
>
> Seems so.
>
>
> Also, does this happen on a Posix host or on a Windows box?
>
>
> On a GNU/Linux system.
>
>
> If the former, I won't expect each line in the patch file to end with
> a ^M, only the lines that came from the files being diffed.
>
>
> Sorry, I was imprecise. You're quite right, only the lines that come from the files being diffed end in ^M.
>
> However, the original problem remains, as stated: after applying the patch hunk, the patched lines of the
> resultant file "bar" end \r\r\n.
Doesn't happen on Windows. I will try on GNU/Linux and see what I
find there.
This bug report was last modified 9 years and 9 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.