about summary refs log tree commit diff
path: root/iconvdata
Commit message (Collapse)AuthorAgeFilesLines
* * iconvdata/Makefile (modules): Add IBM803, IBM901, IBM902, IBM921,Ulrich Drepper2005-09-29118-2/+4813
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IBM1008, IBM1008_420, IBM1097, IBM1112, IBM1123, IBM1130, IBM1140, IBM1141, IBM1142, IBM1143, IBM1144, IBM1145, IBM1146, IBM1147, IBM1148, IBM1149, IBM1166, IBM1167, IBM4517, IBM4899, IBM4909, IBM4971, IBM5347, IBM9030, IBM9066, IBM9448, IBM12712, IBM16804. (distribute): Add ibm803.c, ibm803.h, ibm901.c, ibm901.h, ibm902.c, ibm902.h, ibm921.c, ibm921.h, ibm1008.c, ibm1008.h, ibm1008_420.c, ibm1097.c, ibm1097.h, ibm1112.c, ibm1112.h, ibm1123.c, ibm1123.h, ibm1130.c, ibm1130.h, ibm1140.c, ibm1140.h, ibm1141.c, ibm1141.h, ibm1142.c, ibm1142.h, ibm1143.c, ibm1143.h, ibm1144.c, ibm1144.h, ibm1145.c, ibm1145.h, ibm1146.c, ibm1146.h, ibm1147.c, ibm1147.h, ibm1148.c, ibm1148.h, ibm1149.c, ibm1149.h, ibm1166.c, ibm1166.h, ibm1167.c, ibm1167.h, ibm4517.c, ibm4517.h, ibm4899.c, ibm4899.h, ibm4909.c, ibm4909.h, ibm4971.c, ibm4971.h, ibm5347.c, ibm5347.h, ibm9030.c, ibm9030.h, ibm9066.c, ibm9066.h, ibm9448.c, ibm9448.h, ibm12712.c, ibm12712.h, ibm16804.c, ibm16804.h. * iconvdata/TESTS: Add entries for new modules. * iconvdata/gconv-modules: Likewise. * iconvdata/ibm803.c: New file. * iconvdata/ibm803.h: New file. * iconvdata/ibm901.c: New file. * iconvdata/ibm901.h: New file. * iconvdata/ibm902.c: New file. * iconvdata/ibm902.h: New file. * iconvdata/ibm921.c: New file. * iconvdata/ibm921.h: New file. * iconvdata/ibm1008.c: New file. * iconvdata/ibm1008.h: New file. * iconvdata/ibm1008_420.c: New file. * iconvdata/ibm1097.c: New file. * iconvdata/ibm1097.h: New file. * iconvdata/ibm1112.c: New file. * iconvdata/ibm1112.h: New file. * iconvdata/ibm1123.c: New file. * iconvdata/ibm1123.h: New file. * iconvdata/ibm1130.c: New file. * iconvdata/ibm1130.h: New file. * iconvdata/ibm1140.c: New file. * iconvdata/ibm1140.h: New file. * iconvdata/ibm1141.c: New file. * iconvdata/ibm1141.h: New file. * iconvdata/ibm1142.c: New file. * iconvdata/ibm1142.h: New file. * iconvdata/ibm1143.c: New file. * iconvdata/ibm1143.h: New file. * iconvdata/ibm1144.c: New file. * iconvdata/ibm1144.h: New file. * iconvdata/ibm1145.c: New file. * iconvdata/ibm1145.h: New file. * iconvdata/ibm1146.c: New file. * iconvdata/ibm1146.h: New file. * iconvdata/ibm1147.c: New file. * iconvdata/ibm1147.h: New file. * iconvdata/ibm1148.c: New file. * iconvdata/ibm1148.h: New file. * iconvdata/ibm1149.c: New file. * iconvdata/ibm1149.h: New file. * iconvdata/ibm1166.c: New file. * iconvdata/ibm1166.h: New file. * iconvdata/ibm1167.c: New file. * iconvdata/ibm1167.h: New file. * iconvdata/ibm4517.c: New file. * iconvdata/ibm4517.h: New file. * iconvdata/ibm4899.c: New file. * iconvdata/ibm4899.h: New file. * iconvdata/ibm4909.c: New file. * iconvdata/ibm4909.h: New file. * iconvdata/ibm4971.c: New file. * iconvdata/ibm4971.h: New file. * iconvdata/ibm5347.c: New file. * iconvdata/ibm5347.h: New file. * iconvdata/ibm9030.c: New file. * iconvdata/ibm9030.h: New file. * iconvdata/ibm9066.c: New file. * iconvdata/ibm9066.h: New file. * iconvdata/ibm9448.c: New file. * iconvdata/ibm9448.h: New file. * iconvdata/ibm12712.c: New file. * iconvdata/ibm12712.h: New file. * iconvdata/ibm16804.c: New file. * iconvdata/ibm16804.h: New file. * iconvdata/testdata/IBM803: New file. * iconvdata/testdata/IBM803..UTF8: New file. * iconvdata/testdata/IBM901: New file. * iconvdata/testdata/IBM901..UTF8: New file. * iconvdata/testdata/IBM902: New file. * iconvdata/testdata/IBM902..UTF8: New file. * iconvdata/testdata/IBM921: New file. * iconvdata/testdata/IBM921..UTF8: New file. * iconvdata/testdata/IBM1008: New file. * iconvdata/testdata/IBM1008..UTF8: New file. * iconvdata/testdata/IBM1097: New file. * iconvdata/testdata/IBM1097..UTF8: New file. * iconvdata/testdata/IBM1112: New file. * iconvdata/testdata/IBM1112..UTF8: New file. * iconvdata/testdata/IBM1123: New file. * iconvdata/testdata/IBM1123..UTF8: New file. * iconvdata/testdata/IBM1130: New file. * iconvdata/testdata/IBM1130..UTF8: New file. * iconvdata/testdata/IBM1140: New file. * iconvdata/testdata/IBM1140..UTF8: New file. * iconvdata/testdata/IBM1141: New file. * iconvdata/testdata/IBM1141..UTF8: New file. * iconvdata/testdata/IBM1142: New file. * iconvdata/testdata/IBM1142..UTF8: New file. * iconvdata/testdata/IBM1143: New file. * iconvdata/testdata/IBM1143..UTF8: New file. * iconvdata/testdata/IBM1144: New file. * iconvdata/testdata/IBM1144..UTF8: New file. * iconvdata/testdata/IBM1145: New file. * iconvdata/testdata/IBM1145..UTF8: New file. * iconvdata/testdata/IBM1146: New file. * iconvdata/testdata/IBM1146..UTF8: New file. * iconvdata/testdata/IBM1147: New file. * iconvdata/testdata/IBM1147..UTF8: New file. * iconvdata/testdata/IBM1148: New file. * iconvdata/testdata/IBM1148..UTF8: New file. * iconvdata/testdata/IBM1149: New file. * iconvdata/testdata/IBM1149..UTF8: New file. * iconvdata/testdata/IBM1166: New file. * iconvdata/testdata/IBM1166..UTF8: New file. * iconvdata/testdata/IBM1167: New file. * iconvdata/testdata/IBM1167..UTF8: New file. * iconvdata/testdata/IBM4517: New file. * iconvdata/testdata/IBM4517..UTF8: New file. * iconvdata/testdata/IBM4899: New file. * iconvdata/testdata/IBM4899..UTF8: New file. * iconvdata/testdata/IBM4909: New file. * iconvdata/testdata/IBM4909..UTF8: New file. * iconvdata/testdata/IBM4971: New file. * iconvdata/testdata/IBM4971..UTF8: New file. * iconvdata/testdata/IBM5347: New file. * iconvdata/testdata/IBM5347..UTF8: New file. * iconvdata/testdata/IBM9030: New file. * iconvdata/testdata/IBM9030..UTF8: New file. * iconvdata/testdata/IBM9066: New file. * iconvdata/testdata/IBM9066..UTF8: New file. * iconvdata/testdata/IBM9448: New file. * iconvdata/testdata/IBM9448..UTF8: New file. * iconvdata/testdata/IBM12712: New file. * iconvdata/testdata/IBM12712..UTF8: New file. * iconvdata/testdata/IBM16804: New file. * iconvdata/testdata/IBM16804..UTF8: New file. * iconvdata/run-iconv-test.sh: Run ASCII->encoding->ASCII suntzus test only if $subset is N.
* Tables for IBM1008 iconv module.Ulrich Drepper2005-09-291-0/+153
|
* IBM1008 iconv module.Ulrich Drepper2005-09-299-0/+746
|
* Run ASCII->encoding->ASCII suntzus test only if $subset is N.Ulrich Drepper2005-09-291-2/+2
|
* [BZ #395]Ulrich Drepper2005-09-232-9/+20
| | | | | | | | | | | | | | | * iconvdata/jis0208.c (__jisx0208_from_ucs4_lat1): Reduce size of array. * iconvdata/jis0208.h (ucs4_to_jisx0208): Adjust access. 2004-08-13 GOTO Masanori <gotom@debian.or.jp> [BZ #395] * iconvdata/jis0208.c: Remove 0x005C mapping from __jisx0208_from_ucs4_lat1. Reported by Fumitoshi UKAI <ukai@debian.or.jp> 2005-09-23 Ulrich Drepper <drepper@redhat.com>
* * posix/bits/unistd.h (confstr, getgroups, ttyname_r, gethostname,Ulrich Drepper2005-08-081-20/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | getdomainname): Add __NTH. * stdlib/bits/stdlib.h (ptsname_r, wctomb, mbstowcs, wcstombs): Likewise. (realpath): Likewise. Use __const instead of const. Add __restrict keywords. * socket/bits/socket2.h (recvfrom): Add __restrict keyword to __buf. * wcsmbs/bits/wchar2.h (wmemcpy, wmemmove, wmempcpy, wmemset, wcscpy, wcpcpy, wcsncpy, wcpncpy, wcscat, wcsncat, vswprintf, wcrtomb, mbsrtowcs, wcsrtombs, mbsnrtowcs, wcsnrtombs): Add __NTH. * string/bits/string3.h (__memset_ichk): Likewise. (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk, __strcpy_ichk, __stpcpy_ichk, __strncpy_ichk, stpncpy, __strcat_ichk, __strncat_ichk): Likewise. Use __const instead of const. (__stpncpy_chk): Use __const instead of const. (__stpncpy_alias): Use __REDIRECT_NTH instead of __REDIRECT. 2005-08-08 Ulrich Drepper <drepper@redhat.com> Jakub Jelinek <jakub@redhat.com> * nscd/mem.c (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): Move definitions to... * nscd/nscd.h (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): ...here. * nscd/connections.c (usekey): New enum. (check_use, verify_persistent_db): New functions. (nscd_init): If persistent database is corrupted, unlink it and recreate rather than falling back to non-persistent database. Call verify_persistent_db. Avoid overflows in total computation. 2005-08-08 Ulrich Drepper <drepper@redhat.com> * iconvdata/utf-16.c (PREPARE_LOOP): Minor cleanups to make code better readable. Avoid passing var to loop function, it's not necessary at all.
* [BZ #955]Ulrich Drepper2005-05-211-10/+8
| | | | | | | | | | | | | | | | | | | | | | | 2005-05-19 Richard Henderson <rth@redhat.com> * sysdeps/unix/clock_gettime.c (clock_gettime): Fix typo around CLOCK_REALTIME. * sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_bool_32_acq, __arch_compare_and_exchange_bool_64_acq, __arch_compare_and_exchange_val_32_acq, __arch_compare_and_exchange_val_64_acq, atomic_exchange_and_add): Use __sync builtin without _si or _di suffix. 2005-05-19 Jakub Jelinek <jakub@redhat.com> [BZ #955] * iconvdata/ibm939.c (BODY): Avoid segfaults with input characters <UFFFF> and above. 2005-05-17 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (clock_getcpuclockid): Always return a defined value.
* * iconvdata/ibm930.h: Correct Yen mapping.Ulrich Drepper2005-02-2243-8/+1615
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * iconvdata/ibm939.h: Likewise. * iconvdata/testdata/IBM930..UTF8: Adjust test data. * iconvdata/testdata/IBM939..UTF8: Likewise. Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>. * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153, IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158. (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h, ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h, ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h, ibm1158.c, and ibm1158.h. * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153, IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158. * iconvdata/gconv-modules: Likewise. * iconvdata/ibm1025.c: New file. * iconvdata/ibm1025.h: New file. * iconvdata/ibm1122.c: New file. * iconvdata/ibm1122.h: New file. * iconvdata/ibm1137.c: New file. * iconvdata/ibm1137.h: New file. * iconvdata/ibm1153.c: New file. * iconvdata/ibm1153.h: New file. * iconvdata/ibm1154.c: New file. * iconvdata/ibm1154.h: New file. * iconvdata/ibm1155.c: New file. * iconvdata/ibm1155.h: New file. * iconvdata/ibm1156.c: New file. * iconvdata/ibm1156.h: New file. * iconvdata/ibm1157.c: New file. * iconvdata/ibm1157.h: New file. * iconvdata/ibm1158.c: New file. * iconvdata/ibm1158.h: New file. * iconvdata/testdata/IBM1025: New file. * iconvdata/testdata/IBM1025..UTF8: New file. * iconvdata/testdata/IBM1122: New file. * iconvdata/testdata/IBM1122..UTF8: New file. * iconvdata/testdata/IBM1137: New file. * iconvdata/testdata/IBM1137..UTF8: New file. * iconvdata/testdata/IBM1153: New file. * iconvdata/testdata/IBM1153..UTF8: New file. * iconvdata/testdata/IBM1154: New file. * iconvdata/testdata/IBM1154..UTF8: New file. * iconvdata/testdata/IBM1155: New file. * iconvdata/testdata/IBM1155..UTF8: New file. * iconvdata/testdata/IBM1156: New file. * iconvdata/testdata/IBM1156..UTF8: New file. * iconvdata/testdata/IBM1157: New file. * iconvdata/testdata/IBM1157..UTF8: New file. * iconvdata/testdata/IBM1158: New file. * iconvdata/testdata/IBM1158..UTF8: New file. Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
* * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use. cvs/fedora-glibc-20050208T0948Ulrich Drepper2005-02-081-10/+10
|
* (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.Ulrich Drepper2004-12-22216-108031/+25748
|
* 2.5-18.1Jakub Jelinek2007-07-12216-25748/+108031
|
* Encodings without iconv support.Ulrich Drepper2004-09-181-0/+66
|
* * iconvdata/testdata/ISO-2022-JP-3: Regenerated.Roland McGrath2004-08-111-3/+3
|
* Update.Ulrich Drepper2004-08-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-08-06 Ulrich Drepper <drepper@redhat.com> * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): Fix typo. Reported by Paolo Bonzini. 2004-08-06 Jakub Jelinek <jakub@redhat.com> * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add always_inline. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_runtime_setup, elf_machine_fixup_plt, elf_machine_plt_conflict): Likewise. * sysdeps/unix/sysv/linux/netatalk/at.h: Include bits/sockaddr.h before including linux/atalk.h. * resolv/res_libc.c: Include atomic.h. * intl/finddomain.c (free_mem): Rename to... (_nl_finddomain_subfreeres): ... this. Add __libc_freeres_fn_section. * intl/loadmsgcat.c (_nl_unload_domain): Add __libc_freeres_fn_section. * intl/gettextP.h (_nl_unload_domain): Move into #ifdef _LIBC. Add attribute_hidden. (_nl_findomain_subfreeres): New prototype. * iconv/gconv_db.c (free_mem): Call _nl_findomain_subfreeres.
* Update.Ulrich Drepper2004-08-0213-448/+519
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-08-02 Jakub Jelinek <jakub@redhat.com> * iconvdata/ibm932.c (BODY): Avoid binary search for ch >= 0xffff. Always treat high as highest number in range + 1. * iconvdata/ibm943.c (BODY): Likewise. 2004-07-31 Bruno Haible <bruno@clisp.org> * iconvdata/JISX0213.TXT: Updated to JISX0213 plane 1 version 2004. * iconvdata/jisx0213.c (__jisx0213_to_ucs_main, __jisx0213_to_ucs_pagestart, __jisx0213_from_ucs_level1, __jisx0213_from_ucs_level2): Regenerated. * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): New function. * iconvdata/iso-2022-jp-3.c (JISX0213_1_2000_set): Renamed from JISX0213_1_set. (JISX0213_1_2004_set): New enum value. (BODY for FROM_LOOP): Treat ESC $ ( Q like ESC $ ( O. (BODY for TO_LOOP): For JISX 0213 plane 1 characters, emit ESC $ ( O when possible, ESC $ ( Q when needed. * iconvdata/testdata/EUC-JISX0213: Add the 10 new characters. * iconvdata/testdata/EUC-JISX0213..UTF8: Update. * iconvdata/testdata/SHIFT_JISX0213: Add the 10 new characters. * iconvdata/testdata/SHIFT_JISX0213..UTF8: Update. * iconvdata/testdata/ISO-2022-JP-3: Add the 10 new JISX0213 characters. * iconvdata/testdata/ISO-2022-JP-3..UTF8: Update. 2004-07-22 Bruno Haible <bruno@clisp.org> * iconvdata/gconv-modules (ISO-8859-7): Add alias ISO_8859-7:2003.
* [BZ #244]Ulrich Drepper2004-07-201-0/+1
| | | | | | | Update. 2004-07-20 Ulrich Drepper <drepper@redhat.com> * iconvdata/gconv-modules: Add alias for IBM874 [BZ #244].
* Update.Ulrich Drepper2004-04-175-6/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-17 Ulrich Drepper <drepper@redhat.com> * locales/kk_KZ: New file. * charmaps/PT154: New file. * charmaps/RK1048: New file. * locales/af_ZA: Make sure yesexpr and noexpr regex * locales/ar_TN: Likewise. * locales/ar_YE: Likewise. * locales/bn_BD: Likewise. * locales/br_FR: Likewise. * locales/ca_ES: Likewise. * locales/cy_GB: Likewise. * locales/gd_GB: Likewise. * locales/gv_GB: Likewise. * locales/hy_AM: Likewise. * locales/id_ID: Likewise. * locales/ka_GE: Likewise. * locales/kw_GB: Likewise. * locales/lg_UG: Likewise. * locales/mk_MK: Likewise. * locales/oc_FR: Likewise. * locales/ru_UA: Likewise. * locales/sk_SK: Likewise. * locales/sr_YU: Likewise. * locales/sr_YU@cyrillic: Likewise. * locales/uk_UA: Likewise. * locales/ur_PK: Likewise. * locales/wa_BE: Likewise. * locales/fa_IR: Fix yesexpr and noexpr.
* Update.Ulrich Drepper2004-03-261-4/+4
| | | | | | | 2004-03-25 Ulrich Drepper <drepper@redhat.com> * iconvdata/utf-7.c: Remove inline from isdirect, isxdirect, and isxbase64.
* Update.Ulrich Drepper2004-03-121-0/+1
| | | | | | 2004-03-10 Chris Heath <chris@heathens.co.nz> * iconvdata/gconv.map: Add gconv_end (fixes memory leak).
* Update.Andreas Jaeger2004-03-074-8/+12
| | | | | | | | | | 2004-03-07 Andreas Jaeger <aj@suse.de> * iconvdata/iso-2022-cn-ext.c (BODY): Remove cast used as lvalue. * iconvdata/tcvn5712-1.c (EMIT_SHIFT_TO_INIT): Likewise. * iconvdata/euc-jisx0213.c (EMIT_SHIFT_TO_INIT): Likewise. * iconvdata/shift_jisx0213.c (EMIT_SHIFT_TO_INIT): Likewise. * iconvdata/tscii.c (EMIT_SHIFT_TO_INIT): Likewise.
* (BODY): Remove cast used as lvalue.Andreas Jaeger2004-03-071-2/+3
|
* Update.Andreas Jaeger2004-02-075-13/+23
| | | | | | | | | | | | | | | | | | | | 2004-02-07 Andreas Jaeger <aj@suse.de> * iconv/gconv_simple.c (ucs4le_internal_loop): Remove cast used as lvalue. (internal_ucs4le_loop_single): Likewise. (ucs4_internal_loop): Likewise. (BODY): Likewise. (internal_ucs4_loop_single): Likewise. * iconvdata/iso8859-1.c (BODY): Likewise. * iconvdata/cp1255.c (EMIT_SHIFT_TO_INIT): Likewise. * iconvdata/cp1258.c (EMIT_SHIFT_TO_INIT): Likewise. * iconvdata/gb18030.c (BODY): Likewise. * iconvdata/armscii-8.c (BODY): Likewise. * stdlib/msort.c (msort_with_tmp): Likewise. * iconv/gconv_open.c (__gconv_open): Remove conditional expression as lvalue.
* Update.Ulrich Drepper2004-01-191-37/+9
| | | | | | | | | | | 2003-12-31 Bruno Haible <bruno@clisp.org> * iconvdata/iso_6937-2.c (to_ucs4): Map 0x7E to U+007E, not U+203E. Map 0xA6 to U+0023. Map 0xA8 to U+00A4. (to_ucs4_comb): Map 0xC5 0x20 to U+00AF. (from_ucs4): Map U+00ED to 0xC2 0x69, not 0xC2 0xE9. (BODY for TO_LOOP): Don't map U+02DC. Map U+02DD to 0xCD 0x20, not 0x00 0x20. Don't map U+2500..U+25E3.
* Update.Ulrich Drepper2003-08-145-4251/+4717
| | | | | | | | | | | | | | 2003-08-14 Ulrich Drepper <drepper@redhat.com> * iconvdata/cp932.c: Fixed checking of a few border of code areas. Changed conversion of JIS X 0201 from using a table to calculating. * iconvdata/euc-jp-ms.c: Fixed conversion table and rewrote conversion routine. Changed CHARSET_NAME definition from EUCJP-MS to EUC-JP-MS. * iconvdata/tst-tables.sh: Add CP932 and EUC-JP-MS. * iconvdata/CP932.irreversible: New file. * iconvdata/EUC-JP-MS.irreversible: New file. Patch by MORIYAMA Masayuki <msyk@mtg.biglobe.ne.jp>.
* * iconvdata/cp932.c (BODY): STANDARD_ERR_HANDLER is now called Andreas Jaeger2003-07-202-4/+4
| | | | | | | | | | STANDARD_TO_LOOP_ERR_HANDLER. * iconvdata/euc-jp-ms.c (BODY): Likewise. 2003-07-20 Andreas Jaeger <aj@suse.de> * iconvdata/cp932.c (BODY): STANDARD_ERR_HANDLER is now called STANDARD_TO_LOOP_ERR_HANDLER. * iconvdata/euc-jp-ms.c (BODY): Likewise.
* Update.Ulrich Drepper2003-07-154-2/+9655
| | | | | | | | | | | | | | | | 2003-07-14 Ulrich Drepper <drepper@redhat.com> * iconvdata/Makefile (modules): Add CP932 and EUC-JP-MS. Add rule for EUC-JP-MS dependency. * iconvdata/cp932.c: New file. * iconvdata/eucjp-ms.c: New file. * iconvdata/gconv-modules: Add entries for CP932 and EUC-JP-MS. Patch by MORIYAMA Masayuki <msyk@mtg.biglobe.ne.jp>. 2003-07-15 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket): Add cfi directives.
* Update.Ulrich Drepper2003-06-161-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-16 Thorsten Kukuk <kukuk@suse.de> * include/libc-symbols.h: Add static_link_warning macro. * grp/initgroups.c: Print linker warning if this function is called in a static linked binary. * nss/getXXbyYY.c: Likewise. * nss/getXXbyYY_r.c: Likewise. * nss/getXXent.c: Likewise. * nss/getXXent_r.c: Likewise. * sysdeps/posix/getaddrinfo.c: Likewise. 2003-06-16 Bruno Haible <bruno@clisp.org> * iconvdata/gconv-modules (ISO-8859-15): Add aliases ISO_8859-15, LATIN-9. (ISO-8859-16): Add aliases ISO_8859-16:2001, ISO_8859-16. (IBM1047): Add alias IBM-1047. (GBK): Add aliases MS936, WINDOWS-936. 2003-06-16 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Define even if defined __ASSUME_STAT64_SYSCALL && defined XSTAT_IS_XSTAT64. (__xstat64_conv): Change xstat_conv to __xstat_conv. Reported by Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>.
* Update.Ulrich Drepper2003-06-132-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-13 Ulrich Drepper <drepper@redhat.com> Fixing gcc 3.3 warnings, part II. * argp/argp-help.c (hol_entry_long_iterate): Always inline. * elf/dl-load.c (cache_rpath): Don't inline. * iconvdata/cns11642l2.h: Always inline all functions. * iconvdata/iso-ir-165.h: Likewise. * locale/Makefile (aux): Add coll-lookup. * locale/coll-lookup.c: New file. * locale/coll-lookup.h (collidx_table_lookup): Do not define here. (collseq_table_lookup): Likewise. * locale/weightwc.h: Adjust collidx_table_lookup calls for name change. * posix/fnmatch_loop.c: Adjust collseq_table_lookup calls for name change. * posix/regcomp.c: Likewise. * posix/regexec.c: Likewise. * locale/programs/3level.h (*_get): Always inline. * locale/programs/locfile.h: Move definition of handle_copy to... * locale/programs/locfile.c: ...here. * locale/programs/ld-collate.c (obstack_int32_grow): Always inline. (obstack_int32_grow_fast): Likewise. (utf8_encode): Likewise. (find_element): Avoid aliasing problems. (insert_value): Likewise. (collate_read): Likewise. * nss/getent.c (print_hosts): Don't inline (print_networks): Likewise. (print_shadow): Likewise. (build_doc): Likewise. * nss/nss_files/files-parse.c [ENTDATA] (parser_stclass): Don't inline. * posix/regcomp.c (re_set_fastmap): Always inline. (seek_collating_symbol_entry): Likewise. (lookup_collation_sequence_value): Likewise. (build_range_exp): Likewise. (build_collating_symbol): Likewise. * posix/regexec.c (acquire_init_state_context): Don't inline. (clean_state_log_if_need): Likewise. * resolv/res_send.c (eConsIovec): Rewrite to not return struct and adjust all callers. (evConsTime): Likewise. (evAddTime): Likewise. (evSubTime): Likewise. (evNowTime): Likewise. (evTimeSpec): Removed. (__libc_res_nsend): Avoid aliasing problem. * sysdeps/unix/sysv/linux/ifreq.h: Move old_siocgifconf definition to.. * sysdeps/unix/sysv/linux/ifreq.c: ...here. * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_string_hwcap): Always inline. (_dl_string_platform): Likewise. * wctype/wchar-lookup.h (wctype_table_lookup): Always inline. (wcwidth_table_lookup): Likewise. (wctrans_table_lookup): Likewise. * sysdeps/unix/sysv/linux/sys/epoll.h: Include <stdint.h>.
* Update.Ulrich Drepper2003-06-1110-11/+31
| | | | | | | 2003-06-11 Ulrich Drepper <drepper@redhat.com> * allocatestack.c (queue_stack): Always inline. * ptreadhP.h (__do_cancel): Likewise.
* * Makerules ($(common-objpfx)shlib.lds): New target.Roland McGrath2003-04-261-1/+2
| | | | | | | | | | | (common-generated): Add it. (build-shlib, build-module): Use that instead of generating every time. ($(common-objpfx)libc.so): Depend on it. (lib%.so rule): Likewise. (build-module-helper-objlist): Remove %.lds. * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on $(common-objpfx)shlib.lds. * dlfcn/Makefile ($(test-modules)): Likewise.
* Update.Ulrich Drepper2003-03-261-1/+1
| | | | | | | | 2003-03-25 Jiro SEKIBA <jir@yamato.ibm.com> * iconvdata/euc-tw.c (from_euc_tw): Fix return value of TO_LOOP. * iconvdata/bug-iconv4.c: New file. * iconvdata/Makefile (tests): Add bug-iconv4.
* Test for EUC-TW bug with too-short output buffers.Ulrich Drepper2003-03-261-0/+78
|
* (from_euc_tw): Fix return value of TO_LOOP.Ulrich Drepper2003-03-261-3/+3
|
* * malloc/Versions (GLIBC_PRIVATE): Add __libc_thread_freeres.Roland McGrath2003-02-221-1/+4
| | | | | | | | | | | | | | | | | | * malloc/thread-freeres.c: New file. * malloc/Makefile (aux): Add it. * sunrpc/Versions (GLIBC_PRIVATE): Removed. * sunrpc/rpc_thread.c (__rpc_thread_destroy): Put in special section "__libc_thread_freeres_fn" and add to __libc_thread_subfreeres set. * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix. * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix. 2003-02-21 Roland McGrath <roland@frob.com> * sysdeps/mach/hurd/opendir.c (__opendir): Use O_NONBLOCK in open. * iconvdata/Makefile (tests): Add bug-iconv3 only if [$(have-thread-library) = yes].
* (BODY): Fix range of low surrogate.Ulrich Drepper2003-02-191-3/+3
|
* Update.Ulrich Drepper2003-02-052-1/+54
| | | | | | | 2003-02-04 Ulrich Drepper <drepper@redhat.com> * iconvdata/Makefile: Add rules to build and run bug-iconv3. * iconvdata/bug-iconv3.c: New file.
* Update.Ulrich Drepper2003-01-144-6/+42
| | | | | | | | | 2003-01-14 Ulrich Drepper <drepper@redhat.com> * iconvdata/Makefile: Add rules to build IBM866NAV. * iconvdata/ibm866nav.c: New file. * iconvdata/tst-tables.sh: Add IBM866NAV. * iconvdata/gconv-modules: Add entries for IBM866NAV.
* 2002-12-19 Roland McGrath <roland@redhat.com>Roland McGrath2002-12-1910-20286/+20286
| | | | | | | | | | | | | * iconvdata/ibm856.h: Convert GCC extension initializer syntax to C99. * iconvdata/ibm922.h: Likewise. * iconvdata/ibm930.h: Likewise. * iconvdata/ibm932.h: Likewise. * iconvdata/ibm933.h: Likewise. * iconvdata/ibm935.h: Likewise. * iconvdata/ibm937.h: Likewise. * iconvdata/ibm939.h: Likewise. * iconvdata/ibm943.h: Likewise. * iconvdata/isiri-3342.h: Likewise.
* Update.Ulrich Drepper2002-12-1912-139/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-19 Jakub Jelinek <jakub@redhat.com> * nscd/connections.c (nscd_run): Shut up warning. * tst-ungetc.c (assert): Undefined before redefining. 2002-12-19 Ulrich Drepper <drepper@redhat.com> * posix/regex.c: Use __builtin_expect even outside glibc if gcc 3 is used. 2002-12-17 Art Haas <ahaas@airmail.net> * iconvdata/cp737.h: Convert GCC extension initializer syntax to C99. * iconvdata/cp775.h: Likewise. * iconvdata/ibm1046.h: Likewise. * iconvdata/ibm1124.h: Likewise. * iconvdata/ibm1129.h: Likewise. * iconvdata/ibm1132.h: Likewise. * iconvdata/ibm1133.h: Likewise. * iconvdata/ibm1160.h: Likewise. * iconvdata/ibm1161.h: Likewise. * iconvdata/ibm1162.h: Likewise. * iconvdata/ibm1163.h: Likewise. * iconvdata/ibm1164.h: Likewise. (__ASSUME_CLONE_THREAD_FLAGS): Define for x86 and kernel >= 2.5.50.
* Update.Ulrich Drepper2002-12-173-1997/+1997
| | | | | | | | | | | 2002-12-17 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/i386/socket.S: Use SINGLE_THREAD_P macro instead of comparing %gs:MULTIPLE_THREADS_OFFSET directly. * iconvdata/iso-ir-165.c: Likewise. * iconvdata/jis0208.c: Likewise. * iconvdata/jis0212.c: Likewise.
* * iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99.Roland McGrath2002-12-163-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * iconvdata/gap.awk: Likewise. * iconvdata/gen-8bit-gap-1.sh: Likewise. * iconvdata/gen-8bit-gap.sh: Likewise. * locale/C-address.c: Likewise. * locale/C-collate.c: Likewise. * locale/C-ctype.c: Likewise. * locale/C-identification.c: Likewise. * locale/C-measurement.c: Likewise. * locale/C-messages.c: Likewise. * locale/C-monetary.c: Likewise. * locale/C-name.c: Likewise. * locale/C-numeric.c: Likewise. * locale/C-paper.c: Likewise. * locale/C-telephone.c: Likewise. * locale/C-time.c: Likewise. * nscd/connections.c: Likewise. * nscd/grpcache.c: Likewise. * nscd/hstcache.c: Likewise. * nscd/pwdcache.c: Likewise. * stdio-common/vfprintf.c: Likewise. * stdlib/random.c: Likewise. * sysdeps/generic/siglist.c: Likewise. * sysdeps/i386/fpu/bits/mathinline.h: Likewise. * sysdeps/ieee754/bits/nan.h: Likewise. * sysdeps/posix/sprofil.c: Likewise. * sysdeps/unix/sysv/linux/sleep.c: Likewise. * sysdeps/unix/sysv/linux/sysctl.c: Likewise. * sysdeps/unix/sysv/linux/usleep.c: Likewise.
* Update.Ulrich Drepper2002-12-132-2/+11
| | | | | | | * iconvdata/Makefile: iconv-rules: Add definition to use gconv.map linker map for all iconv modules. (distribute): Add gconv.map. * iconvdata/gconv.map: New file.
* * iconvdata/cp1125.c: New file.Roland McGrath2002-12-034-5/+40
| | | | | | | | * iconvdata/Makefile (distribute): Add it. (modules): Add CP1125. (gen-8bit-gap-modules): Add cp1125. * iconvdata/gconv-modules: Add CP1125, alias RUSCII. * iconvdata/tst-tables.sh: Add CP1125 to the list to test.
* Update.Ulrich Drepper2002-12-0230-87/+292
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-30 Bruno Haible <bruno@clisp.org> * iconv/gconv.h (__gconv_btowc_fct): New typedef. (struct __gconv_step): New field __btowc_fct. * wcsmbs/btowc.c (__btowc): Use the __btowc_fct shortcut if possible. * iconv/gconv_int.h (__BUILTIN_TRANSFORM): Renamed from __BUILTIN_TRANS. (__gconv_btwoc_ascii): New declaration. * iconv/gconv_simple.c (BUILTIN_TRANSFORMATION): Add BtowcFct argument. (__gconv_btwoc_ascii): New function. * iconv/gconv_builtin.h: Add BtowcFct argument to all BUILTIN_TRANSFORMATION invocations. * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Add BtowcFct argument. * iconv/iconvconfig.c (BUILTIN_TRANSFORMATION): Likewise. * iconv/gconv_builtin.c (map): New field btowc_fct. (BUILTIN_TRANSFORMATION): Add BtowcFct argument. Use it to initialize btowc_fct field. (__gconv_get_builtin_trans): Initialize __btowc_fct field. * iconv/gconv_cache.c (find_module): Initialize __btowc_fct field. * iconv/gconv_db.c (gen_steps, increment_counter): Likewise. * wcsmbs/wcsmbsload.c (to_wc, to_mb): Likewise. * iconv/skeleton.c: Document STORE_REST and FROM_ONEBYTE. (gconv_init): Initialize __btowc_fct field. Undefine EXTRA_LOOP_ARGS and FROM_ONEBYTE at the end. * iconv/loop.c: Document ONEBYTE_BODY. (gconv_btowc, FROM_ONEBYTE): Define if ONEBYTE_BODY is defined. Undefine ONEBYTE_BODY at the end. * iconvdata/8bit-generic.c (ONEBYTE_BODY): New macro. * iconvdata/8bit-gap.c (NONNUL): New macro. (BODY for FROM_LOOP): Use it. (ONEBYTE_BODY): New macro. * iconvdata/isiri-3342.c (HAS_HOLES): Set to 1. (NONNUL): New macro. * iconvdata/ansi_x3.110.c (ONEBYTE_BODY): New macro. * iconvdata/armscii-8.c (ONEBYTE_BODY): New macro. * iconvdata/cp1255.c (ONEBYTE_BODY): New macro. * iconvdata/cp1258.c (ONEBYTE_BODY): New macro. * iconvdata/tcvn5712-1.c (ONEBYTE_BODY): New macro. * iconvdata/big5.c (ONEBYTE_BODY): New macro. * iconvdata/big5hkscs.c (ONEBYTE_BODY): New macro. * iconvdata/euc-cn.c (ONEBYTE_BODY): New macro. * iconvdata/euc-jp.c (ONEBYTE_BODY): New macro. * iconvdata/euc-jisx0213.c (ONEBYTE_BODY): New macro. * iconvdata/euc-kr.c (ONEBYTE_BODY): New macro. * iconvdata/euc-tw.c (ONEBYTE_BODY): New macro. * iconvdata/gbk.c (ONEBYTE_BODY): New macro. * iconvdata/gb18030.c (ONEBYTE_BODY): New macro. * iconvdata/ibm932.c: Include <stdbool.h>. (TRUE, FALSE): Remove macros. (BODY for FROM_LOOP): Remove unused variable rp1. (ONEBYTE_BODY): New macro. (BODY for TO_LOOP): Use bool. * iconvdata/ibm932.h (__ibm932sb_to_ucs4_idx): Remove array. * iconvdata/ibm943.c: Include <stdbool.h>. (TRUE, FALSE): Remove macros. (BODY for FROM_LOOP): Remove unused variable rp1. (ONEBYTE_BODY): New macro. (BODY for TO_LOOP): Use bool. * iconvdata/ibm943.h (__ibm943sb_to_ucs4_idx): Remove array. * iconvdata/iso8859-1.c (ONEBYTE_BODY): New macro. * iconvdata/iso_6937-2.c (ONEBYTE_BODY): New macro. * iconvdata/iso_6937.c (ONEBYTE_BODY): New macro. * iconvdata/johab.c (ONEBYTE_BODY): New macro. * iconvdata/sjis.c (ONEBYTE_BODY): New macro. * iconvdata/shift_jisx0213.c (ONEBYTE_BODY): New macro. * iconvdata/t.61.c (ONEBYTE_BODY): New macro. * iconvdata/uhc.c (ONEBYTE_BODY): New macro. * iconvdata/gbbig5.c: Tweak comment.
* Update.Ulrich Drepper2002-11-262-1/+47
| | | | | | | | | 2002-11-25 Ulrich Drepper <drepper@redhat.com> * iconv/Makefile (tests): Remove tst-iconv4.c * iconv/tst-iconv4.c: Moved to... * iconvdata/tst-iconv4.c: ...here. New file. * iconvdata/Makefile (tests): Add tst-iconv4. Add dependencies.
* Update.Ulrich Drepper2002-11-203-3/+6
| | | | | | | | | | | | | | * iconv/gconv_simple.c (internal_ucs4le_loop_unaligned): Return __GCONV_EMPTY_INPUT only if input is really empty. Otherwise __GCONV_INCOMPLETE_INPUT. (ucs4le_internal_loop): Likewise. (ucs4le_internal_loop_unaligned): Likewise. * iconvdata/unicode.c (PREPARE_LOOP): Likewise. * iconvdata/utf-16.c (PREPARE_LOOP): Likewise. * iconvdata/utf-32.c (PREPARE_LOOP): Likewise. * iconv/loop.c (LOOPFCT): First test for empty input then for full output buffer.
* Update.Ulrich Drepper2002-10-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-02 Ulrich Drepper <drepper@redhat.com> * version.h (VERSION): Bump to 2.3. * elf/Makefile (distribute): Add tst-tlsmod1.c, tst-tlsmod2.c, tst-tlsmod3.c, tst-tlsmod4.c, circlemod1.c, circlemod1a.c, circlemod2.c, circlemod2a.c, circlemod3.c, circlemod3a.c, and nodlopenmod2.c. * login/Makefile (distribute): Add utmp-equal.h. * iconvdata/Makefile (distribute): Add TSCII.precomposed and TSCII.irreversible. * Make-dist (dist): Create .bz2 file. Add rule to create .bz2 files. Also distribute xtests sources. 2002-10-02 Kaz Kojima <kkojima@rr.iij4u.or.jp> * elf/elf.h: Change TLS ELF relocation numbers. * elf/tls-macros.h: Fix code sequences for SH TLS_LD and TLS_GD macros. * sysdeps/sh/dl-machine.h (dl_machine_rela) [case R_SH_TLS_TPOFF32]: Use addend. * sysdeps/sh/elf/initfini.c: Move __fpscr_values to... * sysdeps/sh/elf/start.S: ...here.
* (test): Use %td in printf for ptrdiff_t.Andreas Jaeger2002-09-301-2/+2
|
* * catgets/open_catalog.c (__open_catalog): Don't use a value typeRoland McGrath2002-09-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as the __builtin_expect expression, just the Boolean value. * sysdeps/generic/wordexp.c (parse_glob): int -> size_t for counter. * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise. * resolv/res_hconf.c (arg_service_list, parse_line): Likewise. * iconvdata/tst-loading.c (main): Likewise. * catgets/tst-catgets.c (main): Likewise. * stdlib/tst-xpg-basename.c (main): Likewise. * stdlib/tst-bsearch.c (main): Likewise. * stdio-common/test-vfprintf.c (main): Likewise. * stdio-common/tst-rndseek.c (do_test): Likewise. * libio/tst_swprintf.c (main): Likewise. * libio/tst-fgetws.c (main): Likewise. * wcsmbs/tst-mbrtowc.c (check_ascii): Likewise. * time/tst-posixtz.c (main): Likewise. * time/tst-strptime.c (test_tm): Likewise. * time/tst-strptime.c (main): Likewise. * time/tst-getdate.c (main): Likewise. * posix/tst-mmap.c (main): Likewise. * posix/tst-getaddrinfo.c (do_test): Likewise. * io/tst-getcwd.c (do_test): Likewise. * resolv/tst-aton.c (main): Likewise. * inet/tst-network.c (main): Likewise. * libio/tst-fgetws.c (main): Likewise. * sysdeps/posix/sprofil.c (add_region): int -> unsigned int for I. * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): int -> unsigned int for PTYNO. * stdlib/msort.c (qsort): Add a cast to silence warning. * stdio-common/vfprintf.c (process_string_arg): Likewise. * libio/oldfileops.c (_IO_old_do_write): Likewise. * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Likewise. * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise. * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise. * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise. * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. * sysdeps/unix/grantpt.c (grantpt): Likewise. * libio/tst-widetext.c (main): Likewise. * libio/tst-mmap2-eofsync.c (do_test): Likewise. * rt/tst-aio.c (test_file): Likewise. * rt/tst-aio64.c (test_file): Likewise. * resolv/tst-aton.c (main): Likewise. * catgets/catgetsinfo.h (CATGETS_MAGIC): Use U suffix on the constant. * ctype/ctype.c (__ctype_tolower, __ctype_toupper): Cast to int32_t instead of uint32_t in these macros.
* Update.Ulrich Drepper2002-09-2412-167/+1187
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * iconv/iconv_prog.c (main): Provide an error message that identifies the wrong encoding. 2002-09-22 Bruno Haible <bruno@clisp.org> * iconvdata/tscii.c: New file. * iconvdata/testdata/TSCII: New file. * iconvdata/testdata/TSCII..UTF8: New file. * iconvdata/TSCII.precomposed: New file. * iconvdata/TSCII.irreversible: New file. * iconvdata/gconv-modules (TSCII): New module. * iconvdata/Makefile (modules): Add TSCII. (distribute): Add tscii.c. * iconvdata/tst-table-from.c (try, utf8_decode, main): Double output buffer size. * iconvdata/tst-tables.sh: Add TSCII. * iconvdata/TESTS: Add TSCII. 2002-09-22 Bruno Haible <bruno@clisp.org> Revert 2002-04-18 patch. * iconvdata/euc-jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for FROM_DIRECTION): Make the FROM direction stateful again. * iconvdata/shift_jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for FROM_DIRECTION): Likewise. 2002-09-22 Bruno Haible <bruno@clisp.org>