[COMMITTERS] pgsql: Fix unportable usage of functions. - Mailing list pgsql-committers

From Tom Lane
Subject [COMMITTERS] pgsql: Fix unportable usage of functions.
Date
Msg-id E1eC8x3-0000oq-NI@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/941602da1f615bb6c98acbf822a15a99fbc99ecd

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

pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [COMMITTERS] pgsql: Remove secondary checkpoint
Next
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Fix unportable spelling of int64 constant.