pgsql: Fix (I think) broken usage of MultiByteToWideChar.

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Fix (I think) broken usage of MultiByteToWideChar.
Дата
Msg-id 20071124212007.DE3D87540F0@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Fix (I think) broken usage of MultiByteToWideChar.  I had missed the
subtlety that this function only returns a null terminator if it's
fed input that includes one; which, in the usage here, it's not.
This probably fixes bugs reported by Thomas Haegi.

Modified Files:
--------------
    pgsql/src/backend/tsearch:
        ts_locale.c (r1.4 -> r1.5)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/tsearch/ts_locale.c?r1=1.4&r2=1.5)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Slightly more paranoia and slightly better comments for use of
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Reduce routine successful-archiving message from LOG to DEBUG1