aboutsummaryrefslogtreecommitdiff
path: root/iconvdata
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-01-05 19:15:03 +0000
committerUlrich Drepper <drepper@redhat.com>2000-01-05 19:15:03 +0000
commit7abbb474e75d07611bbc62d32b24135027cdf48e (patch)
tree1f8dd2bd19269f8985dd20c8fc1d69d4ea0fe62c /iconvdata
parent2ba3c8362a2fa1d6f12b0cc5bcb436460e8f0c0a (diff)
downloadglibc-7abbb474e75d07611bbc62d32b24135027cdf48e.tar
glibc-7abbb474e75d07611bbc62d32b24135027cdf48e.tar.gz
glibc-7abbb474e75d07611bbc62d32b24135027cdf48e.tar.bz2
glibc-7abbb474e75d07611bbc62d32b24135027cdf48e.zip
Update.
2000-01-05 Ulrich Drepper <drepper@cygnus.com> * iconvdata/Makefile: Add rules for ISO-8859-16 module. * iconvdata/gconv-modules: Likewise. * iconvdata/iso8859-16.c: New file.
Diffstat (limited to 'iconvdata')
-rw-r--r--iconvdata/Makefile6
-rw-r--r--iconvdata/gconv-modules7
-rw-r--r--iconvdata/iso8859-16.c28
3 files changed, 38 insertions, 3 deletions
diff --git a/iconvdata/Makefile b/iconvdata/Makefile
index 6b4731d76a..4c6fb0cf6a 100644
--- a/iconvdata/Makefile
+++ b/iconvdata/Makefile
@@ -24,7 +24,7 @@ subdir := iconvdata
# Names of all the shared objects which implement the transformations.
modules := ISO8859-1 ISO8859-2 ISO8859-3 ISO8859-4 ISO8859-5 \
ISO8859-6 ISO8859-7 ISO8859-8 ISO8859-9 ISO8859-10 \
- ISO8859-11 ISO8859-13 ISO8859-14 ISO8859-15 \
+ ISO8859-11 ISO8859-13 ISO8859-14 ISO8859-15 ISO8859-16 \
T.61 ISO_6937 SJIS KOI-8 HP-ROMAN8 EBCDIC-AT-DE \
EBCDIC-AT-DE-A EBCDIC-CA-FR EUC-KR UHC JOHAB libJIS libKSC \
BIG5 EUC-JP libGB EUC-CN libCNS EUC-TW ISO646 EBCDIC-DK-NO \
@@ -115,7 +115,7 @@ distribute := gconv-modules extra-module.mk gap.awk gaptab.awk \
koi8-r.c ksc5601.c ksc5601.h latin-greek.c latin-greek-1.c \
macintosh.c mac-is.c mac-uk.c nats-dano.c nats-sefi.c sjis.c \
t.61.c uhc.c sami-ws2.c iso-ir-197.c tis-620.c koi8-u.c \
- isiri-3342.c gbgbk.c iso-2022-cn.c cns11643l2.h
+ isiri-3342.c gbgbk.c iso-2022-cn.c cns11643l2.h iso8859-16.c
# We build the transformation modules only when we build shared libs.
ifeq (yes,$(build-shared))
@@ -140,7 +140,7 @@ gen-8bit-modules := iso8859-2 iso8859-3 iso8859-4 iso8859-6 iso8859-9 koi-8 \
ebcdic-es-s ebcdic-fi-se ebcdic-fi-se-a ebcdic-fr \
ebcdic-is-friss ebcdic-it ebcdic-pt ebcdic-uk ebcdic-us \
ibm037 ibm038 ibm274 ibm275 ibm423 ibm500 ibm870 ibm871 \
- ibm891 ibm903 ibm904 ibm905 ibm1047
+ ibm891 ibm903 ibm904 ibm905 ibm1047 iso8859-16
gen-8bit-gap-modules := koi8-r latin-greek latin-greek-1 ibm256 ibm273 \
ibm277 ibm278 ibm280 ibm281 ibm284 ibm285 ibm290 \
diff --git a/iconvdata/gconv-modules b/iconvdata/gconv-modules
index ecdb478bd2..a348de83c7 100644
--- a/iconvdata/gconv-modules
+++ b/iconvdata/gconv-modules
@@ -358,6 +358,13 @@ module ISO-8859-15// INTERNAL ISO8859-15 1
module INTERNAL ISO-8859-15// ISO8859-15 1
# from to module cost
+alias ISO-IR-226// ISO-8859-16//
+alias LATIN10// ISO-8859-16//
+alias L10// ISO-8859-16//
+module ISO-8859-16// INTERNAL ISO8859-16 1
+module INTERNAL ISO-8859-16// ISO8859-16 1
+
+# from to module cost
alias T.61// T.61-8BIT//
alias ISO-IR-103// T.61-8BIT//
alias CSISO103T618BIT// T.61-8BIT//
diff --git a/iconvdata/iso8859-16.c b/iconvdata/iso8859-16.c
new file mode 100644
index 0000000000..e8b51be2c9
--- /dev/null
+++ b/iconvdata/iso8859-16.c
@@ -0,0 +1,28 @@
+/* Conversion from and to ISO 8859-16.
+ Copyright (C) 2000 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+ Contributed by Ulrich Drepper <drepper@cygnus.com>, 2000.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 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
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If not,
+ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+/* Get the conversion table. */
+#include <stdint.h>
+#include <iso8859-16.h>
+
+#define CHARSET_NAME "ISO-8859-16//"
+#define HAS_HOLES 0 /* All 256 character are defined. */
+
+#include <8bit-generic.c>