Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Andrew Dunstan wrote:
>> Shouldn't this be
>> if (toupper(*src) != toupper(*dst))
> Yep, fixed.
Also, all of the ctype.h calls need to be like
toupper((unsigned char) *src)
to avoid problems with high-bit-set characters.
regards, tom lane