expr and test now correctly compare integers of unlimited size.

(Also, correct a comment that claimed that expr detects integer
overflow; it does so only when converting from strings.)
This commit is contained in:
Paul Eggert
2005-05-27 20:31:59 +00:00
parent 3a662c37cd
commit 08338cd87f
+3 -4
View File
@@ -107,7 +107,9 @@ GNU coreutils NEWS -*- outline -*-
time-of-day is changed while dd is running. Also, it avoids
using unsafe code in signal handlers; this fixes some core dumps.
expr now detects integer overflow when evaluating large integers,
expr and test now correctly compare integers of unlimited magnitude.
expr now detects integer overflow when converting strings to integers,
rather than silently wrapping around.
ls now refuses to generate time stamps containing more than 1000 bytes, to
@@ -118,9 +120,6 @@ GNU coreutils NEWS -*- outline -*-
"pr -D FORMAT" now accepts the same formats that "date +FORMAT" does.
test now detects integer overflow when evaluating large integers,
rather than silently wrapping around.
** Improved portability
nice now works on Darwin 7.7.0 in spite of its invalid definition of NZERO.