diff options
author | Jim Meyering <jim@meyering.net> | 2004-02-22 14:56:39 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-02-22 14:56:39 +0000 |
commit | 5c8d1ad4f03a797ca48c784cb2f6d4f0fe770e73 (patch) | |
tree | b9d8d41d1e0c44f4c4f715e5a2fce1dc6b0091d3 | |
parent | a937eaac84b33c2319bfc60cf48e1137105bc894 (diff) | |
download | coreutils-5c8d1ad4f03a797ca48c784cb2f6d4f0fe770e73.tar.xz |
.
-rw-r--r-- | ChangeLog | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -1,9 +1,32 @@ 2004-02-21 Jim Meyering <jim@meyering.net> + * Version 5.2.1. + * src/comm.c (usage): Tell what comm does when there are no options. Reword in terms of FILE1 and FILE2 rather than `left file' and `right file'. Suggestion from Dan Jacobson. +2004-02-15 Paul Eggert <eggert@twinsun.com> + + Fix some POSIX-conformance bugs in expr. + + * NEWS: document the following changes to src/expr.c. + * doc/coreutils.texi (expr invocation): Likewise. + Document what forms integers may take, and say "integer" + consistently instead of "number". Warn about operands + that "expr" can misinterpret, and how to work around the + problem. + * src/expr.c (eval, eval7, eval6, eval5, eval4, eval3, eval2, eval1): + Accept a bool argument specifying whether to evaluate the + expression. This is to allow short-circuit evaluation. All + callers changed. + (null): Report that a string is zero even if it has + a form like "-0" or "00". + (eval1, eval): Use short-circuit evaluation for | and &. + (eval): Return 0 if both arguments are null or zero, instead + of returning the first argument. + * tests/expr/basic: Add some tests for the above. + 2004-02-17 Jim Meyering <jim@meyering.net> * Version 5.2.0. |