Re: [HACKERS] %2$, %1$ gettext placeholder replacement is not working under Win32

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Nicolai Tufar" <ntufar(at)gmail(dot)com>
Cc: <pgsql-hackers(at)postgresql(dot)org>, <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: [HACKERS] %2$, %1$ gettext placeholder replacement is not working under Win32
Date: 2005-01-17 20:18:34
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE476640@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-hackers-win32

>> I don't think we'll hold up release to fix this, but the affected
>> translators may want to think about whether they can avoid
>the problem
>> or not.
>
>Also, it looks like src/port/snprintf.c is not %n$ capable either.
>I'm not sure which platforms that affects.
>
>A possible route to a solution is to upgrade snprintf.c and then use
>it on platforms that don't have this support. This only fixes those
>cases where we go through snprintf, which is probably not all of the
>affected messages, but it might be enough. It's not happening for
>8.0.0 though.

Might want to track down which platforms are affected by the file in
port/, and then add win32 to it, and put it up somewhere on a list of
known issues in 8.0?

//Magnus

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff 2005-01-17 20:21:59 Re: ARC patent
Previous Message Tom Lane 2005-01-17 20:18:15 Re: ARC patent

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Tom Lane 2005-01-17 20:23:45 Re: pg_restore
Previous Message Nicolai Tufar 2005-01-17 20:16:31 Re: [HACKERS] %2$, %1$ gettext placeholder replacement is not working under Win32