[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-0000om-MY@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
------
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

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.