Commit Graph

358 Commits

Author SHA1 Message Date
Jakub Jelinek
32c075e1f0 . 2007-07-31 13:33:18 +00:00
Ulrich Drepper
82ae2712dc * iconvdata/run-iconv-test.sh: Run cmp in C locale. 2006-08-01 06:46:18 +00:00
Ulrich Drepper
1863d841f5 * iconvdata/testdate/MIK: Fix format to match expected output.
errors not to be reported.
2006-05-02 20:12:29 +00:00
Ulrich Drepper
2748878913 [BZ #2502]
* iconvdata/utf-7.c: Don't require more than two characters after
	the '+' sign starting Unicode shifted sequences.
2006-05-02 06:17:16 +00:00
Ulrich Drepper
39450ec463 [BZ #2625]
2006-05-01  Alexander Shopov  <ash@contact.bg>
	[BZ #2625]
	* iconvdata/Makefile (modules): Added MIK.
	(distribute): Added mik.c.
	(gen-8bit-gap-modules): Added mik.
	* iconvdata/TESTS: Added MIK.
	* iconvdata/gconv-modules: Added MIK.
	* iconvdata/tst-tables.sh: Added MIK.
	* iconvdata/mik.c: New file.
	* iconvdata/testdata/MIK: New file.
	* iconvdata/testdata/MIK..UTF8: New file.
2006-05-01 14:48:05 +00:00
Ulrich Drepper
15627a21c6 [BZ #1386]
* iconvdata/ibm932.c: Change mapping to allow round-trips.
	* iconvdata/ibm943.c: Likewise.
	Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
2006-04-27 05:54:27 +00:00
Ulrich Drepper
74ed1159d1 [BZ #2569]
2006-04-25  Ulrich Drepper  <drepper@redhat.com>
	[BZ #2569]
	* iconv/gconv_db.c (__gconv_release_step): Fix condition of assert
	call.
	* iconvdata/Makefile (tests): Add tst-iconv6.
	* iconvdata/tst-iconv6.c: New file.
2006-04-25 17:47:32 +00:00
Ulrich Drepper
71eea58162 * iconvdata/ibm437.c: Define HAS_HOLES to 0.
* iconvdata/ibm861.c: Likewise.
	* iconvdata/ibm862.c: Likewise.
	* iconvdata/ibm863.c: Likewise.
	* iconvdata/ibm865.c: Likewise.
	Reported by <ash@contact.bg>.
2006-04-21 18:18:58 +00:00
Roland McGrath
82f0f9ed70 * iconvdata/Makefile (generate-8bit-table): Use LC_ALL=C.
(generate-8bit-gap-table): Likewise.
	($(objpfx)iso8859-7jp.stmp): Likewise.
	Reported by S.Çağlar Onur <caglar@uludag.org.tr>.
2006-04-04 07:08:13 +00:00
Ulrich Drepper
d9266ea02f * Makerules: Define build-module-asneeded.
* iconvdata/extra-module.mk: Use build-module-asneeded.
	needed.

2006-01-09  Richard Henderson  <rth@redhat.com>

	* iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on ld.so.
	* sysdeps/alpha/__longjmp.S: Use PTR_DEMANGLE.
	* sysdeps/alpha/setjmp.S: Likewise.  Avoid __sigjmp_save for rtld;
	tailcall in libc.so.
	* sysdeps/unix/sysv/linux/alpha/sysdep.h (PTR_MANGLE): Define.
	(PTR_MANGLE2): Define.

2006-01-11  Ulrich Drepper  <drepper@redhat.com>
2006-01-11 22:18:24 +00:00
Roland McGrath
0317eaecb1 * posix/tst-execle1.c (do_test): Add a const.
* posix/tst-execle2.c (do_test): Likewise.

	* posix/transbug.c (run_test): Add some casts.
	* posix/bug-regex22.c (main): Likewise.
	* posix/bug-regex5.c (main): Likewise.
	* wcsmbs/tst-mbsrtowcs.c (main): Likewise.
	* string/test-strspn.c (do_test, do_random_tests): Likewise.
	* string/test-strrchr.c (do_test, do_random_tests): Likewise.
	* string/test-strlen.c (do_random_tests): Likewise.
	* string/test-strpbrk.c (do_test, do_random_tests): Likewise.
	* string/test-strcmp.c (do_random_tests): Likewise.
	* string/test-strchr.c (do_test, do_random_tests): Likewise.
	* string/test-strcat.c (do_test, do_random_tests): Likewise.
	* string/test-strncpy.c (do_random_tests): Likewise.
	* string/test-strcpy.c (do_test, do_random_tests): Likewise.
	* string/test-memccpy.c (do_test): Likewise.
	* string/test-memmove.c (do_test, do_random_tests): Likewise.
	* string/test-memcpy.c (do_test, do_random_tests): Likewise.
	* string/test-memcmp.c (do_test, do_random_tests): Likewise.
	* string/test-memchr.c (do_test, do_random_tests): Likewise.
	* dlfcn/bug-atexit1.c (do_test): Fix up prototype in cast.
	* stdio-common/tst-fgets.c (do_test): Add a cast.
	* iconvdata/bug-iconv4.c (xiconv): Add a cast.

	* locale/programs/simple-hash.c (insert_entry_2): Remove useless casts.

	* resolv/herror.c (herror): Remove unused extern decl.

	* libio/obprintf.c: Include "strfile.h".

	* elf/order2mod2.c (init): Cast ignored value to void.

	* stdio-common/tstdiomisc.c: If FLT_EVAL_METHOD is 2, use long
2005-12-27 22:50:12 +00:00
Ulrich Drepper
a0e3432cc7 * iconvdata/Makefile (modules): Add ISO_11548-1.
(distribute): Add iso_11548-1.c.
	* iconvdata/gconv-modules: Add entries for ISO 11548-1.
	* iconvdata/TESTS: Add entry for ISO 11548-1.

	[BZ 1872]
	* iconvdata/iso_11548-1.c: New file.
	* iconvdata/testdata/ISO_11548-1: New file.
	* iconvdata/testdata/ISO_11548-1..UTF8: New file.
	Patch by Samuel Thibault <samuel.thibault@ens-lyon.org>.
2005-11-16 08:16:43 +00:00
Ulrich Drepper
6738b11d46 * iconvdata/ibm1364.h (__ucs4_to_ibm1364sb): Fix one mapping.
* iconvdata/ibm1388.h (__ucs4_to_ibm1388sb): Likewise.
	* iconvdata/testdata/IBM1364: Add missing valid input.
	* iconvdata/testdata/IBM1388: Likewise.
	* iconvdata/testdata/IBM1364..UTF8: Adjust appropriately.
	* iconvdata/testdata/IBM1388..UTF8: Likewise.
	Patch by Masahide Washizawa <washi@jp.ibm.com>.
2005-10-21 04:28:06 +00:00
Ulrich Drepper
3b8d12b876 ..
2005-10-19  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/Makefile (modules): Add IBM1364, IBM1371, IBM1388, IBM1390,
	and IBM1399.
	(distribute): Add ibm1364.c, ibm1364.h, ibm1371.c, ibm1371.h,
	ibm1388.c, ibm1388.h, ibm1390.c, ibm1390.h, ibm1399.c, and ibm1399.h.
	* iconvdata/TESTS: Add entries for IBM1364, IBM1371, IBM1388, IBM1390,
	and IBM1399.
	* iconvdata/gconv-modules: Likewise.
	* iconvdata/ibm1364.c: New file.
	* iconvdata/ibm1364.h: New file.
	* iconvdata/ibm1371.c: New file.
	* iconvdata/ibm1371.h: New file.
	* iconvdata/ibm1388.c: New file.
	* iconvdata/ibm1388.h: New file.
	* iconvdata/ibm1390.c: New file.
	* iconvdata/ibm1390.h: New file.
	* iconvdata/ibm1399.c: New file.
	* iconvdata/ibm1399.h: New file.
	* iconvdata/testdata/IBM1364: New file.
	* iconvdata/testdata/IBM1364..UTF8: New file.
	* iconvdata/testdata/IBM1371: New file.
	* iconvdata/testdata/IBM1371..UTF8: New file.
	* iconvdata/testdata/IBM1388: New file.
	* iconvdata/testdata/IBM1388..UTF8: New file
	* iconvdata/testdata/IBM1390: New file.
	* iconvdata/testdata/IBM1390..UTF8: New file.
	* iconvdata/testdata/IBM1399: New file.
	* iconvdata/testdata/IBM1399..UTF8: New file.
	Original patch by Masahide Washizawa <washi@jp.ibm.com>.
2005-10-19 23:58:35 +00:00
Ulrich Drepper
ad1df11413 iconv module for IBM1364. 2005-10-19 23:31:17 +00:00
Ulrich Drepper
1875d51d96 * iconvdata/Makefile (modules): Add IBM803, IBM901, IBM902, IBM921,
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.
2005-09-29 23:01:09 +00:00
Ulrich Drepper
2b31247049 Tables for IBM1008 iconv module. 2005-09-29 22:05:24 +00:00
Ulrich Drepper
39ee8092c6 IBM1008 iconv module. 2005-09-29 21:59:18 +00:00
Ulrich Drepper
80425c3391 Run ASCII->encoding->ASCII suntzus test only if $subset is N. 2005-09-29 21:43:12 +00:00
Ulrich Drepper
294bda1b5a [BZ #395]
* 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>
2005-09-23 18:48:38 +00:00
Ulrich Drepper
dc4bb1c2be * posix/bits/unistd.h (confstr, getgroups, ttyname_r, gethostname,
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.
2005-08-08 19:04:11 +00:00
Ulrich Drepper
363dd97627 [BZ #955]
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.
2005-05-21 18:40:10 +00:00
Ulrich Drepper
137e6462eb * iconvdata/ibm930.h: Correct Yen mapping.
* 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>.
2005-02-22 07:12:35 +00:00
Ulrich Drepper
4bae262d2a * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use. 2005-02-08 09:04:28 +00:00
Ulrich Drepper
a334319f65 (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
Jakub Jelinek
0ecb606cb6 2.5-18.1 2007-07-12 18:26:36 +00:00
Ulrich Drepper
770be06d86 Encodings without iconv support. 2004-09-18 08:15:55 +00:00
Roland McGrath
304815c6b4 * iconvdata/testdata/ISO-2022-JP-3: Regenerated. 2004-08-11 18:47:15 +00:00
Ulrich Drepper
9e365fe710 Update.
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.
2004-08-06 18:32:16 +00:00
Ulrich Drepper
5d32be9a0a Update.
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.
2004-08-02 22:33:57 +00:00
Ulrich Drepper
3a9537a1bc [BZ #244]
Update.
2004-07-20  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/gconv-modules: Add alias for IBM874 [BZ #244].
2004-07-20 07:15:48 +00:00
Ulrich Drepper
7eb7fdda7e Update.
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.
2004-04-17 22:34:18 +00:00
Ulrich Drepper
ea0423321f Update.
2004-03-25  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/utf-7.c: Remove inline from isdirect, isxdirect, and
	isxbase64.
2004-03-26 06:43:45 +00:00
Ulrich Drepper
2f284cf542 Update.
2004-03-10  Chris Heath  <chris@heathens.co.nz>

	* iconvdata/gconv.map: Add gconv_end (fixes memory leak).
2004-03-12 00:16:51 +00:00
Andreas Jaeger
a7467d522b Update.
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.
2004-03-07 09:37:36 +00:00
Andreas Jaeger
b0df6f1a8b (BODY): Remove cast used as lvalue. 2004-03-07 09:33:54 +00:00
Andreas Jaeger
33ed6903d3 Update.
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.
2004-02-07 15:57:44 +00:00
Ulrich Drepper
edf855d5a9 Update.
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.
2004-01-19 22:05:36 +00:00
Ulrich Drepper
41d70e88b1 Update.
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>.
2003-08-14 08:49:16 +00:00
Andreas Jaeger
183f2df186 * iconvdata/cp932.c (BODY): STANDARD_ERR_HANDLER is now called
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.
2003-07-20 12:11:01 +00:00
Ulrich Drepper
9df2c61c5c Update.
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.
2003-07-15 03:32:03 +00:00
Ulrich Drepper
2f7f7bc658 Update.
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>.
2003-06-16 17:18:06 +00:00
Ulrich Drepper
2533775393 Update.
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>.
2003-06-13 21:05:42 +00:00
Ulrich Drepper
dd9423a67a Update.
2003-06-11  Ulrich Drepper  <drepper@redhat.com>

	* allocatestack.c (queue_stack): Always inline.
	* ptreadhP.h (__do_cancel): Likewise.
2003-06-11 21:57:23 +00:00
Roland McGrath
358cad7c11 * Makerules ($(common-objpfx)shlib.lds): New target.
(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.
2003-04-26 23:38:49 +00:00
Ulrich Drepper
bdb6126c2d Update.
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.
2003-03-26 08:12:21 +00:00
Ulrich Drepper
c657f8b3ff Test for EUC-TW bug with too-short output buffers. 2003-03-26 08:10:58 +00:00
Ulrich Drepper
8e06652009 (from_euc_tw): Fix return value of TO_LOOP. 2003-03-26 07:58:49 +00:00
Roland McGrath
e8783fd53d * malloc/Versions (GLIBC_PRIVATE): Add __libc_thread_freeres.
* 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].
2003-02-22 00:55:36 +00:00
Ulrich Drepper
5be072b6df (BODY): Fix range of low surrogate. 2003-02-19 20:36:21 +00:00