Make sure that all <ctype.h> routines are called with unsigned char
Tom Lane <tgl@sss.pgh.pa.us>
Make sure that all <ctype.h> routines are called with unsigned char values; it's not portable to call them with signed chars. I recall doing this for the last release, but a few more uncasted calls have snuck in.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/dbase/dbf2pg.c | modified | +3 −3 |
| contrib/fuzzystrmatch/fuzzystrmatch.c | modified | +10 −9 |
| contrib/fuzzystrmatch/fuzzystrmatch.h | modified | +1 −1 |
| contrib/pgcrypto/pgcrypto.c | modified | +2 −2 |
| src/backend/utils/adt/datetime.c | modified | +3 −3 |
| src/interfaces/odbc/connection.c | modified | +1 −1 |
| src/interfaces/odbc/convert.c | modified | +3 −3 |