mirror of git://sourceware.org/git/glibc.git
Update.
* iconvdata/sjis.c (gconv): Remove superfluous varaible declarations. * iconvdata/Makefile: Add rules for big5 conversion. * iconvdata/gconv-modules: Likewise. * iconvdata/big5.c: New file.
This commit is contained in:
parent
36fafd9c3a
commit
8d5c30bd8f
|
@ -1,5 +1,11 @@
|
||||||
1998-04-12 Ulrich Drepper <drepper@cygnus.com>
|
1998-04-12 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
|
||||||
|
|
||||||
|
* iconvdata/Makefile: Add rules for big5 conversion.
|
||||||
|
* iconvdata/gconv-modules: Likewise.
|
||||||
|
* iconvdata/big5.c: New file.
|
||||||
|
|
||||||
* time/mktime.c (TYPE_MAXIMUM): Add missing cast.
|
* time/mktime.c (TYPE_MAXIMUM): Add missing cast.
|
||||||
Patch by Jim Meyering.
|
Patch by Jim Meyering.
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ modules := ISO8859-1 ISO8859-2 ISO8859-3 ISO8859-4 ISO8859-5 \
|
||||||
ISO8859-6 ISO8859-7 ISO8859-8 ISO8859-9 ISO8859-10 \
|
ISO8859-6 ISO8859-7 ISO8859-8 ISO8859-9 ISO8859-10 \
|
||||||
T.61 ISO_6937 SJIS KOI-8 KOI8-R LATIN-GREEK LATIN-GREEK-1 \
|
T.61 ISO_6937 SJIS KOI-8 KOI8-R LATIN-GREEK LATIN-GREEK-1 \
|
||||||
HP-ROMAN8 EBCDIC-AT-DE EBCDIC-AT-DE-A EBCDIC-CA-FR \
|
HP-ROMAN8 EBCDIC-AT-DE EBCDIC-AT-DE-A EBCDIC-CA-FR \
|
||||||
EUC-KR UHC JOHAB libJIS libKSC ISO646
|
EUC-KR UHC JOHAB libJIS libKSC ISO646 BIG5
|
||||||
modules.so := $(addsuffix .so, $(modules))
|
modules.so := $(addsuffix .so, $(modules))
|
||||||
|
|
||||||
|
|
||||||
|
@ -57,6 +57,7 @@ EBCDIC-CA-FR-routines := ebcdic-ca-fr
|
||||||
EUC-KR-routines := euckr
|
EUC-KR-routines := euckr
|
||||||
JOHAB-routines := johab
|
JOHAB-routines := johab
|
||||||
UHC-routines := uhc
|
UHC-routines := uhc
|
||||||
|
BIG5-routines := big5
|
||||||
libJIS-routines := jis0201 jis0208 jis0212
|
libJIS-routines := jis0201 jis0208 jis0212
|
||||||
libKSC-routines := ksc5601
|
libKSC-routines := ksc5601
|
||||||
|
|
||||||
|
@ -78,7 +79,7 @@ distribute := 8bit-generic.c 8bit-gap.c gap.pl gaptab.pl gconv-modules \
|
||||||
latin-greek.h latin-greek-1.c latin-greek-1.h ebcdic-at-de.c \
|
latin-greek.h latin-greek-1.c latin-greek-1.h ebcdic-at-de.c \
|
||||||
ebcdic-at-de-a.c ebcdic-ca-fr.c jis0201.c jis0208.c jis0212.c \
|
ebcdic-at-de-a.c ebcdic-ca-fr.c jis0201.c jis0208.c jis0212.c \
|
||||||
extra-module.mk euckr.c johab.c uhc.c ksc5601.c ksc5601.h \
|
extra-module.mk euckr.c johab.c uhc.c ksc5601.c ksc5601.h \
|
||||||
iso646.c
|
iso646.c big5.c
|
||||||
|
|
||||||
# We build the transformation modules only when we build shared libs.
|
# We build the transformation modules only when we build shared libs.
|
||||||
ifeq (yes,$(build-shared))
|
ifeq (yes,$(build-shared))
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -219,3 +219,10 @@ module ISO-10646/UCS4/ UHC// UHC 1
|
||||||
alias MSCP1361// JOHAB//
|
alias MSCP1361// JOHAB//
|
||||||
module JOHAB// ISO-10646/UCS4/ JOHAB 1
|
module JOHAB// ISO-10646/UCS4/ JOHAB 1
|
||||||
module ISO-10646/UCS4/ JOHAB// JOHAB 1
|
module ISO-10646/UCS4/ JOHAB// JOHAB 1
|
||||||
|
|
||||||
|
# from to module cost
|
||||||
|
alias BIG-FIVE// BIG5//
|
||||||
|
alias BIGFIVE// BIG5//
|
||||||
|
alias BIG-5// BIG5//
|
||||||
|
module BIG5// ISO-10646/UCS4/ BIG5 1
|
||||||
|
module ISO-10646/UCS4/ BIG5// BIG5 1
|
||||||
|
|
|
@ -4055,9 +4055,6 @@ gconv (struct gconv_step *step, struct gconv_step_data *data,
|
||||||
result = GCONV_OK;
|
result = GCONV_OK;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
struct gconv_step *next_step = step + 1;
|
|
||||||
struct gconv_step_data *next_data = data + 1;
|
|
||||||
|
|
||||||
result = (*fct) (next_step, next_data, NULL, 0, written, 1);
|
result = (*fct) (next_step, next_data, NULL, 0, written, 1);
|
||||||
|
|
||||||
/* Clear output buffer. */
|
/* Clear output buffer. */
|
||||||
|
|
Loading…
Reference in New Issue