newsGNU 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:

Thanks to everyone who has been contributing, helping to manage
the mailing list and reporting bugs.

For a summary of changes and contributors, see:;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:   (1.8MB)   (1000KB)

Here are the GPG detached signatures[*]:

To reduce load on the main server, use a mirror listed at:

[*] 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 --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


* 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".

Back to the top

Powered by Savane 3.13-3cd0.
Corresponding source code