GNU diff utilities - News
diffutils-3.0 released [stable]
Item posted by Jim Meyering <meyering> on Mon 03 May 2010 05:35:10 PM UTC.
This is to announce diffutils-3.0, a stable release, with only three
items in NEWS and 30 change-sets (most build/test/maintenance-related).
There have been hundreds of improvements in gnulib, but that should
have little effect on diffutils, unless your system is old or unusual.
Here's the diffutils home page:
http://www.gnu.org/software/diffutils/
Thanks to everyone who has been contributing, helping to manage
the mailing list and reporting bugs.
For a summary of changes and contributors, see:
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=shortlog;h=v3.0
or run this command from a git-cloned coreutils directory:
git shortlog v2.9..v3.0
To summarize the many gnulib-related changes, run these commands
from a git-cloned coreutils directory:
git checkout v3.0
git submodule summary v2.9
Here are the compressed sources:
http://ftp.gnu.org/gnu/diffutils/diffutils-3.0.tar.gz (1.8MB)
http://ftp.gnu.org/gnu/diffutils/diffutils-3.0.tar.xz (1000KB)
Here are the GPG detached signatures[*]:
http://ftp.gnu.org/gnu/diffutils/diffutils-3.0.tar.gz.sig
http://ftp.gnu.org/gnu/diffutils/diffutils-3.0.tar.xz.sig
To reduce load on the main server, use a mirror listed at:
http://www.gnu.org/order/ftp.html
[*] You can use either of the above signature files to verify that
the corresponding file (without the .sig suffix) is intact. First,
be sure to download both the .sig file and the corresponding tarball.
Then, run a command like this:
gpg --verify diffutils-3.0.tar.gz.sig
If that command fails because you don't have the required public key,
then run this command to import it:
gpg --keyserver keys.gnupg.net --recv-keys B9AB9A16
and rerun the `gpg --verify' command.
This release was bootstrapped with the following tools:
Autoconf 2.65.57-45695
Automake 1.11a
Gnulib v0.0-3881-gd3d059c
./NEWS
* Noteworthy changes in release 3.0 (2010-05-03) [stable]
** Bug fixes
diff once again prints the required "\ No newline at end of file" line
when at least one input lacks a newline-at-EOF and the final hunk plus
context-length aligns exactly with the end of the newline-lacking file.
[bug introduced between 2.8.7 and 2.9]
** Changes in behavior
In context-style diffs, diff prints a portion of a preceding "function"
line for each hunk, with --show-function-line=RE (-F) or
--show-c-function (-p). Now, it trims leading blanks from such lines
before extracting a prefix. This is useful especially when a function
line is so far indented that the name itself would be truncated or not
included in the limited-width substring that diff appends.
diff once again reports a difference with the diagnostic
"Binary files A and B differ" when at least one of the files
appears to be binary. From 2.8.4 through diffutils-2.9, it printed
"Files A and B differ".
Powered by Savane 3.14-8aba.
Corresponding source code