summary refs log tree commit diff
path: root/iconvdata/koi8-ru.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-09-29 04:35:54 +0000
committerUlrich Drepper <drepper@redhat.com>2007-09-29 04:35:54 +0000
commit90bf831bda032b2a0ef772741877e922e4c8ed4d (patch)
tree05786ae1fe9e2f2d5e424fe82c63cdb4587e3788 /iconvdata/koi8-ru.c
parentd6cd6bf4de43672803ad47f4c745ac6e510c6d61 (diff)
downloadglibc-90bf831bda032b2a0ef772741877e922e4c8ed4d.tar.gz
glibc-90bf831bda032b2a0ef772741877e922e4c8ed4d.tar.xz
glibc-90bf831bda032b2a0ef772741877e922e4c8ed4d.zip
* iconvdata/Makefile (modules): Add KOI8-RU.
	(distribute): Add koi8-ru.c.
	(gen-8bit-gap-modules): Add koi8-ru.
	* iconvdata/koi8-ru.c: New file.
	* iconvdata/gconv-modules: Add entries for KOI8-RU.
	* iconvdata/TESTS: Likewise.
	* iconvdata/tst-tables.sh: Likewise.

	* iconvdata/koi8-r.c (HAS_HOLES): Define to 0.
Diffstat (limited to 'iconvdata/koi8-ru.c')
-rw-r--r--iconvdata/koi8-ru.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/iconvdata/koi8-ru.c b/iconvdata/koi8-ru.c
new file mode 100644
index 0000000000..ce1b1cff59
--- /dev/null
+++ b/iconvdata/koi8-ru.c
@@ -0,0 +1,29 @@
+/* Conversion from and to KOI8-RU.
+   Copyright (C) 2007 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+   Contributed by Ulrich Drepper <drepper@redhat.com>, 20077.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+#include <stdint.h>
+
+/* Specify the conversion table.  */
+#define TABLES <koi8-ru.h>
+
+#define CHARSET_NAME	"KOI8-RU//"
+#define HAS_HOLES	0	/* All 256 character are defined.  */
+
+#include <8bit-gap.c>