Permalink
Browse files

maint: fix a masked syntax-check violation

* 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.
  • Loading branch information...
1 parent 6f6f599 commit f267926f2d3e51756a21b772b017f698c0a10f41 Jim Meyering committed Apr 6, 2010
Showing with 2 additions and 3 deletions.
  1. +0 −1 .x-sc_prohibit_magic_number_exit
  2. +2 −2 m4/jm-macros.m4
View
1 .x-sc_prohibit_magic_number_exit
@@ -1,3 +1,2 @@
configure.ac
-*.m4
ChangeLog*
View
4 m4/jm-macros.m4
@@ -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.])

0 comments on commit f267926

Please sign in to comment.