Rearrange code in pg_atoi() to avoid assuming that isspace() cannot

Tom Lane <tgl@sss.pgh.pa.us>

Commit: a4a51d58e81fd1b9d861f645cfcf3e6778004949
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-11-30T23:10:34Z
Releases: 8.0.5
Rearrange code in pg_atoi() to avoid assuming that isspace() cannot
change errno.  No reported bugs here, but why take a chance?

Files

PathChange+/−
src/backend/utils/adt/numutils.c modified +15 −15