Mercurial > hg > octave-lyh > gnulib-hg
changeset 10030:64792faf3cbe
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.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Thu, 01 May 2008 21:12:30 +0200 |
parents | 8f3d95672dd7 |
children | 20ec438bdeb8 |
files | ChangeLog build-aux/useless-if-before-free |
diffstat | 2 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-05-01 Jim Meyering <meyering@redhat.com> + 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.
--- 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 @@ Exit status: - 0 no match - 1 one or more matches + 0 one or more matches + 1 no match 2 an error EXAMPLE: