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

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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: snprintf.c
Description: text/plain (15.4 KB)

In response to

pgsql-hackers by date

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

pgsql-hackers-win32 by date

Next:From: NiederlandDate: 2005-01-24 06:14:27
Subject: Re: pg_restore
Previous:From: Jonathan BarnhartDate: 2005-01-24 01:05:16
Subject: Automatic installs

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