[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
New release of GNU diffutils?
From: |
Ed Avis |
Subject: |
New release of GNU diffutils? |
Date: |
Thu, 16 Apr 2009 13:55:01 +0100 |
I found what I believe to be a bug in diff, where even with the -w, -B and -b
options set it still reports a difference for a change that adds a blank line,
if the file uses DOS style line endings. To reproduce, unpack the attached
tarball and 'diff -wBbu a b'. The expected result is no output (since the
files differ only in adding a line which contains just \r, which is whitespace,
which is ignored) but diff 2.8.1 reports a difference.
The test release diffutils-2.8.7 fixes this, I think because of this change
made on 2002-06-11:
(analyze_hunk): If -b or -w is also specified, -B now considers
lines to be empty if they contain only white space.
Will you consider making a new official release of GNU diffutils with this
change?
--
Ed Avis <address@hidden>
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
example.tar.gz
Description: example.tar.gz
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- New release of GNU diffutils?,
Ed Avis <=