use a consistent ERANGE message

The previous change neglected to consider that numbers too large for the
long long datatype will result in calling strerror(ERANGE) whose return
value can vary depending on the platform. Which breaks the unit test.
This commit is contained in:
Kurtis Rader
2017-02-20 18:43:13 -08:00
parent 3d0a377e26
commit 992e1d0059
2 changed files with 6 additions and 2 deletions

View File

@@ -1,2 +1,2 @@
2,34: value not completely converted
0xABCDEF12345678901: Result too large
0xABCDEF12345678901: Number out of range