Jilles Tjoelker
aac5464b61
sh: Restore $((x)) error checking after fix for $((-9223372036854775808))
...
SVN r342880 was designed to fix $((-9223372036854775808)) and things like
$((0x8000000000000000)) but also broke error detection for values of
variables without dollar sign ($((x))).
For compatibility, overflow in plain literals continues to be ignored and
the value is clamped to the boundary (except 9223372036854775808 which is
changed to -9223372036854775808).
Reviewed by: se (although he would like error checking to be removed)
MFC after: 2 weeks
X-MFC-with: r342880
Differential Revision: https://reviews.freebsd.org/D18926
2019-02-10 22:23:05 +00:00
..
2017-11-20 19:49:47 +00:00
2017-02-28 23:42:47 +00:00
2019-02-10 22:23:05 +00:00
2017-04-16 22:10:02 +00:00
2017-02-28 23:42:47 +00:00
2019-02-10 22:23:05 +00:00
2019-02-10 22:23:05 +00:00
2019-02-10 22:23:05 +00:00
2017-03-18 20:41:07 +00:00
2017-06-04 21:02:48 +00:00
2018-07-15 21:55:17 +00:00
2017-02-28 23:42:47 +00:00
2019-01-24 23:34:51 +00:00
2019-01-25 17:09:26 +00:00
2018-11-09 14:58:24 +00:00
2018-11-09 14:58:24 +00:00
2018-11-09 14:58:24 +00:00
2017-02-28 23:42:47 +00:00
2018-11-09 14:58:24 +00:00
2018-10-27 20:17:57 +00:00
2018-11-28 20:03:53 +00:00
2017-02-28 23:42:47 +00:00
2019-01-20 14:25:25 +00:00
2018-11-27 21:49:59 +00:00
2017-02-28 23:42:47 +00:00
2018-11-09 14:58:24 +00:00
2018-01-01 22:31:52 +00:00
2018-07-15 09:14:30 +00:00
2017-11-20 19:49:47 +00:00
2018-11-09 14:58:24 +00:00
2017-11-20 19:49:47 +00:00
2019-01-24 23:34:51 +00:00
2017-10-31 00:07:04 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2018-02-06 15:41:35 +00:00
2017-11-20 19:49:47 +00:00
2018-05-21 21:52:48 +00:00
2018-02-06 15:41:35 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2019-01-24 11:59:46 +00:00
2017-11-20 19:49:47 +00:00
2019-01-20 22:08:49 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2019-01-24 11:59:46 +00:00
2019-02-10 22:23:05 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2018-11-09 14:58:24 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2019-01-03 20:22:35 +00:00
2017-11-20 19:49:47 +00:00