diff options
author | Jim Meyering <jim@meyering.net> | 2003-05-10 14:53:47 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-05-10 14:53:47 +0000 |
commit | cc43b4e7849aad1c078a962d7ad51aa46a6d8fdb (patch) | |
tree | f39c703f3fad41e59b756698aabeaa618ab2c038 | |
parent | f6d13ddf6d59948509bd269ce7716e3ccae53cd2 (diff) | |
download | coreutils-cc43b4e7849aad1c078a962d7ad51aa46a6d8fdb.tar.xz |
(syntax-check): Check for `error (EXIT_SUCCESS,'.
-rw-r--r-- | Makefile.maint | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.maint b/Makefile.maint index 45c7c0d99..623699b66 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -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] && \ |