diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2017-11-07 13:49:36 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2017-11-07 13:49:59 -0500 |
commit | 941602da1f615bb6c98acbf822a15a99fbc99ecd (patch) | |
tree | 637cb69e27e8172a6a1279f14ec2232089b2b407 /src/backend/utils/adt/xml.c | |
parent | 9ce323f612ab19eda1322bb6cf8227b835027511 (diff) | |
download | postgresql-941602da1f615bb6c98acbf822a15a99fbc99ecd.tar.gz postgresql-941602da1f615bb6c98acbf822a15a99fbc99ecd.zip |
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.
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions