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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [pgsql-hackers-win32] Function to do runtime relative directory
Дата
Msg-id 25459.1083765335@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [pgsql-hackers-win32] Function to do runtime relative directory  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления: