• Tom Lane's avatar
    Fix unportable usages of tolower(). On signed-char machines, it is necessary · e04fa58d
    Tom Lane authored
    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.
    e04fa58d
execute.c 46.8 KB