Re: [pgsql-hackers-win32] Function to do runtime relative directory - Mailing list pgsql-patches

From Tom Lane
Subject Re: [pgsql-hackers-win32] Function to do runtime relative directory
Date
Msg-id 25459.1083765335@sss.pgh.pa.us
Whole thread Raw
In response to Re: [pgsql-hackers-win32] Function to do runtime relative directory  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
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

pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: Dollar Quoting doc patch--resend.
Next
From: Bruce Momjian
Date:
Subject: Re: Dollar Quoting doc patch--resend.