Re: Clear up strxfrm() in UTF-8 with locale on Windows

Поиск
Список
Период
Сортировка
От ITAGAKI Takahiro
Тема Re: Clear up strxfrm() in UTF-8 with locale on Windows
Дата
Msg-id 20070507103222.884A.ITAGAKI.TAKAHIRO@oss.ntt.co.jp
обсуждение исходный текст
Ответ на Re: Clear up strxfrm() in UTF-8 with locale on Windows  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Clear up strxfrm() in UTF-8 with locale on Windows  ("Magnus Hagander" <magnus@hagander.net>)
Список pgsql-patches
Magnus Hagander <magnus@hagander.net> wrote:

> > So actually an equality test against INT_MAX would be correct. But making
> > that clear in the comment would probably not be a bad idea :-)
>
> I have applied a fix for this, because it obviously needed fixing
> regardless of if it fixes the original issue all the way. Still looking
> for confirmation if it does, though.

The fix works well. I tested it with UTF-8 encoding and Japanese_Japan.932
(SJIS) locale and I didn't see any errors. I think it it is enough to cover
the buggy UTF-8 treatment on Windows.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center



В списке pgsql-patches по дате отправления:

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: Hash function for numeric (WIP)
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: Clear up strxfrm() in UTF-8 with locale on Windows