jilles 26dad09e50 MFC r267265: truncate: Detect integer overflow, fix relative sizes, add tests.
The change to expand_number (r204654) broke detection of too large sizes and
relative sizes ('+'/'-').

Also add some tests.

The usr.bin/truncate/Makefile is slightly different in the MFC because
src.opts.mk does not exist in stable/10.

PR:		190735
Submitted by:	Kirk Russell
2014-12-07 22:30:54 +00:00
..
2014-08-31 21:18:23 +00:00
2014-10-09 23:47:07 +00:00
2014-06-08 17:50:07 +00:00
2014-06-08 17:50:07 +00:00
2014-09-03 23:18:13 +00:00
2014-10-02 18:05:00 +00:00
2014-03-30 15:29:54 +00:00
2014-11-09 20:08:43 +00:00
2014-08-31 21:55:08 +00:00
2013-11-14 09:14:33 +00:00
2013-10-12 06:08:18 +00:00
2013-10-12 06:08:18 +00:00
2013-06-15 20:29:07 +00:00
2012-01-07 16:10:32 +00:00
2013-10-12 06:08:18 +00:00
2014-11-05 04:25:23 +00:00
2014-10-09 23:28:04 +00:00
2014-06-05 15:21:25 +00:00
2013-12-27 23:09:40 +00:00
2012-12-10 20:52:52 +00:00
2013-05-10 13:57:44 +00:00
2012-07-13 06:46:09 +00:00
2014-11-02 22:41:55 +00:00
rpc
2012-03-26 11:48:47 +00:00
2014-01-10 17:56:23 +00:00
2011-02-09 10:06:31 +00:00