Fix unportable use of isprint().
Tom Lane <tgl@sss.pgh.pa.us>
Fix unportable use of isprint(). We must cast the arguments of <ctype.h> functions to unsigned char to avoid problems where char is signed. Speaking of which, considering that this *is* a <ctype.h> function, it's rather remarkable that we aren't seeing more complaints about not having included that header. Per buildfarm.
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/libpq/fe-trace.c | modified | +4 −2 |