]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
.
authorJim Meyering <jim@meyering.net>
Sun, 22 Feb 2004 14:56:39 +0000 (14:56 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 22 Feb 2004 14:56:39 +0000 (14:56 +0000)
ChangeLog

index c69872b2353efe913757b4d22ecfc9813ac3ee61..5f0c8ad91ebf278d8d799c40fe5356dc54bc60aa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.