1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Add comment on why pg *printf functions are used unconditionally on

Win32.

Backpatch to 8.1.X.
This commit is contained in:
Bruce Momjian
2005-12-06 04:53:28 +00:00
parent f244c488fb
commit 4d870d5d8a
2 changed files with 9 additions and 1 deletions

4
configure vendored
View File

@ -13854,6 +13854,10 @@ fi
if test "$PORTNAME" = "win32"; then if test "$PORTNAME" = "win32"; then
# Win32 gets this built unconditionally # Win32 gets this built unconditionally
# libintl versions prior to 0.13 use the native *printf functions.
# Win32 *printf does not understand %$, so on Win32 using pre-0.13 libintl
# it is necessary to use the pg versions of *printf to properly process
# NLS strings that use the %$ format.
pgac_need_repl_snprintf=yes pgac_need_repl_snprintf=yes
else else
pgac_need_repl_snprintf=no pgac_need_repl_snprintf=no

View File

@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.431.2.1 2005/12/06 02:29:25 tgl Exp $ dnl $PostgreSQL: pgsql/configure.in,v 1.431.2.2 2005/12/06 04:53:28 momjian Exp $
dnl dnl
dnl Developers, please strive to achieve this order: dnl Developers, please strive to achieve this order:
dnl dnl
@ -852,6 +852,10 @@ fi
if test "$PORTNAME" = "win32"; then if test "$PORTNAME" = "win32"; then
# Win32 gets this built unconditionally # Win32 gets this built unconditionally
# libintl versions prior to 0.13 use the native *printf functions.
# Win32 *printf does not understand %$, so on Win32 using pre-0.13 libintl
# it is necessary to use the pg versions of *printf to properly process
# NLS strings that use the %$ format.
pgac_need_repl_snprintf=yes pgac_need_repl_snprintf=yes
else else
pgac_need_repl_snprintf=no pgac_need_repl_snprintf=no