GNU bug report logs - #28796
diff 3.6 still reports a diff on identical lines

Previous Next

Package: diffutils;

Reported by: Vincent Lefevre <vincent <at> vinc17.net>

Date: Thu, 12 Oct 2017 12:53:01 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vincent Lefevre <vincent <at> vinc17.net>
To: bug-diffutils <at> gnu.org
Subject: diff 3.6 still reports a diff on identical lines
Date: Thu, 12 Oct 2017 14:51:53 +0200
[Message part 1 (text/plain, inline)]
On some pair of files, "diff" reports a diff on identical lines.

I reported

  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=16848

against diff 3.3 a few years ago, but diff 3.6 (under Debian/unstable,
x86_64) has a similar problem. See the attached archive.

"out.diff", generated with "diff -u out1 out2", has at line 12622:

@@ -241913,9 +241895,9 @@
 3
 4
 5
-L: 409
-L: 409
-2
+L: 361
+L: 361
+2
 1
 2
 4

And if I run "diff -u -I L out1 out2", I also get the above chunk,
while it shouldn't appear.

-- 
Vincent Lefèvre <vincent <at> vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
[bug.tar.xz (application/octet-stream, attachment)]

This bug report was last modified 7 years and 235 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.