From: | Nicolai Tufar <ntufar(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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, pgsql-patches(at)postgresql(dot)org, devrim(at)gunduz(dot)org |
Subject: | Repleacement for src/port/snprintf.c |
Date: | 2005-02-09 07:59:28 |
Message-ID: | d80929390502082359454c3679@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-hackers-win32 pgsql-patches |
Hello all,
I would like to submit my changes to src/port/snprintf.c to
enable %n$ format placeholder replacement in snprintf() and
vsnprintf(). Additionally I implemented a trivial printf().
I also attach a diff for configure.in to include snprintf.o
in pgport but I am sure it is not the right thing to do.
Could someone give a hint on where I need to place such a
definition.
Please review my patch. as Tom Lane pointed out there
are 150 messages in the following files that do not print
properly:
src/backend/po/pt_BR.po
src/backend/po/de.po
src/backend/po/es.po
src/backend/po/zh_CN.po
src/backend/po/tr.po
src/bin/pg_dump/po/zh_CN.po
src/bin/pg_dump/po/tr.po
src/bin/psql/po/zh_CN.po
src/bin/psql/po/zh_TW.po
src/bin/psql/po/tr.po
src/bin/scripts/po/zh_CN.po
we need to fix snprintf.c before next release
Best regards,
Nicolai Tufar
Attachment | Content-Type | Size |
---|---|---|
snprintf.diff | text/plain | 10.0 KB |
configure.in.diff | text/plain | 307 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | pgsql | 2005-02-09 13:45:59 | Re: Query optimizer 8.0.1 (and 8.0) |
Previous Message | Dave Page | 2005-02-09 07:06:28 | Re: How can I use large object on PostgreSQL Linux |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2005-02-14 00:06:34 | Re: [pgsql-hackers-win32] Repleacement for src/port/snprintf.c |
Previous Message | Magnus Hagander | 2005-02-03 13:43:47 | Re: minGW compilation does not produce postmaster.exe |
From | Date | Subject | |
---|---|---|---|
Next Message | Ed L. | 2005-02-09 18:49:28 | Re: dbsize patch |
Previous Message | Neil Conway | 2005-02-09 04:56:33 | memory leak in ALTER TABLE |