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

From: Nicolai Tufar <ntufar(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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
Subject: Re: [HACKERS] %2$, %1$ gettext placeholder replacement is not working under Win32
Date: 2005-01-24 02:00:29
Message-ID: d8092939050123180072ef2c3b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-hackers-win32

Greetings,

I would like to submit a new version of src/port/snprintf.c
It passes regression tests on Linux and Win32 and
prints all of %n$ messages finely.

I added printf() function too because --help usage-type
output is printed with printf().

I have no experience with autoconf so I would ask you
for help on what changes to do to include libpgport to
src/Makefile.global and src/Makefile.shlib.

PostgreSQL uses snprintf() in more places than I expected.
So these changes need a through testing. I have no 64-bit
to able to run regression test on it would be nice to run
it on a 64-bit platform too.

Best regards,
Nicolai Tufar

Attachment Content-Type Size
snprintf.c text/plain 15.4 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Benjamin Arai 2005-01-24 05:43:17 Goals for 8.1
Previous Message Mark Kirkwood 2005-01-23 23:41:55 Re: Much Ado About COUNT(*)

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Niederland 2005-01-24 06:14:27 Re: pg_restore
Previous Message Jonathan Barnhart 2005-01-24 01:05:16 Automatic installs