diff options
author | Bernhard Voelker <mail@bernhard-voelker.de> | 2016-11-13 18:16:32 +0100 |
---|---|---|
committer | Bernhard Voelker <mail@bernhard-voelker.de> | 2016-11-13 18:16:32 +0100 |
commit | 40122a96dfa97c25c26abb3f47fa8d577cffa666 (patch) | |
tree | f7d617b13af82f8b02322fca484bcf3b5c946dce | |
parent | 22063c8c083d2d8130efb76482e45fa1976a595a (diff) | |
download | coreutils-40122a96dfa97c25c26abb3f47fa8d577cffa666.tar.xz |
maint: add 'returns_' to exclude list in sc_prohibit_and_fail_1
The previous commit v8.25-96-g22063c8 lets 'make syntax-check' fail,
because the above check falsely detects a case where 'returns_' is
already in use.
* cfg.mk (sc_prohibit_and_fail_1): Add 'returns_' to exclude list.
-rw-r--r-- | cfg.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -502,7 +502,7 @@ sc_prohibit_fail_0: # independently check its contents and thus detect any crash messages. sc_prohibit_and_fail_1: @prohibit='&& fail=1' \ - exclude='(stat|kill|test |EGREP|grep|compare|2> *[^/])' \ + exclude='(returns_|stat|kill|test |EGREP|grep|compare|2> *[^/])' \ halt='&& fail=1 detected. Please use: returns_ 1 ... || fail=1' \ in_vc_files='^tests/' \ $(_sc_search_regexp) |