commit | 86c747a4493b2b1aabab9b20d1c4566fddeeb2ca | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Thu Jan 01 16:28:51 2015 -0600 |
committer | Rob Landley <rob@landley.net> | Thu Jan 01 16:28:51 2015 -0600 |
tree | fe5254ddbb277f19724c5bacb412e677f595d919 | |
parent | cf2516ab4bcf2c1d4cb571539dae794c6a40c5c6 [diff] |
strtol() doesn't return error indicator for overflow, it just sets errno. So add estrtol() (which clears errno first), and xstrtol() (which error_exit()s on overflow).