From 7edfb3bd495f57dfade16aa90b759ea1044a4aac Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 1 May 2008 21:12:30 +0200 Subject: [PATCH] useless-if-before-free: correct --help's exit status description * build-aux/useless-if-before-free (usage): Like grep, exit 0 for one or more matches, etc. Reported by Bruno Haible. --- ChangeLog | 4 ++++ build-aux/useless-if-before-free | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b39f3b0f6..52cc0f928 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-05-01 Jim Meyering + useless-if-before-free: correct --help's exit status description + * build-aux/useless-if-before-free (usage): Like grep, exit 0 + for one or more matches, etc. Reported by Bruno Haible. + vc-list-files: make the stand-alone gnulib test work * modules/vc-list-files-tests (configure.ac): Define and AC_SUBST abs_aux_dir. diff --git a/build-aux/useless-if-before-free b/build-aux/useless-if-before-free index 4603c6c60..48f55c661 100755 --- a/build-aux/useless-if-before-free +++ b/build-aux/useless-if-before-free @@ -2,7 +2,7 @@ # Detect instances of "if (p) free (p);". # Likewise for "if (p != NULL) free (p);". And with braces. -my $VERSION = '2008-04-29 19:56'; # UTC +my $VERSION = '2008-05-01 19:11'; # UTC # The definition above must lie within the first 8 lines in order # for the Emacs time-stamp write hook (at end) to update it. # If you change this file with Emacs, please let the write hook @@ -68,8 +68,8 @@ OPTIONS: Exit status: - 0 no match - 1 one or more matches + 0 one or more matches + 1 no match 2 an error EXAMPLE: -- 2.11.0