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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Nicolai Tufar <ntufar(at)gmail(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Magnus Hagander <mha(at)sollentuna(dot)net>, pgsql-hackers(at)postgresql(dot)org, pgsql-hackers-win32(at)postgresql(dot)org, Ismail Teppeev <iteppeev(at)gmail(dot)com>
Subject: Re: [HACKERS] %2$, %1$ gettext placeholder replacement is not working under Win32
Date: 2005-01-22 22:05:22
Message-ID: 25787.1106431522@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-hackers-win32

Nicolai Tufar <ntufar(at)gmail(dot)com> writes:
> On Sat, 22 Jan 2005 15:31:39 +0100, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
>> Nicolai Tufar wrote:
>>> 2. Why would we not just take FreeBSD's vfprintf() and use it
>>> instead?
>>
>> Try it. It's painful.

> src/port/snprintf.c is not not a particularly pretty. And
> after my rework it got even uglier. I have looked at
> FreeBDS's one and it is not *that* complicated.

If you can get it to work then it'd be a better bet than writing (and
having to maintain) our own.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-01-22 22:09:42 Re: Locale agnostic unicode text
Previous Message Tom Lane 2005-01-22 21:43:30 Re: Extending System Views: proposal for 8.1/8.2

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Magnus Hagander 2005-01-22 22:45:51 Re: Upgrading from 8.0RC1 to 8.0
Previous Message Vitaly Belman 2005-01-22 21:54:13 Upgrading from 8.0RC1 to 8.0