mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(syntax-check): Check for `error (EXIT_SUCCESS,'.
This commit is contained in:
1 parent
f6d13ddf6d
commit
cc43b4e784
1 file changed
+4
@@ -73,6 +73,10 @@ syntax-check:
|
||||
'\*\) *x(m|c|re)alloc\>' $(srcdir)/{lib,src}/*.[chy] && \
|
||||
{ echo 'Makefile.maint: don'\''t cast x*alloc return value' 1>&2; \
|
||||
exit 1; } || :
|
||||
@grep -F 'error (EXIT_SUCCESS,' \
|
||||
$(find -name '*.[chly]') && \
|
||||
{ echo 'Makefile.maint: found error (EXIT_SUCCESS' 1>&2; \
|
||||
exit 1; } || :
|
||||
|
||||
# grep -E '^# *include <(string|stdlib)\.h>' \
|
||||
# $(srcdir)/{lib,src}/*.[chy] && \
|
||||
|
||||
Reference in new issue
Block a user