* Makefile.maint (sc_prohibit_strcmp): Relax regexp.
Tue Apr 29 15:20:12 CEST 2008 Jim Meyering <meyering@redhat.com>
+ Recognize more uses of strcmp.
+ * Makefile.maint (sc_prohibit_strcmp): Relax regexp.
+
Avoid "make syntax-check" failures.
* src/memory.c: Include "config.h".
Remove trailing blanks.
# Use STREQ rather than comparing strcmp == 0, or != 0.
sc_prohibit_strcmp:
- @grep -nE '! *str''cmp \(|\<str''cmp \([^)]+\) *==' \
+ @grep -nE '! *str''cmp *\(|\<str''cmp *\([^)]+\) *==' \
$$($(VC_LIST_EXCEPT)) && \
{ echo '$(ME): use STREQ in place of the above uses of str''cmp' \
1>&2; exit 1; } || :