projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4dab6d
)
add comments
author
Jim Meyering
<jim@meyering.net>
Tue, 30 Mar 2004 15:12:44 +0000
(15:12 +0000)
committer
Jim Meyering
<jim@meyering.net>
Tue, 30 Mar 2004 15:12:44 +0000
(15:12 +0000)
Makefile.maint
patch
|
blob
|
history
diff --git
a/Makefile.maint
b/Makefile.maint
index
77b5160
..
08f9cb8
100644
(file)
--- a/
Makefile.maint
+++ b/
Makefile.maint
@@
-126,6
+126,9
@@
sc_space_tab:
{ echo '$(ME): found SPACE-TAB sequence; remove the SPACE' \
1>&2; exit 1; } || :
+# Don't use atoi, atof, or atol in `real' code.
+# They provide no error checking mechanism.
+# Instead, use strto* functions.
sc_prohibit_atoi_atof:
@( cvsu --list ) > /dev/null 2>&1 || : && \
grep '\<ato[fil]\>' \