Fix unportable usage of <ctype.h> functions.

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

Commit: 7a15fe5a2240244e2f80f25adfe6b9a34787a021
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-11-07T18:50:03Z
Releases: 9.4.16
Fix unportable usage of <ctype.h> functions.

isdigit(), isspace(), etc are likely to give surprising results if passed a
signed char.  We should always cast the argument to unsigned char to avoid
that.  Error in commit 63d6b97fd, found by buildfarm member gaur.
Back-patch to 9.3, like that commit.

Files

PathChange+/−
src/interfaces/ecpg/ecpglib/data.c modified +1 −1