pluknet 96dfe577d2 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
..
2012-03-26 19:23:57 +00:00
2010-08-22 11:48:32 +00:00
2011-03-24 16:06:57 +00:00
2013-06-29 15:52:48 +00:00
2012-10-30 22:18:08 +00:00
2012-11-03 00:30:22 +00:00
2012-12-27 20:24:44 +00:00