Re: BUG #6066: Bad string in German translation causes segfault (user-triggerable)

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: BUG #6066: Bad string in German translation causes segfault (user-triggerable)
Дата
Msg-id 4DFB137E.4040404@enterprisedb.com
обсуждение исходный текст
Ответ на Re: BUG #6066: Bad string in German translation causes segfault (user-triggerable)  (Bernd Helmle <mailings@oopsware.de>)
Ответы Re: BUG #6066: Bad string in German translation causes segfault (user-triggerable)  (Christoph Berg <cb@df7cb.de>)
Список pgsql-bugs
On 17.06.2011 11:22, Bernd Helmle wrote:
> --On 17. Juni 2011 08:18:03 +0000 Christoph Berg <cb@df7cb.de> wrote:
>
>> In German locale, the follow statement causes vsnprintf() to segfault
>> when
>> printing the hint:
>>
>> SELECT TO_DATE('30.12.2011', 'YYYYMMDD') AS datum;
>>
>> Fix tested for 8.4:
>
> Additionally, this seems to be the case for 9.0, 9.1 and current -HEAD,
> too.

So, this is a case where the untranslated string doesn't have a %s in
it, but the translated one does. We should have a way to check those
automatically. In fact, I'm surprised if someone somewhere hasn't
already written such a script, as gettext is used very widely. Anyone
want to research/write a script?

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

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

Предыдущее
От: Bernd Helmle
Дата:
Сообщение: Re: BUG #6066: Bad string in German translation causes segfault (user-triggerable)
Следующее
От: Christoph Berg
Дата:
Сообщение: Re: BUG #6066: Bad string in German translation causes segfault (user-triggerable)