about summary refs log tree commit diff
path: root/iconvdata
Commit message (Collapse)AuthorAgeFilesLines
* * malloc/memusagestat.c (main): Use return instead of exit to Andreas Jaeger2000-12-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | avoid warning. * io/pwd.c (main): Likewise. * iconvdata/tst-table-from.c (main): Likewise. * ctype/test_ctype.c (main): Likewise. * setjmp/tst-setjmp.c (main): Likewise. * signal/tst-signal.c (main): Likewise. * stdlib/tst-strtol.c (main): Likewise. * stdlib/tst-strtod.c (main): Likewise. * stdlib/tst-strtoll.c (main): Likewise. * stdlib/tst-xpg-basename.c (main): Likewise. * dirent/tst-seekdir.c (main): Likewise. * grp/testgrp.c (main): Likewise. * inet/test_ifindex.c (main): Likewise. * io/test-utime.c (main): Likewise. * posix/test-vfork.c (main): Likewise. * posix/testfnm.c (main): Likewise. * stdio-common/temptest.c (main): Likewise. * stdio-common/test_rdwr.c (main): Likewise. * stdio-common/tst-fileno.c (main): Likewise. * stdio-common/tst-sscanf.c (main): Likewise. * stdio-common/tstscanf.c (main): Likewise. * string/bug-strncat1.c (main): Likewise. * string/bug-strpbrk1.c (main): Likewise. * string/bug-strspn1.c (main): Likewise. * string/test-ffs.c (main): Likewise. * string/tst-inlcall.c (main): Likewise. * string/tst-svc.c (main): Likewise. * timezone/test-tz.c (main): Likewise. * wctype/test_wcfuncs.c (main): Likewise. * wctype/test_wctype.c (main): Likewise. * stdlib/tst-random.c: Add attribute noreturn to fail.
* Update.Ulrich Drepper2000-12-045-9/+3
| | | | | | | | | | * iconvdata/SJIS.irreversible: Remove unnecessary entries. * iconvdata/EUC-JP.irreversible: Remove unnecessary entries. * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde. * iconvdata/jis0208.c: Likewise. * iconvdata/jis0212.c: Likewise. Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
* Update.Ulrich Drepper2000-11-2814-1/+679
| | | | | | | | | | | | | | | | | | | | | | 2000-11-28 Masahide Washizawa <washi@jp.ibm.com> * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129. (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h, and ibm1129.h. * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and IBM1129. * iconvdata/ibm922.c: New file. * iconvdata/ibm922.h: New file. * iconvdata/ibm1124.c: New file. * iconvdata/ibm1124.h: New file. * iconvdata/ibm1129.c: New file. * iconvdata/ibm1129.h: New file. * iconvdata/testdata/IBM922: New file. * iconvdata/testdata/IBM922..UTF8: New file. * iconvdata/testdata/IBM1124: New file. * iconvdata/testdata/IBM1124..UTF8: New file. * iconvdata/testdata/IBM1129: New file. * iconvdata/testdata/IBM1129..UTF8: New file.
* Update.Ulrich Drepper2000-11-2812-9/+17
| | | | | | | | | | | | | | | | | | | | * test-skeleton.c: Mark timeout_handler with noreturn. * iconv/skeleton.c (get16u): Add const to cast. (get32u): Likewise. * iconvdata/gb18030.c: Likewise. * iconvdata/iso-2022-cn-ext.c: Likewise. * iconvdata/ansi_x3.110.c: Add cast to avoid warning. * iconvdata/big5.c: Likewise. * iconvdata/big5hkscs.c: Likewise. * iconvdata/iso_6937.c: Likewise. * iconvdata/iso_6937-2.c: Likewise. * iconvdata/t.61.c: Likewise. * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env. * iconvdata/unicode.c: Likewise. * iconvdata/utf-16.c: Likewise. * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t. * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning with little code shuffling.
* Update.Ulrich Drepper2000-11-272-1/+3
| | | | | | | | | | | | | | 2000-11-27 Ulrich Drepper <drepper@redhat.com> * iconv/gconv.h (__gconv_info): Define __data element using __flexarr. * misc/sys/cdefs.h: Define __flexarr. Proposed by Joseph S. Myers <jsm28@cam.ac.uk>. * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings. * iconv/skeleton.c: Likewise. * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast. * iconv/loop.c (get16): Add const to cast. (get32): Likewise.
* Update.Ulrich Drepper2000-11-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 2000-11-20 Jakub Jelinek <jakub@redhat.com> * iconvdata/bug-iconv2.c (main): Use %zd in format string. * io/test-lfs.c (do_test): Cast statbuf.st_size to long long. * malloc/tst-valloc.c (main): Cast valloc return value to long. * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string. * math/test-fpucw.c (main): Use %lx in format string, cast control words to long. * stdio-common/tst-fmemopen.c (main): Use %td in format strings. * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so large that it is unsigned warning. * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing it to long on sparc64. 2000-11-20 Andreas Jaeger <aj@suse.de> * nscd/nscd.h (termination_handler): Add noreturn attribute. (receiv_print_stats): Likewise. * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
* Update.Ulrich Drepper2000-11-202-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-20 Ulrich Drepper <drepper@redhat.com> * csu/gmon-start.c: Always have prototype for __gmon_start. * csu/version.c: Add prototypes for __libc_print_version and __libc_main. * iconv/gconv.c: Include gconv_int.h and gconv.h. * iconv/gconv.h (struct __gconv_step): Remove const from __from_name and __to_name. * iconv/gconv_builtin.h: Add ASCII module definitions. * iconv/gconv_conf.c (__gconv_path_elem): Remove const. (add_module): Add cast to avoid warning. Rework construction of strings for new module. * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const. (derivation_compare): Likewise. * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep. (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk. * iconv/gconv_int.h (__gconv_path_elem): Remove const. (struct gconv_alias): Remove const from fromname and toname. * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes for loop functions. (internal_ucs4_loop): Use correct const-ness. (ucs4_internal_loop): Likewise. (internal_ucs4le_loop): Likewise. (ucs4le_internal_loop_single): Likewise. * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl, to_idx, to_tbl, winbuf, winbufend const. Change casts in assignments appropriately. (struct known_trans): Remove const from fname. (trans_compare): Make s1 and s2 const. * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to avoid warning. * iconv/skeleton.c: Remove cast in calls of loop functions. * iconvdata/gconv-modules: Remove US-ASCII definitions. * iconvdata/iso646.c: Remove US_ASCII support. * include/set-hooks.h (DEFINE_HOOK): Also generate prototype. * include/unistd.h: Add __libc_check_standard_fds prototype. * string/bits/string2.h (__mempcpy_args): Add const to casts. * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and _fini. * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main. * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts. * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid warning. * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for __libc_init_first and _dl_start. * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
* Update.Ulrich Drepper2000-11-161-0/+1
| | | | | | | | | | | | * iconvdata/gconv-modules: Add CP950 alias. 2000-11-13 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/Makefile: Allow ports to override syscall-list.h goal. * sysdeps/unix/sysv/linux/sparc/Makefile: New file. 2000-11-15 Ulrich Drepper <drepper@redhat.com>
* Add CP936 as alias for GBK.Ulrich Drepper2000-11-151-0/+1
|
* Update.Ulrich Drepper2000-11-083-12/+9
| | | | | | | | | | 2000-11-08 Ulrich Drepper <drepper@redhat.com> * iconvdata/euc-kr.c (euckr_from_ucs4): Map 0x20a9 to \xa3dc. (BODY from direction): Remove special handling of \x5c. * iconvdata/EUC-KR.irreversible: Adjust for this change. * iconvdata/testdata/EUC-KR..UTF8: Likewise. Reported by Jungshik Shin <jshin@pantheon.yale.edu>.
* Update.Ulrich Drepper2000-11-071-3377/+3380
| | | | | | | | | | | | | | | | | 2000-11-06 Ulrich Drepper <drepper@redhat.com> * iconvdata/big5.c: Regenerated after BIG5 charmap change. Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>. * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Fix typo in comparison with new cache magic bytes. Patch by Denis Zaitsev <zzz@cd-club.ru>. 2000-11-03 Bruno Haible <haible@clisp.cons.org> * locale/C-translit.h.in: Update from translit_neutral. * locale/C-translit.h: Regenerated. * intl/tst-translit.c: Update.
* Update. glibc-2.1.97 cvs/glibc-2_1_97Ulrich Drepper2000-11-031-1/+1
| | | | | | * iconvdata/Makefile (distribute): Add viscii.c. * elf/Makefile (distribute): Add tst-pathopt.sh.
* Update.Ulrich Drepper2000-11-021-1/+1
| | | | | | | | | | | | | | | | | | 2000-11-02 Ulrich Drepper <drepper@redhat.com> * iconvdata/utf-16.c (PREPARE_LOOP): Correct typo preventing BOM from being written. * manual/socket.texi (Local Namespace Concepts): Don't mention what permissions are necessary to connect to a socket. Reported by Peter Eisentraut <peter_e@gmx.net>. * sysdeps/generic/backtracesyms.c (__backtrace_symbols): Fix computation of total for 64-bit machines. Patch by Byron Stanoszek <gandalf@winds.org>. * manual/arith.texi (Rounding): Correct description of fesetround return value. Patch by Conrado Badenas <Conrado.Badenas@uv.es>.
* Update.Ulrich Drepper2000-11-0216-2/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | * iconvdata/TESTS: Add entries for IBM856, IBM930, IBM933, IBM935, IBM937, IBM939, and IBM1046. * iconvdata/testdata/IBM1046: New file. * iconvdata/testdata/IBM930..UTF8: New file. * iconvdata/testdata/IBM1046..UTF8: New file. * iconvdata/testdata/IBM933: New file. * iconvdata/testdata/IBM935: New file. * iconvdata/testdata/IBM937: New file. * iconvdata/testdata/IBM856..UTF8: New file. * iconvdata/testdata/IBM939: New file. * iconvdata/testdata/IBM933..UTF8: New file. * iconvdata/testdata/IBM935..UTF8: New file. * iconvdata/testdata/IBM930: New file. * iconvdata/testdata/IBM856: New file. * iconvdata/testdata/IBM937..UTF8: New file. * iconvdata/testdata/IBM939..UTF8: New file. Contributed by Masahide Washizawa <washi@yamato.ibm.co.jp>. 2000-11-01 Martin Buchholz <martin@xemacs.org> * manual/memory.texi (Hooks for Malloc): Fix `caller' arg docs to agree with implementation. 2000-11-01 Ulrich Drepper <drepper@redhat.com>
* Update.Ulrich Drepper2000-10-3116-0/+46203
| | | | | | | | | | | | | 2000-10-31 Ulrich Drepper <drepper@redhat.com> * iconvdata/Makefile (modules): Add IBM856, IBM930, IBM933, IBM935, IBM937, IBM939, and IBM1046. (distribute): Add ibm856.c, ibm930.c, ibm933.c, ibm935.c, ibm937.c, ibm939.c, ibm1046.c, ibm856.h, ibm930.h, ibm933.h, ibm935.h, ibm937.h, ibm939.h, and ibm1046.h. * iconvdata/gconv-modules: Add entries for IBM856, IBM930, IBM933, IBM935, IBM937, IBM939, and IBM1046. Patches by Masahide Washizawa <washi@yamato.ibm.co.jp>.
* Update.Ulrich Drepper2000-10-303-3628/+3442
| | | | | | | | | | 2000-10-29 Ulrich Drepper <drepper@redhat.com> * iconvdata/big5.c: Update. Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>. * iconvdata/Makefile (distribute): Add BIG5.irreversible. * iconvdata/BIG5.irreversible: New file.
* Update.Ulrich Drepper2000-10-274-4/+36
| | | | | | | | | | 2000-10-27 Ulrich Drepper <drepper@redhat.com> * iconvdata/Makefile (modules): Add VISCII. (gen-8bit-modules): Add viscii. * iconvdata/viscii.c: New file. * iconvdata/gconv-modules: Add entries for VISCII. * iconvdata/tst-tables.sh: Add VISCII.
* Update. glibc-2.1.96 cvs/glibc-2_1_96Ulrich Drepper2000-10-271-1/+2
| | | | | | | | | | | | | | | | | | * inet/getipnodebyad.c: Removed. * inet/getipnodebynm.c: Removed. * inet/tst-ipnode.c: Removed. * inet/freehostent.c: Removed. * sysdeps/unix/bsd/osf/=dirstream.h: Removed. * sysdeps/unix/sysv/linux/Dist: Add bits/initspin.h. * elf/Makefile (distribute): Add neededobj4.c. * iconvdata/Makefile (distribute): Add BIG5HKSCS.irreversible. * sysdeps/hppa/Dist: New file. * sysdeps/unix/sysv/linux/hppa/Dist: New file.
* Update.Ulrich Drepper2000-10-232-1/+13
| | | | | | | | | | | | | | | | | | 2000-10-22 Bruno Haible <haible@clisp.cons.org> * iconvdata/big5hkscs.c (big5hkscs_to_ucs): Add irreversible mappings for 0x8BF8, 0xA27E..0xA2A7. * iconvdata/BIG5HKSCS.irreversible: New file. 2000-10-23 Jakub Jelinek <jakub@redhat.com> * timezone/zdump.c (main): setlocale LC_CTYPE as well as LC_MESSAGES. * timezone/zic.c (main): Likewise. 2000-10-23 Thorsten Kukuk <kukuk@suse.de> * nscd/connections.c (invalidate_cache): Don't invalidate a cache if it is not enabled.
* Update.Ulrich Drepper2000-10-163-2/+11
| | | | | | | | | | | | | | 2000-10-15 Pete Wyckoff <pw@osc.edu> * Rules: Define _LIBC during generation of bits/stdio_lim.d. 2000-10-15 Pete Wyckoff <pw@osc.edu> * iconvdata/tst-tables.sh: Invoke other shell scripts through ${SHELL}. * iconvdata/tst-table.sh: Likewise. * iconvdata/gconv-modules: Add aliases for Winblowz charsets. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
* Update.Ulrich Drepper2000-10-051-1/+1
| | | | * iconvdata/Makefile (distribute): Add EUC-KR.irreversible.
* Update.Ulrich Drepper2000-10-043-13/+18
| | | | | | | * iconvdata/euc-kr.c (euckr_from_ucs4): Handle U20a9. (BODY from direction): Map \x5c to U20a9. * iconvdata/testdata/EUC-KR..UTF8: Adjust to this change. * iconvdata/EUC-KR.irreversible: New file.
* Update.Ulrich Drepper2000-10-011-0/+1
| | | | | | | | 2000-09-30 Bruno Haible <haible@clisp.cons.org> * tests-mbwc/tst_wcscmp.c (tst_wcscmp): Take the sign of ret. * tests-mbwc/dat_wcscmp.c (tst_wcscmp_loc): Don't expect precise return values. Only the sign matters.
* Update.Ulrich Drepper2000-09-264-24/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-23 Bruno Haible <haible@clisp.cons.org> * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0. (__gbk_to_ucs): Conditionalize private area mappings. (__gbk_from_ucs4_tab9): Likewise. (BODY for TO_LOOP): Likewise. * iconvdata/testdata/GBK: Don't use characters not yet in Unicode. * iconvdata/testdata/GBK..UTF-8: Likewise. * iconvdata/tst-tables.sh: Enable GBK test. 2000-09-23 Bruno Haible <haible@clisp.cons.org> * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015. (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015. (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds array access. * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA. * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015. 2000-09-23 Bruno Haible <haible@clisp.cons.org> * iconvdata/johab.c (final_to_ucs): Fix typos. (jamo_from_ucs_table): Likewise. (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges 0xD9E6..0xD9FE and 0xDEF2..0xDEFE. (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in the range 0xD9E6..0xD9FE. * iconvdata/tst-tables.sh: Enable JOHAB testing.
* Update.Ulrich Drepper2000-09-253-13/+21
| | | | | | | * charmaps/GBK: Add commented mappings for GBK characters not yet in Unicode. 2000-09-23 Bruno Haible <haible@clisp.cons.org>
* Update.Ulrich Drepper2000-09-252-17/+20
| | | | | | | | | | | 2000-09-25 Ulrich Drepper <drepper@redhat.com> * SUPPORTED: Remove ko_KR.JOHAB. We don't want to encourage people to use it. 2000-09-23 Bruno Haible <haible@clisp.cons.org> * charmaps/JOHAB: Add identity mapping for 0x7f.
* Update.Ulrich Drepper2000-09-251-9/+9
| | | | | | | | | | | | | | | | | | | 2000-09-24 Ulrich Drepper <drepper@redhat.com> * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if stream is in wide mode. * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream. 2000-09-21 Bruno Haible <haible@clisp.cons.org> * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count by 3, not 2. (INIT_PARAMS, UPDATE_PARAMS): Likewise. handling. * stdio/tst-printf.sh: Adjust expected results. Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
* Update.Ulrich Drepper2000-09-2418-5/+6271
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-20 Bruno Haible <haible@clisp.cons.org> * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80. (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half characters. * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits as equivalent to uppercase hexadecimal digits. 2000-09-20 Bruno Haible <haible@clisp.cons.org> * iconvdata/testdata/EUC-KR..UTF8: New file. * iconvdata/testdata/EUC-TW: New file. * iconvdata/testdata/EUC-TW..UTF8: New file. * iconvdata/testdata/EUC-JP: New file. * iconvdata/testdata/EUC-JP..UTF8: New file. * iconvdata/testdata/ISO-2022-JP: New file. * iconvdata/testdata/ISO-2022-JP..UTF8: New file. * iconvdata/testdata/ISO-2022-JP-2: New file. * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file. * iconvdata/testdata/ISO-2022-KR: Add a few more lines. * iconvdata/testdata/ISO-2022-KR..UTF8: New file. * iconvdata/testdata/ISO-2022-CN: New file. * iconvdata/testdata/ISO-2022-CN..UTF8: New file. * iconvdata/testdata/ISO-2022-CN-EXT: New file. * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file. * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2, ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW. (add_single_dir): New function. * elf/ldconfig.c (search_dir): Make more use of d_type information.
* Update.Andreas Jaeger2000-09-201-1/+2
| | | | | | | | | | | | | 2000-09-20 Andreas Jaeger <aj@suse.de> * iconvdata/Makefile (generated): Add tst-tables.out. * intl/Makefile (generated): Add test output. 2000-09-19 Andreas Jaeger <aj@suse.de> * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer. Reported by Jens-Uwe Mager <jum@helios.de>.
* Update.Ulrich Drepper2000-09-188-105/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-18 Ulrich Drepper <drepper@redhat.com> * version.h (VERSION): Bump to 2.1.94. * malloc/mtrace.c (mtrace): Mark stream as close on exec. 2000-09-17 Bruno Haible <haible@clisp.cons.org> * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the range 0xD800..0xDFFF. * iconvdata/unicode.c (BODY for TO_LOOP): Likewise. (BODY for FROM_LOOP): Likewise. * iconv/gconv_simple.c (ucs2_internal_loop): Likewise. (internal_ucs2_loop): Likewise. (ucs2reverse_internal_loop): Likewise. (internal_ucs2reverse_loop): Likewise. 2000-09-17 Bruno Haible <haible@clisp.cons.org> * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding names. 2000-09-17 Bruno Haible <haible@clisp.cons.org> * iconvdata/tst-table-from.c (main): Fix test for error on stdout. * iconvdata/tst-table-to.c (main): Likewise. 2000-09-17 Bruno Haible <haible@clisp.cons.org> * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from __isoir165_tab. * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration. * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h". (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set, CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values. (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3. Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT. (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643 plane 3. Fix shift sequences. Output announcement for SS2 and SS3 encodings when needed. When outputting an announcement, don't clear most other announcements. 2000-09-17 Bruno Haible <haible@clisp.cons.org> * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun. (BODY for TO_LOOP): Fix usage of `set' vs. `used'. 2000-09-14 Bruno Haible <haible@clisp.cons.org> * intl/Versions: Add bind_textdomain_codeset.
* Update.Ulrich Drepper2000-09-161-0/+2
| | | | | * iconvdata/tst-tables.sh: Add warning that GB18030 test might take longer.
* Update.Ulrich Drepper2000-09-134-5/+589
| | | | | | | | | | * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT. (distribute): Add iso-2022-cn-ext.c. Add definitions to compile the new module. * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT. * iconvdata/iso-2022-cn-ext.c: New file. * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from ucs4_from_isoir165. Increment input pointer if successful.
* Update.Ulrich Drepper2000-09-122-8091/+887
| | | | | | | | 2000-09-12 Ulrich Drepper <drepper@redhat.com> * iconvdata/gb18030.c: Many many changes. Make consistent with charmap and with itself. * iconvdata/tst-tables.sh: Test GB18030.
* Update.Ulrich Drepper2000-09-117-4/+619
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-10 Bruno Haible <haible@clisp.cons.org> * locale/programs/ld-collate.c (collate_read): Fix typo in handling of decimal ellipsis. 2000-09-11 Bruno Haible <haible@clisp.cons.org> * locale/programs/ld-collate.c (collate_read): Always initialize error_section.next. 2000-09-10 Bruno Haible <haible@clisp.cons.org> * locale/programs/ld-collate.c (collate_finish): Upper bound for ruleidx is 128, not 256. 2000-09-11 Ulrich Drepper <drepper@redhat.com> * locale/programs/ld-collate.c (collate_read): Correct check for already inserted entries. 2000-09-10 Bruno Haible <haible@clisp.cons.org> * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in second try as well. 2000-09-10 Bruno Haible <haible@clisp.cons.org> * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1. 2000-09-10 Bruno Haible <haible@clisp.cons.org> * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with SAVE_RESET_STATE. 2000-09-10 Bruno Haible <haible@clisp.cons.org> * iconvdata/utf-7.c: New file. * iconvdata/gconv-modules (UTF-7): New module entries. * iconvdata/Makefile (modules): Add UTF-7. (distribute): Add utf-7.c. * iconvdata/testdata/UTF-7: New file. * iconvdata/testdata/UTF-7..UTF8: New file. * iconvdata/TESTS (UTF-7): New entry. * iconvdata/run-iconv-test.sh: Fix confusing output.
* Update.Ulrich Drepper2000-09-081-1/+1
| | | | * iconvdata/tst-tables.sh: Enable EUC-KR test.
* Update.Ulrich Drepper2000-09-083-8/+21
| | | | | | | * iconvdata/tst-tables.sh: Actually return with an error if something goes wrong. * iconvdata/tst-table.sh: Return with an error if any of the cmp fails. * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
* Update.Ulrich Drepper2000-09-081-1/+1
| | | | * iconvdata/tst-tables.sh: Add BIG5HKSCS.
* Update.Ulrich Drepper2000-09-072-2/+3
| | | | | | * iconvdata/tst-table-to.c (main): Correct cast in iconv call. * iconvdata/tst-table-from.c: Include <string.h>. (try): Correct cast in iconv call.
* Update.Ulrich Drepper2000-09-051-7/+21
| | | | | * iconvdata/run-iconv-test.sh: Add code to immediate stop the script when ^C is hit.
* Update.Ulrich Drepper2000-09-0518-28/+787
| | | | | | | | | | | | | | | | | | | 2000-09-03 Bruno Haible <haible@clisp.cons.org> * charmaps/EUC-TW: Add commented non-reversible mappings. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * charmaps/CP949: New file. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * charmaps/GB2312: Remove 0x80..0xA0, 0xAA..0xAF, 0xF8..FF. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * charmaps/EUC-JP: Nonreversibly map 0xA1C0 to U+005C and 0x8FA2B7 to U+007E.
* Update.Ulrich Drepper2000-09-023-7860/+13241
| | | | | | * iconvdata/big5hkscs.c: Regenerated from charmap. * iconvdata/testdata/BIG5HKSCS: Regenerated. * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
* Update.Ulrich Drepper2000-08-311-2/+6
| | | | | | | | | | * iconv/gconv_conf.c (insert_module): Take extra parameter to decide whether the new record should be freed if it's a duplicate. (add_module): Adjust insert_module call. (__gconv_read_conf): Likewise. * iconvdata/Makefile (generated): Add tst-loading.mtrace and mtrace-tst-loading. (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
* Update.Ulrich Drepper2000-08-302-1/+185
| | | | | | | 2000-08-30 Ulrich Drepper <drepper@redhat.com> * iconvdata/Makefile (tests): Add tst-loading. * iconvdata/tst-loading.c: New file.
* Update.Ulrich Drepper2000-08-304-12581/+8492
| | | | | | | | | | | * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the official file. * iconvdata/TESTS: Add BIG5HKSCS entry. * iconvdata/testdata/BIG5HKSCS: New file. * iconvdata/testdata/BIG5HKSCS..UTF8: New file. * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is always true.
* Update.Ulrich Drepper2000-08-301-3/+3
| | | | * locales/ja_JP: Add yesstr and nostr information.
* Update.Ulrich Drepper2000-08-297-10/+69
| | | | | | | | | | | | | | | | | | | | | | | | 2000-08-29 Akira Higuchi <a@kondara.org> * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct, and __end_fct fields of struct __gconv_step. * iconv/Makefile (tests): Add iconv-bug2. * iconv/iconv-bug2.c: New file. * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr' instead of 'inptr - inend' to ksc5601_to_ucs4. * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character. * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete character or shift sequence is found at the end of the input string, return__GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT. * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise. * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise. * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return __GCONV_ILLEGAL_INPUT for 8bit characters.
* Update.Andreas Jaeger2000-08-251-0/+2
| | | | | | | * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on gconv-modules. 2000-08-25 Andreas Jaeger <aj@suse.de>
* (gconv_init): Correct test for direction.Ulrich Drepper2000-08-241-1/+1
|
* In conversion to ISO-2022-JP, add two missing buffer size checks.Ulrich Drepper2000-08-231-0/+12
|
* Update.Ulrich Drepper2000-08-233-3/+46
| | | | | | | | * iconvdata/sjis.c: In conversion from UCS4, correct test for enough room in target buffer. Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865]. * iconvdata/bug-iconv1.c: New file. * iconvdata/Makefile (tests): Add bug-iconv1.