summaryrefslogtreecommitdiff
path: root/maint.mk
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-02-02 09:37:08 +0100
committerJim Meyering <meyering@redhat.com>2009-02-02 09:37:48 +0100
commitc55c0e736926178d317027fb8c938c266d7b0ea3 (patch)
tree53d791384a6b6181a9e1fd673fecc82500dd47fd /maint.mk
parente3e9713fad1cdd2ffc6334c180181cae3ae25df2 (diff)
downloadcoreutils-c55c0e736926178d317027fb8c938c266d7b0ea3.tar.xz
maint: tighten atoi/atof-prohibiting regexp, clean up .x-sc- file
* maint.mk (sc_prohibit_atoi_atof): Require "(" after token. * .x-sc_prohibit_atoi_atof: Remove names that no longer contain a match.
Diffstat (limited to 'maint.mk')
-rw-r--r--maint.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/maint.mk b/maint.mk
index 5271c25f1..72b986c3f 100644
--- 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)