Thread: [COMMITTERS] pgsql: Fix unportable usage of functions.

[COMMITTERS] pgsql: Fix unportable usage of functions.

From
Tom Lane
Date:
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.

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e836502d64ba7fc936d8c273125e4ac298773e76

Modified Files
--------------
src/interfaces/ecpg/ecpglib/data.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers