summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.x-sc_prohibit_atoi_atof5
-rw-r--r--maint.mk2
2 files changed, 1 insertions, 6 deletions
diff --git a/.x-sc_prohibit_atoi_atof b/.x-sc_prohibit_atoi_atof
index 5aa76c118..f66450ef3 100644
--- a/.x-sc_prohibit_atoi_atof
+++ b/.x-sc_prohibit_atoi_atof
@@ -1,6 +1 @@
-ChangeLog
-^TODO$
^lib/euidaccess-stat\.c$
-^maint\.mk$
-^doc/coreutils.texi$
-^tests/misc/stty-invalid$
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)