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

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

Commit: 29ebf0df8128e51365f58be8c1c335542f400320
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-11-30T23:10:16Z
Releases: 8.1.1
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