From 519d7a95a3f8103925aa84f9bdef326ce88d37cc Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 23 Jun 2007 10:11:25 +0200 Subject: Prefer "STREQ (a, b)" over "strcmp (a, b) == 0"; similar for != 0. * src/base64.c (main): Likewise. * src/install.c (setdefaultfilecon): Likewise. * src/sort.c (main): Likewise. * Makefile.maint (sc_prohibit_strcmp): New rule. * .x-sc_prohibit_strcmp: New file, to list the few exceptions. * Makefile.am (EXTRA_DIST): Add .x-sc_prohibit_strcmp. --- .x-sc_prohibit_strcmp | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .x-sc_prohibit_strcmp (limited to '.x-sc_prohibit_strcmp') diff --git a/.x-sc_prohibit_strcmp b/.x-sc_prohibit_strcmp new file mode 100644 index 000000000..fdceaf00b --- /dev/null +++ b/.x-sc_prohibit_strcmp @@ -0,0 +1,2 @@ +^src/system\.h +ChangeLog -- cgit v1.2.3-70-g09d2