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

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

Commit: 164442fe7f7440b6a004e51bc19d990cb89b4abd
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-11-30T23:10:08Z
Releases: 8.2.0
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