From: Jim Meyering Date: Sun, 22 Feb 2004 14:56:39 +0000 (+0000) Subject: . X-Git-Tag: v5.2.1~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c8d1ad4f03a797ca48c784cb2f6d4f0fe770e73;p=thirdparty%2Fcoreutils.git . --- diff --git a/ChangeLog b/ChangeLog index c69872b235..5f0c8ad91e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,32 @@ 2004-02-21 Jim Meyering + * 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 + + 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 * Version 5.2.0.