Re: [pgsql-hackers-win32] %2$, %1$ gettext placeholder replacement is not working under Win32 - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: [pgsql-hackers-win32] %2$, %1$ gettext placeholder replacement is not working under Win32
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE476640@algol.sollentuna.se
Whole thread Raw
Responses Re: %2$, %1$ gettext placeholder replacement is not working under Win32
List pgsql-hackers
>> 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

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: ARC patent
Next
From: Jeff
Date:
Subject: Re: ARC patent