useless-if-before-free: Fix reversed exit values.
authorJim Meyering <meyering@redhat.com>
Mon, 11 Feb 2008 08:10:21 +0000 (09:10 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 11 Feb 2008 08:10:21 +0000 (09:10 +0100)
* build-aux/useless-if-before-free: Use correct values
for EXIT_MATCH and EXIT_NO_MATCH.

ChangeLog
build-aux/useless-if-before-free

index b6209a4..f57750e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-02-11  Jim Meyering  <meyering@redhat.com>
 
+       useless-if-before-free: Fix reversed exit values.
+       * build-aux/useless-if-before-free: Use correct values
+       for EXIT_MATCH and EXIT_NO_MATCH.
+
        * build-aux/useless-if-before-free: Close stdout carefully.
 
 2008-02-10  Bruno Haible  <bruno@clisp.org>
index a50db66..eb18483 100755 (executable)
@@ -2,7 +2,7 @@
 # Detect instances of "if (p) free (p);".
 # Likewise for "if (p != NULL) free (p);".  And with braces.
 
-my $VERSION = '2008-02-11 07:32'; # UTC
+my $VERSION = '2008-02-11 08:08'; # 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
@@ -85,8 +85,8 @@ EOF
 }
 
 {
-  sub EXIT_NO_MATCH {0}
-  sub EXIT_MATCH {1}
+  sub EXIT_MATCH {0}
+  sub EXIT_NO_MATCH {1}
   sub EXIT_ERROR {2}
   my $err = EXIT_NO_MATCH;