Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

pgsql-hackers by date

Next:From: JeffDate: 2005-01-17 20:21:59
Subject: Re: ARC patent
Previous:From: Tom LaneDate: 2005-01-17 20:18:15
Subject: Re: ARC patent

pgsql-hackers-win32 by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group