Re: recent --with-libxml support

Поиск
Список
Период
Сортировка
От Jeremy Drake
Тема Re: recent --with-libxml support
Дата
Msg-id Pine.BSO.4.64.0612232213430.8221@resin.csoft.net
обсуждение исходный текст
Ответ на Re: recent --with-libxml support  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, 23 Dec 2006, Tom Lane wrote:

> Ah-hah, I've sussed it.  sqlchar_to_unicode() calls the
> mb2wchar_with_len converters, which are defined to return a *null
> terminated* pg_wchar string.  So even if you only ask for the conversion
> of a single character, you need a 2-pg_wchar array to hold the result,
> and that wasn't being allocated.  So the code was clobbering a word of
> stack space that evidently is critical on some machines and not others.
>
> Fix committed, please see if it works for you now.

The buildfarm run seems to be green now.  I am compiling a sandbox to test
it manually now, but I'm pretty sure that fixed it.  Yep, the make check
works there too...

-- 
As long as war is regarded as wicked, it will always have its
fascination.  When it is looked upon as vulgar, it will cease to be
popular.    -- Oscar Wilde


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

Предыдущее
От: tomas@tuxteam.de
Дата:
Сообщение: Re: quick review
Следующее
От: "Nikolay Samokhvalov"
Дата:
Сообщение: How to gain R/W access to developers wiki?