From: Jim Meyering Date: Thu, 1 May 2008 19:12:30 +0000 (+0200) Subject: useless-if-before-free: correct --help's exit status description X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7edfb3bd495f57dfade16aa90b759ea1044a4aac;p=pspp 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. --- diff --git a/ChangeLog b/ChangeLog index b39f3b0f6e..52cc0f928b 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 4603c6c601..48f55c661a 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: