Fix unportable usage of <ctype.h> functions.

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

Commit: d1f9ac5b100dbc4da02f0f209a2e7730bd5e83e9
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-11-07T18:49:36Z
Releases: 11.0
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