maint: tighten atoi/atof-prohibiting regexp, clean up .x-sc- file
authorJim Meyering <meyering@redhat.com>
Mon, 2 Feb 2009 08:37:08 +0000 (09:37 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 2 Feb 2009 08:37:48 +0000 (09:37 +0100)
* maint.mk (sc_prohibit_atoi_atof): Require "(" after token.
* .x-sc_prohibit_atoi_atof: Remove names that no longer contain a match.

.x-sc_prohibit_atoi_atof
maint.mk

index 5aa76c1..f66450e 100644 (file)
@@ -1,6 +1 @@
-ChangeLog
-^TODO$
 ^lib/euidaccess-stat\.c$
-^maint\.mk$
-^doc/coreutils.texi$
-^tests/misc/stty-invalid$
index 5271c25..72b986c 100644 (file)
--- a/maint.mk
+++ b/maint.mk
@@ -138,7 +138,7 @@ sc_space_tab:
 # They provide no error checking mechanism.
 # Instead, use strto* functions.
 sc_prohibit_atoi_atof:
-       @re='\<([fs]?scanf|ato([filq]|ll))\>'                           \
+       @re='\<([fs]?scanf|ato([filq]|ll)) *\('                         \
        msg='do not use *scan''f, ato''f, ato''i, ato''l, ato''ll or ato''q' \
          $(_prohibit_regexp)