From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Bernd Helmle <mailings@oopsware.de>
Cc: Christoph Berg <cb@df7cb.de>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6066: Bad string in German translation causes segfault (user-triggerable)
Date: Fri, 17 Jun 2011 11:42:38 +0300
Message-ID: <4DFB137E.4040404@enterprisedb.com> (raw)
In-Reply-To: <D5E9F4A451B7CE0EE15DE8B6@apophis.local>
References: <201106170818.p5H8I3ko064877@wwwmaster.postgresql.org>
<D5E9F4A451B7CE0EE15DE8B6@apophis.local>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: heikki.linnakangas@enterprisedb.com, mailings@oopsware.de, cb@df7cb.de
Subject: Re: BUG #6066: Bad string in German translation causes segfault (user-triggerable)
In-Reply-To: <4DFB137E.4040404@enterprisedb.com>
References: <201106170818.p5H8I3ko064877@wwwmaster.postgresql.org> <D5E9F4A451B7CE0EE15DE8B6@apophis.local> <4DFB137E.4040404@enterprisedb.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox