From 6906cea4cc14c72110dc35c625491d482d4caef1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 4 Aug 2001 08:05:56 +0000 Subject: Update. 2001-08-04 Ulrich Drepper * libio/genops.c (_IO_unbuffer_write): Force streams in narrow orientation so that conversion modules aren't used anymore. * malloc/set-freeres.c: Call _IO_cleanup before running subfreeres functions to avoid using wide streams afterwards. * iconvdata/Makefile: Add rules to build GEORGIAN-PS and GEORGIAN-ACADEMY. * iconvdata/georgian-ps.c: New file. * iconvdata/georgian-academy.c: New file. * iconvdata/gconv-modules: Add entries for GEORGIAN-PS and GEORGIAN-ACADEMY. * iconvdata/tst-tables.sh: Add GEORGIAN-PS and GEORGIAN-ACADEMY. --- iconvdata/Makefile | 8 +++++--- iconvdata/gconv-modules | 8 ++++++++ iconvdata/georgian-academy.c | 29 +++++++++++++++++++++++++++++ iconvdata/georgian-ps.c | 29 +++++++++++++++++++++++++++++ iconvdata/tst-tables.sh | 2 ++ 5 files changed, 73 insertions(+), 3 deletions(-) create mode 100644 iconvdata/georgian-academy.c create mode 100644 iconvdata/georgian-ps.c (limited to 'iconvdata') diff --git a/iconvdata/Makefile b/iconvdata/Makefile index 53aeb2426c..419ea3c583 100644 --- a/iconvdata/Makefile +++ b/iconvdata/Makefile @@ -47,7 +47,8 @@ modules := ISO8859-1 ISO8859-2 ISO8859-3 ISO8859-4 ISO8859-5 \ ISO_5428 ISO_10367-BOX MAC-IS MAC-UK NATS-DANO NATS-SEFI \ SAMI-WS2 ISO-IR-197 TIS-620 KOI8-U GBK ISIRI-3342 GBGBK \ ISO-2022-CN libISOIR165 UTF-16 UNICODE UTF-32 UTF-7 BIG5HKSCS \ - GB18030 ISO-2022-CN-EXT VISCII GBBIG5 CP10007 KOI8-T + GB18030 ISO-2022-CN-EXT VISCII GBBIG5 CP10007 KOI8-T \ + GEORGIAN-PS GEORGIAN-ACADEMY modules.so := $(addsuffix .so, $(modules)) @@ -138,7 +139,7 @@ distribute := gconv-modules extra-module.mk gap.awk gaptab.awk \ iso8859-16.c utf-16.c unicode.c utf-32.c utf-7.c big5hkscs.c \ iso-ir-165.c iso-ir-165.h gb18030.c iso-2022-cn-ext.c \ ibm932.c ibm932.h ibm943.c ibm943.h gbbig5.c cp10007.c \ - koi8-t.c + koi8-t.c georgian-ps.c georgian-academy.c # We build the transformation modules only when we build shared libs. ifeq (yes,$(build-shared)) @@ -177,7 +178,8 @@ gen-8bit-gap-modules := koi8-r latin-greek latin-greek-1 ibm256 ibm273 \ inis-cyrillic iso_2033 iso_5427 iso_5427-ext \ iso_5428 iso_10367-box mac-is nats-dano nats-sefi \ iso8859-13 iso8859-14 iso8859-15 mac-uk sami-ws2 \ - iso-ir-197 tis-620 koi8-u ibm874 cp10007 koi8-t + iso-ir-197 tis-620 koi8-u ibm874 cp10007 koi8-t \ + georgian-ps georgian-academy gen-special-modules := iso8859-7jp diff --git a/iconvdata/gconv-modules b/iconvdata/gconv-modules index 54692de455..1eacc1b51e 100644 --- a/iconvdata/gconv-modules +++ b/iconvdata/gconv-modules @@ -1434,3 +1434,11 @@ module INTERNAL VISCII// VISCII 1 # from to module cost module KOI8-T// INTERNAL KOI8-T 1 module INTERNAL KOI8-T// KOI8-T 1 + +# from to module cost +module GEORGIAN-PS// INTERNAL GEORGIAN-PS 1 +module INTERNAL GEORGIAN-PS// GEORGIAN-PS 1 + +# from to module cost +module GEORGIAN-ACADEMY// INTERNAL GEORGIAN-ACADEMY 1 +module INTERNAL GEORGIAN-ACADEMY// GEORGIAN-ACADEMY 1 diff --git a/iconvdata/georgian-academy.c b/iconvdata/georgian-academy.c new file mode 100644 index 0000000000..eb0e6364c2 --- /dev/null +++ b/iconvdata/georgian-academy.c @@ -0,0 +1,29 @@ +/* Conversion from and to GEORGIAN-ACADEMY. + Copyright (C) 2001 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper , 2001. + + 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 + +/* Specify the conversion table. */ +#define TABLES + +#define CHARSET_NAME "GEORGIAN-ACADEMY//" +#define HAS_HOLES 0 /* All 256 character are defined. */ + +#include <8bit-gap.c> diff --git a/iconvdata/georgian-ps.c b/iconvdata/georgian-ps.c new file mode 100644 index 0000000000..355eed3017 --- /dev/null +++ b/iconvdata/georgian-ps.c @@ -0,0 +1,29 @@ +/* Conversion from and to GEORGIAN-PS. + Copyright (C) 2001 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper , 2001. + + 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 + +/* Specify the conversion table. */ +#define TABLES + +#define CHARSET_NAME "GEORGIAN-PS//" +#define HAS_HOLES 0 /* All 256 character are defined. */ + +#include <8bit-gap.c> diff --git a/iconvdata/tst-tables.sh b/iconvdata/tst-tables.sh index f403d17010..fea3914df3 100755 --- a/iconvdata/tst-tables.sh +++ b/iconvdata/tst-tables.sh @@ -183,6 +183,8 @@ cat <