Your message dated Thu, 15 Apr 2010 13:49:54 +0200 (CEST)
with message-id <alpine.deb.1.10.1004151347100.8...@cantor.unex.es>
has caused the report #577832,
regarding diffutils: [REGRESSION] newline is added to a line that has no
newline if the line is in context
to be marked as having been forwarded to the upstream software
author(s) bug-diffut...@gnu.org
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
577832: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577832
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Hello.
Received this from the Debian bug system today.
This bug is not present in diffutils 2.8.1.
---------- Forwarded message ----------
From: Timo Juhani Lindfors <timo.lindf...@iki.fi>
To: Debian Bug Tracking System <sub...@bugs.debian.org>
Date: Thu, 15 Apr 2010 02:37:35 +0300
Subject: Bug#577832: diffutils: [REGRESSION] newline is added to a line that
has no newline if the line is in context
Package: diffutils
Version: 1:2.9-2
Severity: important
Steps to reproduce:
1) echo -en '\nline1\nline2\nline3' > a
2) echo -en '\nnew line\n\nline1\nline2\nline3' > b
3) diff -u a b > c
4) patch -p0 -F0 < c
Expected results:
3) c contains
--- a 2010-04-15 02:30:51.000000000 +0300
+++ b 2010-04-15 02:30:51.000000000 +0300
@@ -1,4 +1,6 @@
+new line
+
line1
line2
line3
\ No newline at end of file
4) patch prints
patching file a
Actual results:
3) c contains
--- a 2010-04-14 23:31:49.000000000 +0000
+++ b 2010-04-14 23:31:49.000000000 +0000
@@ -1,4 +1,6 @@
+new line
+
line1
line2
line3
4) patch prints
patching file a
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file a.rej
[...]
--- End Message ---