summaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-11-07 13:49:36 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2017-11-07 13:50:03 -0500
commit7a15fe5a2240244e2f80f25adfe6b9a34787a021 (patch)
tree85446cff192550fb1263e6dbb9e354ebe53b4224 /src/tutorial/funcs.c
parentde7dabfd35e8f657af9a54cb0ff3171e1cf8e957 (diff)
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/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions