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:
3d56cf5
)
(sc_cast_of_x_alloc_return_value): Also check for alloca casts.
author
Jim Meyering
<jim@meyering.net>
Sun, 28 Sep 2003 08:25:24 +0000
(08:25 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 28 Sep 2003 08:25:24 +0000
(08:25 +0000)
Makefile.maint
patch
|
blob
|
history
diff --git
a/Makefile.maint
b/Makefile.maint
index 904384969731d0f281c7c0e5fad416e135e709d8..a814aec64fa711739007f11282baf67451da10bc 100644
(file)
--- a/
Makefile.maint
+++ b/
Makefile.maint
@@
-107,7
+107,8
@@
sc_cast_of_argument_to_free:
sc_cast_of_x_alloc_return_value:
@grep -E --exclude=$(srcdir)/lib/regex.c \
- '\*\) *x(m|c|re)alloc\>' $(srcdir)/{lib,src}/*.[chy] && \
+ '\*\) *(alloca|x(m|c|re)alloc)\>' \
+ $(srcdir)/{lib,src}/*.[chy] && \
{ echo '$(ME): don'\''t cast x*alloc return value' 1>&2; \
exit 1; } || :