Prefer "STREQ (a, b)" over "strcmp (a, b) == 0"; similar for != 0.
authorJim Meyering <jim@meyering.net>
Sat, 23 Jun 2007 08:11:25 +0000 (10:11 +0200)
committerJim Meyering <jim@meyering.net>
Sat, 23 Jun 2007 08:11:25 +0000 (10:11 +0200)
commit519d7a95a3f8103925aa84f9bdef326ce88d37cc
treec4a82988e9651e115fa1c2cccc6227cb136de4fa
parenta0304574e96916f0444b04f301f8e5191615f800
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 [new file with mode: 0644]
ChangeLog
Makefile.am
Makefile.maint
src/base64.c
src/install.c
src/sort.c