]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
expr and test now correctly compare integers of unlimited size.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 May 2005 20:31:59 +0000 (20:31 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 May 2005 20:31:59 +0000 (20:31 +0000)
(Also, correct a comment that claimed that expr detects integer
overflow; it does so only when converting from strings.)

NEWS

diff --git a/NEWS b/NEWS
index d94f24346e4c7d0cd4719e155b6231a0f54e4cfd..6d82047ae1df0d098e8366f32228ce622ae06899 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -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.