git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 4b0d28d) | patch
Fix unportable usage of <ctype.h> functions.
Tue, 7 Nov 2017 18:49:36 +0000 (13:49 -0500)
Tue, 7 Nov 2017 18:49:36 +0000 (13:49 -0500)
commit d1f9ac5b100dbc4da02f0f209a2e7730bd5e83e9
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.
src/interfaces/ecpg/ecpglib/data.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /