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:
b2d2351
)
add a FIXME comment
author
Jim Meyering
<jim@meyering.net>
Tue, 27 Sep 2005 09:40:39 +0000
(09:40 +0000)
committer
Jim Meyering
<jim@meyering.net>
Tue, 27 Sep 2005 09:40:39 +0000
(09:40 +0000)
Makefile.maint
patch
|
blob
|
history
diff --git
a/Makefile.maint
b/Makefile.maint
index
d67ce79
..
7c3e88f
100644
(file)
--- a/
Makefile.maint
+++ b/
Makefile.maint
@@
-99,6
+99,12
@@
syntax-check: $(syntax-check-rules)
# exit 1; } || :
# FIXME: don't allow `#include .strings\.h' anywhere
+# FIXME: add a check for this.
+# Nearly every lib/*.c file must include config.h, like this:
+# #ifdef HAVE_CONFIG_H
+# # include <config.h>
+# #endif
+
sc_cast_of_argument_to_free:
@grep -E '\<free \(\(' $(srcdir)/{lib,src}/*.[chly] && \
{ echo '$(ME): don'\''t cast free argument' 1>&2; \