Fix unportable usage of <ctype.h> functions.

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

Commit: 806fc522688c45ea40c57fb843775fcea40e0bd4
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-11-07T18:50:08Z
Releases: 9.3.21
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