diff options
author | Jim Meyering <jim@meyering.net> | 2007-06-23 10:11:25 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-06-23 10:11:25 +0200 |
commit | 519d7a95a3f8103925aa84f9bdef326ce88d37cc (patch) | |
tree | c4a82988e9651e115fa1c2cccc6227cb136de4fa /ChangeLog | |
parent | a0304574e96916f0444b04f301f8e5191615f800 (diff) | |
download | coreutils-519d7a95a3f8103925aa84f9bdef326ce88d37cc.tar.xz |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +2007-06-23 Jim Meyering <jim@meyering.net> + + 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. + 2007-06-22 Paul Eggert <eggert@cs.ucla.edu> * NEWS: seq no longer mishandles obvious cases like |