summaryrefslogtreecommitdiff
path: root/src/backend/utils/mb
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/utils/mb')
-rw-r--r--src/backend/utils/mb/conv.c10
-rw-r--r--src/backend/utils/mb/encnames.c7
-rw-r--r--src/backend/utils/mb/wchar.c3
3 files changed, 11 insertions, 9 deletions
diff --git a/src/backend/utils/mb/conv.c b/src/backend/utils/mb/conv.c
index a3ff9aaf8f..3a890a674c 100644
--- a/src/backend/utils/mb/conv.c
+++ b/src/backend/utils/mb/conv.c
@@ -6,7 +6,7 @@
* WIN1250 client encoding support contributed by Pavel Behal
* SJIS UDC (NEC selection IBM kanji) support contributed by Eiji Tokuya
*
- * $Id: conv.c,v 1.33 2001/10/25 05:49:51 momjian Exp $
+ * $Id: conv.c,v 1.34 2001/10/28 06:25:54 momjian Exp $
*
*
*/
@@ -63,7 +63,6 @@
#include "Unicode/utf8_to_alt.map"
#include "Unicode/utf8_to_koi8r.map"
#include "Unicode/utf8_to_win1251.map"
-
#endif /* UNICODE_CONVERSION */
/*
@@ -619,7 +618,7 @@ big52mic(unsigned char *big5, unsigned char *p, int len)
{
if (lc == LC_CNS11643_3 || lc == LC_CNS11643_4)
{
- *p++ = 0x9d; /* LCPRV2 */
+ *p++ = 0x9d; /* LCPRV2 */
}
*p++ = lc; /* Plane No. */
*p++ = (cnsBuf >> 8) & 0x00ff;
@@ -1677,7 +1676,7 @@ pg_enconv pg_enconv_tbl[] =
{
{
PG_SQL_ASCII, ascii2mic, mic2ascii, ascii2utf, utf2ascii
- } ,
+ },
{
PG_EUC_JP, euc_jp2mic, mic2euc_jp, euc_jp_to_utf, utf_to_euc_jp
},
@@ -1765,7 +1764,7 @@ pg_enconv pg_enconv_tbl[] =
{
{
PG_SQL_ASCII, ascii2mic, mic2ascii, 0, 0
- } ,
+ },
{
PG_EUC_JP, euc_jp2mic, mic2euc_jp, 0, 0
},
@@ -1845,4 +1844,5 @@ pg_enconv pg_enconv_tbl[] =
PG_WIN1250, win12502mic, mic2win1250, 0, 0
},
};
+
#endif /* UNICODE_CONVERSION */
diff --git a/src/backend/utils/mb/encnames.c b/src/backend/utils/mb/encnames.c
index 7667e478aa..84446a2640 100644
--- a/src/backend/utils/mb/encnames.c
+++ b/src/backend/utils/mb/encnames.c
@@ -2,7 +2,7 @@
* Encoding names and routines for work with it. All
* in this file is shared bedween FE and BE.
*
- * $Id: encnames.c,v 1.5 2001/10/25 05:49:51 momjian Exp $
+ * $Id: encnames.c,v 1.6 2001/10/28 06:25:56 momjian Exp $
*/
#ifdef FRONTEND
#include "postgres_fe.h"
@@ -38,7 +38,7 @@ pg_encname pg_encname_tbl[] =
{
{
"alt", PG_ALT
- } , /* IBM866 */
+ }, /* IBM866 */
{
"big5", PG_BIG5
}, /* Big5; Chinese for Taiwan Multi-byte set */
@@ -191,7 +191,7 @@ pg_enc2name pg_enc2name_tbl[] =
{
{
"SQL_ASCII", PG_SQL_ASCII
- } ,
+ },
{
"EUC_JP", PG_EUC_JP
},
@@ -418,4 +418,5 @@ PG_encoding_to_char(PG_FUNCTION_ARGS)
return DirectFunctionCall1(namein, CStringGetDatum(encoding_name));
}
+
#endif
diff --git a/src/backend/utils/mb/wchar.c b/src/backend/utils/mb/wchar.c
index 9d778d0041..4f6a54c8ee 100644
--- a/src/backend/utils/mb/wchar.c
+++ b/src/backend/utils/mb/wchar.c
@@ -1,7 +1,7 @@
/*
* conversion functions between pg_wchar and multi-byte streams.
* Tatsuo Ishii
- * $Id: wchar.c,v 1.25 2001/10/25 05:49:51 momjian Exp $
+ * $Id: wchar.c,v 1.26 2001/10/28 06:25:56 momjian Exp $
*
* WIN1250 client encoding updated by Pavel Behal
*
@@ -602,4 +602,5 @@ pg_database_encoding_max_length(void)
{
return pg_wchar_table[GetDatabaseEncoding()].maxmblen;
}
+
#endif