On Wed, Nov 30, 2005 at 05:49:53PM -0500, Tom Lane wrote:
> The SUS saith
> http://www.opengroup.org/onlinepubs/007908799/xsh/strtol.html
>
> The strtol() function will not change the setting of errno if
> successful.
>
> Perhaps more to the point, we've been doing it that way (errno test
> only) for many years without complaints. Adding a test on the return
> value is venturing into less charted waters.
Good, I'll stick with just the ERANGE check then.
--
Michael Fuhr