summaryrefslogtreecommitdiff
path: root/build-aux/useless-if-before-free
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-02-11 09:10:21 +0100
committerJim Meyering <meyering@redhat.com>2008-02-11 09:10:21 +0100
commit82a3a02cf11fae8bad1477b858fd970548a8b94c (patch)
treea5650fe10ecaeac857764867fed4490fbedceaef /build-aux/useless-if-before-free
parent57edc5b234e0bad585bb16efa01cbad309741e38 (diff)
downloadgnulib-82a3a02cf11fae8bad1477b858fd970548a8b94c.tar.gz
useless-if-before-free: Fix reversed exit values.
* build-aux/useless-if-before-free: Use correct values for EXIT_MATCH and EXIT_NO_MATCH.
Diffstat (limited to 'build-aux/useless-if-before-free')
-rwxr-xr-xbuild-aux/useless-if-before-free6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-aux/useless-if-before-free b/build-aux/useless-if-before-free
index a50db667b0..eb18483789 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-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;