From 08338cd87f7813aaf954a49b0ec54f2c2a874dc9 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 27 May 2005 20:31:59 +0000 Subject: [PATCH] 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.) --- NEWS | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index d94f243..6d82047 100644 --- 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. -- 2.7.4