[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-0000oo-Mw@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_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1a93c2536a75e7759420e8f9a95e2076da9135df

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.