1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-10 14:13:31 +02:00
This commit is contained in:
Jim Meyering
2004-02-22 14:56:39 +00:00
parent a937eaac84
commit 5c8d1ad4f0

View File

@@ -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.