Fix unportable usage of <ctype.h> functions.

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

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