Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit521408a

Browse files
committed
Don't use LC_MESSAGES value on WIN32, since it doesn't work.
Magnus Hagander
1 parent9e83d73 commit521408a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/initdb/initdb.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* Portions Copyright (c) 1994, Regents of the University of California
4040
* Portions taken from FreeBSD.
4141
*
42-
* $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.63 2004/10/17 21:04:41 petere Exp $
42+
* $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.64 2004/10/22 22:30:57 tgl Exp $
4343
*
4444
*-------------------------------------------------------------------------
4545
*/
@@ -1990,7 +1990,7 @@ setlocales(void)
19901990
if (strlen(lc_monetary)==0|| !chklocale(lc_monetary))
19911991
lc_monetary=xstrdup(setlocale(LC_MONETARY,NULL));
19921992
if (strlen(lc_messages)==0|| !chklocale(lc_messages))
1993-
#ifdefLC_MESSAGES
1993+
#if defined(LC_MESSAGES)&& !defined(WIN32)
19941994
{
19951995
/* when available get the current locale setting */
19961996
lc_messages=xstrdup(setlocale(LC_MESSAGES,NULL));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp