projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8de7806
)
Remove stray ' character at end of line.
author
Magnus Hagander
<
[email protected]
>
Wed, 21 Jan 2009 12:45:06 +0000
(12:45 +0000)
committer
Magnus Hagander
<
[email protected]
>
Wed, 21 Jan 2009 12:45:06 +0000
(12:45 +0000)
For some reason it broke OpenBSD compile even when it's inside a
#ifdef WIN32 block.....
src/backend/utils/adt/pg_locale.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/adt/pg_locale.c
b/src/backend/utils/adt/pg_locale.c
index 199d83553a9c656158f9730fa57f62a5c18abb17..adb3725f87c71537275f452af493890776391dac 100644
(file)
--- a/
src/backend/utils/adt/pg_locale.c
+++ b/
src/backend/utils/adt/pg_locale.c
@@
-637,7
+637,7
@@
char *IsoLocaleName(const char *winlocname)
if (!GetLocaleInfoA(lcid, LOCALE_SISO639LANGNAME, isolang, sizeof(isolang)))
return NULL;
- if (!GetLocaleInfoA(lcid, LOCALE_SISO3166CTRYNAME, isocrty, sizeof(isocrty)))
'
+ if (!GetLocaleInfoA(lcid, LOCALE_SISO3166CTRYNAME, isocrty, sizeof(isocrty)))
return NULL;
snprintf(iso_lc_messages, sizeof(iso_lc_messages) - 1, "%s_%s", isolang, isocrty);
return iso_lc_messages;