The 'expr' command now detects and reports integer overflow.

This commit is contained in:
Paul Eggert committed 2006-06-07 05:52:41 +00:00
1 parent dea306fe78
commit 8863262663
1 file changed
+9 -1
+9 -1
View File
@@ -1,7 +1,15 @@
2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
2006-06-06 Paul Eggert <eggert@cs.ucla.edu>
* Version 6.0-cvs.
* NEWS: The 'expr' command now detects and reports integer overflow.
(It would be better to use extended precision instead, but that
would be more work.)
* src/expr.c (integer_overflow): New function.
(eval4, eval3): Check for integer overflow.
2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
Fix problems when building with Solaris/SVR4/etc. make, which uses a
different and somewhat bogus implementation of VPATH. In the
directory tests/misc, rename tests whose names might appear in the