Sergey Kandaurov 7261b203c6 Reset errno before strtoumax() call to properly detect ERANGE.
Restore saved errno if strtoumax() call is successful.

Reported by:	ache
Reviewed by:	jilles
MFC after:	1 week
2013-08-21 22:37:15 +00:00
..
2013-08-06 06:22:54 +00:00
2013-03-22 13:36:03 +00:00
2013-04-14 00:59:56 +00:00
2013-08-16 10:53:36 +00:00
2013-05-30 08:02:00 +00:00
2013-05-12 22:22:12 +00:00
2013-05-12 22:22:12 +00:00
2013-07-25 03:54:08 +00:00
2013-05-05 06:20:49 +00:00