diff options
author | Tom Lane | 2008-03-01 03:26:35 +0000 |
---|---|---|
committer | Tom Lane | 2008-03-01 03:26:35 +0000 |
commit | e04fa58dcdf59e480db4a65be3d731d45a99fa3d (patch) | |
tree | 0de141a156f57d26d81d66248d999384e578bfd4 /doc/src/FAQ | |
parent | 3bf822c4d722d6245a65abdd2502a9d26ab990d5 (diff) |
Fix unportable usages of tolower(). On signed-char machines, it is necessary
to explicitly cast the output back to char before comparing it to a char
value, else we get the wrong result for high-bit-set characters. Found by
Rolf Jentsch. Also, fix several places where <ctype.h> functions were being
called without casting the argument to unsigned char; this is likewise
unportable, but we keep making that mistake :-(. These found by buildfarm
member salamander, which I will desperately miss if it ever goes belly-up.
Diffstat (limited to 'doc/src/FAQ')
0 files changed, 0 insertions, 0 deletions