]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: fix a masked syntax-check violation
authorJim Meyering <meyering@redhat.com>
Tue, 6 Apr 2010 14:01:32 +0000 (16:01 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 6 Apr 2010 14:02:27 +0000 (16:02 +0200)
* m4/jm-macros.m4 (ARGMATCH_DIE): Use usage(EXIT_FAILURE), not usage(1).
* .x-sc_prohibit_magic_number_exit: Remove *.m4 exemption that was
masking the above.

.x-sc_prohibit_magic_number_exit
m4/jm-macros.m4

index 0067bc8c5f1e65c6757e470348fd32d7be955fc4..ffeb5acb2165da26529124be239669068439eaca 100644 (file)
@@ -1,3 +1,2 @@
 configure.ac
-*.m4
 ChangeLog*
index d4e20f9c1f2aa7ebc4bd5a2ea8840f60f8f16b6d..62777c7dfc2ec6a85968c27c002fc10ee03d6c65 100644 (file)
@@ -35,8 +35,8 @@ AC_DEFUN([coreutils_MACROS],
 
   AC_REQUIRE([AC_FUNC_FSEEKO])
 
-  # By default, argmatch should fail calling usage (1).
-  AC_DEFINE([ARGMATCH_DIE], [usage (1)],
+  # By default, argmatch should fail calling usage (EXIT_FAILURE).
+  AC_DEFINE([ARGMATCH_DIE], [usage (EXIT_FAILURE)],
             [Define to the function xargmatch calls on failures.])
   AC_DEFINE([ARGMATCH_DIE_DECL], [void usage (int _e)],
             [Define to the declaration of the xargmatch failure function.])