diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-08-04 08:05:56 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-08-04 08:05:56 +0000 |
commit | 6906cea4cc14c72110dc35c625491d482d4caef1 (patch) | |
tree | 858973a2557a4ab9a3761e13ec401fa9bec9dfbf /iconvdata | |
parent | 03003424c30119b74deb19557d809a3142e5a70d (diff) | |
download | glibc-6906cea4cc14c72110dc35c625491d482d4caef1.zip glibc-6906cea4cc14c72110dc35c625491d482d4caef1.tar.gz glibc-6906cea4cc14c72110dc35c625491d482d4caef1.tar.bz2 |
Update.
2001-08-04 Ulrich Drepper <drepper@redhat.com>
* 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.
Diffstat (limited to 'iconvdata')
-rw-r--r-- | iconvdata/Makefile | 8 | ||||
-rw-r--r-- | iconvdata/gconv-modules | 8 | ||||
-rw-r--r-- | iconvdata/georgian-academy.c | 29 | ||||
-rw-r--r-- | iconvdata/georgian-ps.c | 29 | ||||
-rwxr-xr-x | iconvdata/tst-tables.sh | 2 |
5 files changed, 73 insertions, 3 deletions
diff --git a/iconvdata/Makefile b/iconvdata/Makefile index 53aeb24..419ea3c 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 54692de..1eacc1b 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 0000000..eb0e636 --- /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 <drepper@cygnus.com>, 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 <stdint.h> + +/* Specify the conversion table. */ +#define TABLES <georgian-academy.h> + +#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 0000000..355eed3 --- /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 <drepper@cygnus.com>, 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 <stdint.h> + +/* Specify the conversion table. */ +#define TABLES <georgian-ps.h> + +#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 f403d17..fea3914 100755 --- a/iconvdata/tst-tables.sh +++ b/iconvdata/tst-tables.sh @@ -183,6 +183,8 @@ cat <<EOF | TIS-620 KOI8-U VISCII + GEORGIAN-PS + GEORGIAN-ACADEMY #ISIRI-3342 This charset concept is completely broken # # Multibyte encodings come here |