Commit Graph

449 Commits

Author SHA1 Message Date
Ulrich Drepper a0386a0da3 Update.
2000-09-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only
	define it for powerpc for kernel >= 2.4.0.
	* sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not
	__ASSUME_32BITUIDS.
	* sysdeps/unix/sysv/linux/semctl.c: Likewise.
	* sysdeps/unix/sysv/linux/shmctl.c: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel.
	* sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file.
	* sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file.
	* sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file.

2000-09-28  Martin Schwidefsksy    <schwidefsky@de.ibm.com>

	* sysdeps/s390/atomicity.h: Fix compare_and_swap.
	* sysdeps/unix/sysv/linux/s390/bits/fcntl.h
	(F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.

2000-09-28  Denis Joseph Barrow     <djbarrow@de.ibm.com>

	* sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
	ucontext.h.
	* sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure.

2000-09-27  Andreas Schwab  <schwab@suse.de>

	* math/Makefile (distribute): Explicitly add the long double test
	sources, to get them included even if long double is not supported.

2000-09-27  Jes Sorensen  <jes@linuxcare.com>

	* elf/soinit.c (struct object): Move definition to gccframe.h and
	include it.  Problem identified by HJ Lu.

	* sysdeps/ia64/gccframe.h: New file.  ia64 specific version of
	struct object to be searched for frame unwind info.
	* sysdeps/generic/gccframe.h: New file.  Generic version of
	struct object to be searched for frame unwind info.

2000-09-28  Ulrich Drepper  <drepper@redhat.com>

	* manual/errno.texi: Correct error text for ENXIO.
	Reported by Jörg Schilling <schilling@fokus.gmd.de>.

2000-09-27  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the
	exception status bits rather than the exception disable bits.
	Don't include math.h.

	* sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the
	status of exceptions currently raised rather than which exceptions
	are enabled.

	* sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t
	rather than unsigned long int.

	* sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable
	the exceptions actually requested by the caller and not just
	disable all exceptions.

	* sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on
	the ia64 are enabled by clearing the respective bits in the fpsr,
	not setting them.

	* sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to
	unsigned long int rather than unsigned long to be consistent with
	the coding conventions.

2000-09-20  H.J. Lu  <hjl@gnu.org>

	* sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of
	unsigned long int.
	* sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.

2000-09-28  Ulrich Drepper  <drepper@redhat.com>

	* string/bits/string2.h: Unify #if usage.

2000-09-27  Jakub Jelinek  <jakub@redhat.com>

	* math/test-fenv.c (feexcp_mask_test): If enabling all exceptions
	and disabling underflow or overflow, disable inexact as well.

	* sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
2000-09-28 23:32:48 +00:00
Ulrich Drepper 75dbc100bf Update.
2000-09-26  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
2000-09-27 00:14:27 +00:00
Ulrich Drepper 5f2de3379c Update.
* elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
2000-09-26 05:50:51 +00:00
Ulrich Drepper 6c163862c4 Update.
2000-09-25  Ulrich Drepper  <drepper@redhat.com>

	* locale/Makefile (routines): Add nl_langinfo_l.
	* locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
	* locale/nl_langinfo_l.c: New file.
2000-09-26 04:48:25 +00:00
Ulrich Drepper 0b95971d92 Update.
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.
2000-09-26 00:05:52 +00:00
Ulrich Drepper a2aa7df3d6 Update.
* charmaps/GBK: Add commented mappings for GBK characters not yet in
	Unicode.

2000-09-23  Bruno Haible  <haible@clisp.cons.org>
2000-09-25 21:37:47 +00:00
Ulrich Drepper fbb1f75f1e Update.
2000-09-23  Bruno Haible  <haible@clisp.cons.org>

	* charmaps/GBK: Remove /x80 entry.
2000-09-25 21:26:44 +00:00
Ulrich Drepper 079e46f04b Update.
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.
2000-09-25 21:17:32 +00:00
Ulrich Drepper d2a99fa303 Update.
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.
2000-09-24 19:45:34 +00:00
Ulrich Drepper 88b981108a Update.
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.
2000-09-24 19:39:41 +00:00
Ulrich Drepper 582db94e65 Update.
2000-09-24  Ulrich Drepper  <drepper@redhat.com>

	* locales/en_GB: Update LC_PAPER and LC_MEASUREMENT information.
	Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2000-09-24 19:02:13 +00:00
Ulrich Drepper 7c4d89b571 Update LC_PAPER and LC_MEASUREMENT information. 2000-09-24 19:01:42 +00:00
Ulrich Drepper e9985459eb Update.
2000-09-14  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
	to not use sysctl().  Too many architectures have problems with it.
2000-09-14 20:43:43 +00:00
Ulrich Drepper 07146b0ee0 Update.
2000-09-13  Ulrich Drepper  <drepper@redhat.com>

	* localedata/locales/ar_AE: Remove extra <U0020> from day and abday.
	* localedata/locales/ar_BH: Likewise.
	* localedata/locales/ar_DZ: Likewise.
	* localedata/locales/ar_EG: Likewise.
	* localedata/locales/ar_IQ: Likewise.
	* localedata/locales/ar_JO: Likewise.
	* localedata/locales/ar_KW: Likewise.
	* localedata/locales/ar_LB: Likewise.
	* localedata/locales/ar_LY: Likewise.
	* localedata/locales/ar_MA: Likewise.
	* localedata/locales/ar_OM: Likewise.
	* localedata/locales/ar_QA: Likewise.
	* localedata/locales/ar_SD: Likewise.
	* localedata/locales/ar_SY: Likewise.
	* localedata/locales/ar_TN: Likewise.
	* localedata/locales/ar_YE: Likewise.
2000-09-13 18:55:28 +00:00
Ulrich Drepper b8d64751e0 Remove extra <U0020> from day and abday entries. 2000-09-13 18:54:59 +00:00
Ulrich Drepper 71e1dcd132 Update.
* SUPPORTED: Add mr_IN.UTF-8 and mt_MT.ISO-8859-3.
	* locales/mr_IN: New file.
	* locales/mt_MT: New file.
2000-09-13 02:08:39 +00:00
Ulrich Drepper 25159a8556 Update.
2000-09-01  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
	__syscall_getdents64 wrapper.

	* sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
2000-09-12 23:11:49 +00:00
Ulrich Drepper 5de565cdc4 Update.
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.
2000-09-12 22:58:03 +00:00
Ulrich Drepper d170066550 Update.
2000-09-11  Ulrich Drepper  <drepper@redhat.com>

	* iconv/skeleton.c: Fix last patch, add missing parameter to
	unaligned function call.
2000-09-11 22:44:49 +00:00
Ulrich Drepper d0e1a1221d Update.
* charmaps/GB18030: Update once more.
2000-09-09 06:32:46 +00:00
Ulrich Drepper 861f40287a Update.
2000-09-08  Ulrich Drepper  <drepper@redhat.com>

	* charmaps/JOHAB: New file.
	* SUPPORTED: Add ko_KR.JOHAB.
2000-09-08 08:10:08 +00:00
Ulrich Drepper 1edd1b142b Update.
* iconvdata/tst-tables.sh: Enable EUC-KR test.
2000-09-08 06:34:32 +00:00
Ulrich Drepper c743652a38 Update.
2000-09-04  Andreas Schwab  <schwab@suse.de>

	* elf/Makefile (all-dl-routines): New variable.
	(elide-routines.os): Use it instead of $(dl-routines).
	(all-rtld-routines): New variable.
	(extra-objs): Use it instead of $(rtld-routines).
	($(objpfx)dl-allobjs.os): Likewise.
	* sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
	sysdep-dl-routines and sysdep_routines instead of rtld-routines
	and dl-routines.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
	Set fname to NULL if the module wasn't found.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
	true if trans->name already ends in ".so".

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* iconv/gconv_int.h (__gconv_release_shlib): Change return type to
	void.
	* iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
	below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
	(__gconv_release_shlib): Change return type to void.
	* iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
	step->__counter here.
	* iconv/gconv_db.c (free_derivation): Don't call a step's destructor
	if the reference is zero.
	(release_step): New function.
	(gen_steps): Always initialize the __counter to 1. Use release_step.
	Don't call the destructor on the step whose initializer failed.
	(increment_counter): Use release_step. Don't normally run destructors
	here.
	(__gconv_close_transform): Use release_step.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
	(__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
	If the first byte is 0x8E, don't ask for 4 bytes until it has been
	verified that the second byte is valid. Leave it to cns11643_to_ucs4
	to check for incomplete input.
	* iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
	ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
	__cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
	(ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
	0x9f9d..0x9fa5.
	* iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
	__cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
	(ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
	* iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
	upto index 0x0052.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* iconv/gconv_db.c (find_derivation): Always use the least-cost
	solution.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
	are invalid.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
	* iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
	U+007E.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/tst-tables.sh: New file.
	* iconvdata/tst-table.sh: New file.
	* iconvdata/tst-table-from.c: New file.
	* iconvdata/tst-table-to.c: New file.
	* iconvdata/tst-table-charmap.sh: New file.
	* iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
	(distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
	tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
	ISIRI-3342.irreversible, SJIS.irreversible.
	(tests): Add dependency on tst-tables.out.
	(tst-tables.out, tst-tables-clean): New rules.
	(do-tests-clean, common-mostlyclean): Require tst-tables-clean.
	* iconvdata/ISIRI-3342.irreversible: New file.
	* iconvdata/EUC-JP.irreversible: New file.
	* iconvdata/SJIS.irreversible: New file.

2000-09-04  Ulrich Drepper  <drepper@redhat.com>

	* manual/locale.texi (General Numeric): Update description of
	representation of the grouping information in the locale data.
	Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.

	Reported by Rob Levin <lilo@transvirtual.com>.
2000-09-05 02:51:27 +00:00
Ulrich Drepper b79f74cd62 Update.
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.
2000-09-05 02:41:25 +00:00
Ulrich Drepper 6fab0fd3cd Update.
* iconvdata/big5hkscs.c: Regenerated from charmap.
	* iconvdata/testdata/BIG5HKSCS: Regenerated.
	* iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
2000-09-02 04:45:14 +00:00
Ulrich Drepper c6cc2207a5 Update.
2000-09-01  Ulrich Drepper  <drepper@redhat.com>

	* libio/fmemopen.c (fmemopen_seek): Add default case in switch
	statement.  General cleanup.
2000-09-01 21:16:28 +00:00
Ulrich Drepper aebb1faa19 Update.
* libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
	patch (_mode -> _flags).
2000-09-01 17:49:19 +00:00
Ulrich Drepper 7921bb7220 Update. 2000-09-01 04:25:51 +00:00
Ulrich Drepper f998fd64eb Update.
* SUPPORTED: Add zh_HK.BIG5HKSCS.

	* locales/zh_HK: Correct d_t_fmt and t_fmt_ampm.
	Changes by Roger So <spacehunt@e-fever.org>.
2000-09-01 04:14:40 +00:00
Ulrich Drepper 736dda8c7f Update.
* intl/locale.alias: Add aliases for bomal and nynorsk.

	* locale/iso-639.def: Fix 639-1 code for Bokmal.
2000-08-31 18:37:58 +00:00
Ulrich Drepper 47cae281a4 Update.
* 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.
2000-08-30 07:38:10 +00:00
Ulrich Drepper e4d1a04a3c Update.
* locales/ja_JP: Add yesstr and nostr information.
2000-08-30 02:34:17 +00:00
Ulrich Drepper 34e55074c4 Update.
2000-08-29  Ulrich Drepper  <drepper@redhat.com>

	* charmaps/GB18030: Add entries from GBK not present here.

	* SUPPORTED: Add zh_TW.EUC-JP and zh_CN.GB18030.

	* locales/iso14651_t1: Use hexadecimal ellipsis in <HAN> script.
2000-08-30 00:02:38 +00:00
Ulrich Drepper c7c3b0e907 Update.
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.
2000-08-29 21:14:05 +00:00
Ulrich Drepper 30f1226b0b Update.
2000-08-29  Ulrich Drepper  <drepper@redhat.com>

	* inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
	names don't match don't return.
	Patch by Olaf Kirch <okir@flash.lst.de>.
2000-08-29 18:12:01 +00:00
Ulrich Drepper cf365734e5 Mention broken LC_COLLATE specification. 2000-08-28 04:08:02 +00:00
Ulrich Drepper 3d4ac1ec92 Update.
* locale/programs/ld-collate.c (insert_weights): Also update
	backpointer of next element.
	(collate_read): Allow definition of new collation symbols in stage 2.
	Symbol after reorder-after can be UCS4 value.
	Allow reordering of collation symbols and elements.
	Do not only move reorder entry in new position.  Instead call
	insert_weight to do this and read the weights.
2000-08-28 03:51:40 +00:00
Ulrich Drepper 36466e64f0 Update.
2000-08-25  Ulrich Drepper  <drepper@redhat.com>

	* iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
	irreversible in recursive call of conversion function to signal that
	no error handling is wanted.
	* iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
	(STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
	* iconv/skeleton.c (lirreversiblep): New variable.  Set to NULL is
	recursive error handling call, otherwise to &lirreversible.  Use it
	for calls to conversion functions.
	* iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
	transliterating.
	(ucs4_internal_loop_unaligned): Likewise.
	(ucs4le_internal_loop): Likewise.
	(ucs4le_internal_loop_unaligned): Likewise.
2000-08-25 22:25:03 +00:00
Ulrich Drepper b572c2da31 Update.
2000-08-25  Ulrich Drepper  <drepper@redhat.com>

	* locales/i18n (default_missing): Change back to only U003F.
2000-08-25 22:13:09 +00:00
Andreas Jaeger 3b526f89b5 Update.
Move inclusion of test-skeleton to front to have prototype for
	add_temp_file.
2000-08-24 09:30:58 +00:00
Andreas Jaeger 3d61cc0988 (generated): Add some .out files. 2000-08-24 08:57:04 +00:00
Ulrich Drepper 4b156cb2fd Update.
2000-08-23  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/ld-ctype.c (ctype_read): Allow more than one
	default_missing character being specified, pick the first
	representable.
2000-08-23 08:25:46 +00:00
Ulrich Drepper dc63ee3575 Update.
2000-08-22  Ulrich Drepper  <drepper@redhat.com>

	* locale/iso-4217.def: Update entry for Nicaragua.
2000-08-23 04:04:02 +00:00
Ulrich Drepper 75c5884bb1 Update.
* locales/es_MX: Correct int_curr_symbol.
	* locales/es_PE: Likewise.
2000-08-23 03:47:08 +00:00
Ulrich Drepper e1b6d83296 Update.
* SUPPORTED: Add missing supported locales.

	* locales/fa_IR: Correct a few of the contained bugs.

	* locales/en_CA,2.5: Removed.
	* locales/fr_CA,2.13: Removed.
	* locales/in_ID: Removed.
2000-08-23 02:59:03 +00:00
Ulrich Drepper 52e2725348 Update.
* locales/zh_HK: New file.

	* charmaps/BIG5HKSCS: New file.
2000-08-23 02:38:11 +00:00
Ulrich Drepper f02211e812 Chinese language locale for Hong Kong. 2000-08-23 02:36:34 +00:00
Ulrich Drepper 8859f57623 Update.
2000-08-22  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
	* sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
	(__syscall__sysctl): Add.
2000-08-22 09:10:20 +00:00
Ulrich Drepper 2e125f1fb8 Update.
* locales/vi_VN: New file.
	* SUPPORTED: Add vi_VN.UTF-8.
2000-08-22 08:49:56 +00:00
Ulrich Drepper aa6eb4de69 Update.
* locales/ko_KR: Correct currency_symbol entry.

	* locales/hi_IN: New file.
	* SUPPORTED: Add hi_IN.UTF-8.
2000-08-22 08:32:32 +00:00
Ulrich Drepper 081e43f28b Update.
* Makefile (test-input): Add da_DK and hr_HR sorting tests.

	* sort-test.sh: Improve error handling by printing more information.
2000-08-22 08:00:17 +00:00
Ulrich Drepper a9397b8649 Improve error handling by printing more information. 2000-08-22 07:53:41 +00:00
Ulrich Drepper dd492f9bb5 Update.
2000-08-22  Ulrich Drepper  <drepper@redhat.com>

	* locales/ar_AE: New file.
	* locales/ar_BH: New file.
	* locales/ar_DZ: New file.
	* locales/ar_EG: New file.
	* locales/ar_IQ: New file.
	* locales/ar_JO: New file.
	* locales/ar_KW: New file.
	* locales/ar_LB: New file.
	* locales/ar_LY: New file.
	* locales/ar_MA: New file.
	* locales/ar_OM: New file.
	* locales/ar_QA: New file.
	* locales/ar_SD: New file.
	* locales/ar_SY: New file.
	* locales/ar_TN: New file.
	* locales/ar_YE: New file.
	* SUPPORTED: Add Arabic locales.

	* locales/es_CR: New file.
	* locales/es_NI: New file.
	* locales/es_PR: New file.
2000-08-22 07:24:46 +00:00
Ulrich Drepper 0322fb43f7 Arabic language locale for United Arab Emirates. 2000-08-22 07:18:22 +00:00
Ulrich Drepper bf025fc19f Spanish langauge locale for Puerto Rico. 2000-08-22 04:25:58 +00:00
Ulrich Drepper faa5756314 Update.
* stdlib/random_r.c (__setstate_r): Also compute end_ptr
	correctly.
	(__initstate_r): Set errno on error.
	(__random_r): Likewise.
	(__setstate_r): Correct offset when computing
	new rptr and fptr.  Test for arg_state being NULL.
	Reported by Michael Fischer <fischer@cs.yale.edu>.
2000-08-22 03:49:38 +00:00
Ulrich Drepper 959eb65d0d Update.
2000-08-21  Marko Myllynen  <myllynen@lut.fi>

	* inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
2000-08-21 19:15:14 +00:00
Ulrich Drepper 9ca00c5b8e Update.
2000-08-21  Ulrich Drepper  <drepper@redhat.com>

	* intl/locale.alias: Add aliases for Korean.
2000-08-21 18:36:45 +00:00
Ulrich Drepper c6ef677f0a German language locale for Belgium with Euro. 2000-08-21 17:59:31 +00:00
Ulrich Drepper 53d440bf95 Update.
2000-08-21  Ulrich Drepper  <drepper@redhat.com>

	* Makefile (install-locales): Handle option in locale name.  Print
	progress information.

	* SUPPORTED: Add all the @euro locales.

	* locales/ca_ES@euro: Update charset comment.
	* locales/de_AT@euro: New file.
	* locales/de_DE@euro: New file.
	* locales/de_LU@euro: New file.
	* locales/en_IE@euro: New file.
	* locales/es_ES@euro: New file.
	* locales/fi_FI@euro: New file.
	* locales/fr_BE@euro: New file.
	* locales/fr_FR@euro: New file.
	* locales/fr_LU@euro: New file.
	* locales/it_IT@euro: New file.
	* locales/nl_NL@euro: New file.
	* locales/pt_PT@euro: New file.
2000-08-21 17:08:58 +00:00
Ulrich Drepper 245ee9b09f Update charset comment. 2000-08-21 17:07:41 +00:00
Ulrich Drepper 019523a640 Add all the @euro locales. 2000-08-21 17:07:11 +00:00
Ulrich Drepper 246a9a195f (install-locales): Handle option in locale name. Print progress information. 2000-08-21 17:06:55 +00:00
Ulrich Drepper fbe57a0939 Update.
2000-08-20  Ulrich Drepper  <drepper@redhat.com>

	* locales/ca_ES: Correct comment.

	* locales/ca_ES@euro: New file.
	* locales/de_AT@euro: New file.
	* locales/de_DE@euro: New file.
	* locales/de_LU@euro: New file.
	* locales/en_IE@euro: New file.
	* locales/es_ES@euro: New file.
	* locales/fi_FI@euro: New file.
	* locales/fr_BE@euro: New file.
	* locales/fr_FR@euro: New file.
	* locales/fr_LU@euro: New file.
	* locales/it_IT@euro: New file.
	* locales/nl_NL@euro: New file.
	* locales/pt_PT@euro: New file.
2000-08-21 08:24:10 +00:00
Andreas Jaeger 03ae3c1ec2 Update.
* inet/tst-gethnm.c: Include string.h to provide prototype for
	strcmp.
2000-08-19 18:06:27 +00:00
Andreas Jaeger ec7956d922 * tests-mbwc/tst_funcs.h (TMD_ERRET): Don't declare err_flg.
(TST_DECL_VARS): Don't declare err_flg. 
(TST_GET_ERRET): Don't set err_flg. 
(TST_GET_ERRET_SEQ): Likewise. 
(TST_IF_RETURN): Don't use err_flg, check err_exp directly.
	* tests-mbwc/dat_swscanf.c: Don't set err_flg.
	* tests-mbwc/dat_iswalnum.c: Likewise.
	* tests-mbwc/dat_iswalpha.c: Likewise.
	* tests-mbwc/dat_iswcntrl.c: Likewise.
	* tests-mbwc/dat_iswctype.c: Likewise.
	* tests-mbwc/dat_iswdigit.c: Likewise.
	* tests-mbwc/dat_iswgraph.c: Likewise.
	* tests-mbwc/dat_iswlower.c: Likewise.
	* tests-mbwc/dat_iswprint.c: Likewise.
	* tests-mbwc/dat_iswpunct.c: Likewise.
	* tests-mbwc/dat_iswspace.c: Likewise.
	* tests-mbwc/dat_iswupper.c: Likewise.
	* tests-mbwc/dat_iswxdigit.c: Likewise.
	* tests-mbwc/dat_mblen.c: Likewise.
	* tests-mbwc/dat_mbrlen.c: Likewise.
	* tests-mbwc/dat_mbrtowc.c: Likewise.
	* tests-mbwc/dat_mbsrtowcs.c: Likewise.
	* tests-mbwc/dat_mbstowcs.c: Likewise.
	* tests-mbwc/dat_mbtowc.c: Likewise.
	* tests-mbwc/dat_strcoll.c: Likewise.
	* tests-mbwc/dat_strfmon.c: Likewise.
	* tests-mbwc/dat_strxfrm.c: Likewise.
	* tests-mbwc/dat_swscanf.c: Likewise.
	* tests-mbwc/dat_towctrans.c: Likewise.
	* tests-mbwc/dat_towlower.c: Likewise.
	* tests-mbwc/dat_towupper.c: Likewise.
	* tests-mbwc/dat_wcrtomb.c: Likewise.
	* tests-mbwc/dat_wcscat.c: Likewise.
	* tests-mbwc/dat_wcschr.c: Likewise.
	* tests-mbwc/dat_wcscmp.c: Likewise.
	* tests-mbwc/dat_wcscoll.c: Likewise.
	* tests-mbwc/dat_wcscpy.c: Likewise.
	* tests-mbwc/dat_wcscspn.c: Likewise.
	* tests-mbwc/dat_wcslen.c: Likewise.
	* tests-mbwc/dat_wcsncat.c: Likewise.
	* tests-mbwc/dat_wcsncmp.c: Likewise.
	* tests-mbwc/dat_wcsncpy.c: Likewise.
	* tests-mbwc/dat_wcspbrk.c: Likewise.
	* tests-mbwc/dat_wcsrtombs.c: Likewise.
	* tests-mbwc/dat_wcsspn.c: Likewise.
	* tests-mbwc/dat_wcsstr.c: Likewise.
	* tests-mbwc/dat_wcstod.c: Likewise.
	* tests-mbwc/dat_wcstok.c: Likewise.
	* tests-mbwc/dat_wcstombs.c: Likewise.
	* tests-mbwc/dat_wcswidth.c: Likewise.
	* tests-mbwc/dat_wcsxfrm.c: Likewise.
	* tests-mbwc/dat_wctob.c: Likewise.
	* tests-mbwc/dat_wctomb.c: Likewise.
	* tests-mbwc/dat_wctrans.c: Likewise.
	* tests-mbwc/dat_wctype.c: Likewise.
	* tests-mbwc/dat_wcwidth.c: Likewise.
	* tests-mbwc/dat_isw-funcs.h: Fix comment.
2000-08-18  Andreas Jaeger  <aj@suse.de>

	* tests-mbwc/tst_funcs.h (TMD_ERRET): Don't declare err_flg.
	(TST_DECL_VARS): Don't declare err_flg.
	(TST_GET_ERRET): Don't set err_flg.
	(TST_GET_ERRET_SEQ): Likewise.
	(TST_IF_RETURN): Don't use err_flg, check err_exp directly.

	* tests-mbwc/dat_swscanf.c: Don't set err_flg.
	* tests-mbwc/dat_iswalnum.c: Likewise.
	* tests-mbwc/dat_iswalpha.c: Likewise.
	* tests-mbwc/dat_iswcntrl.c: Likewise.
	* tests-mbwc/dat_iswctype.c: Likewise.
	* tests-mbwc/dat_iswdigit.c: Likewise.
	* tests-mbwc/dat_iswgraph.c: Likewise.
	* tests-mbwc/dat_iswlower.c: Likewise.
	* tests-mbwc/dat_iswprint.c: Likewise.
	* tests-mbwc/dat_iswpunct.c: Likewise.
	* tests-mbwc/dat_iswspace.c: Likewise.
	* tests-mbwc/dat_iswupper.c: Likewise.
	* tests-mbwc/dat_iswxdigit.c: Likewise.
	* tests-mbwc/dat_mblen.c: Likewise.
	* tests-mbwc/dat_mbrlen.c: Likewise.
	* tests-mbwc/dat_mbrtowc.c: Likewise.
	* tests-mbwc/dat_mbsrtowcs.c: Likewise.
	* tests-mbwc/dat_mbstowcs.c: Likewise.
	* tests-mbwc/dat_mbtowc.c: Likewise.
	* tests-mbwc/dat_strcoll.c: Likewise.
	* tests-mbwc/dat_strfmon.c: Likewise.
	* tests-mbwc/dat_strxfrm.c: Likewise.
	* tests-mbwc/dat_swscanf.c: Likewise.
	* tests-mbwc/dat_towctrans.c: Likewise.
	* tests-mbwc/dat_towlower.c: Likewise.
	* tests-mbwc/dat_towupper.c: Likewise.
	* tests-mbwc/dat_wcrtomb.c: Likewise.
	* tests-mbwc/dat_wcscat.c: Likewise.
	* tests-mbwc/dat_wcschr.c: Likewise.
	* tests-mbwc/dat_wcscmp.c: Likewise.
	* tests-mbwc/dat_wcscoll.c: Likewise.
	* tests-mbwc/dat_wcscpy.c: Likewise.
	* tests-mbwc/dat_wcscspn.c: Likewise.
	* tests-mbwc/dat_wcslen.c: Likewise.
	* tests-mbwc/dat_wcsncat.c: Likewise.
	* tests-mbwc/dat_wcsncmp.c: Likewise.
	* tests-mbwc/dat_wcsncpy.c: Likewise.
	* tests-mbwc/dat_wcspbrk.c: Likewise.
	* tests-mbwc/dat_wcsrtombs.c: Likewise.
	* tests-mbwc/dat_wcsspn.c: Likewise.
	* tests-mbwc/dat_wcsstr.c: Likewise.
	* tests-mbwc/dat_wcstod.c: Likewise.
	* tests-mbwc/dat_wcstok.c: Likewise.
	* tests-mbwc/dat_wcstombs.c: Likewise.
	* tests-mbwc/dat_wcswidth.c: Likewise.
	* tests-mbwc/dat_wcsxfrm.c: Likewise.
	* tests-mbwc/dat_wctob.c: Likewise.
	* tests-mbwc/dat_wctomb.c: Likewise.
	* tests-mbwc/dat_wctrans.c: Likewise.
	* tests-mbwc/dat_wctype.c: Likewise.
	* tests-mbwc/dat_wcwidth.c: Likewise.
	* tests-mbwc/dat_isw-funcs.h: Fix comment.
2000-08-18 09:34:18 +00:00
Andreas Jaeger 3a93e25218 * tests-mbwc/tst_funcs.h (TST_IF_RETURN): Only test errno if it
should have a value.
2000-08-17  Andreas Jaeger  <aj@suse.de>

	* tests-mbwc/tst_funcs.h (TST_IF_RETURN): Only test errno if it
	should have a value.
2000-08-17 15:41:22 +00:00
Ulrich Drepper 07a3d63e52 Update.
2000-08-15  Ulrich Drepper  <drepper@redhat.com>

	* elf/multiload.c: Add mtrace call.  Call dlclose for all handles and
	free wd.
	* elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
	there is already one.

	* elf/dl-close.c: Pretty print.
2000-08-15 07:06:23 +00:00
Ulrich Drepper b8fd550293 Update.
* sysdeps/posix/ttyname.c: Make name variable from getttyname function
	global (with file scope).  Add __libc_subfreeres function to free the
	string.
	* sysdeps/unix/sysv/linux/ttyname.c: Likewise.  Also for buf variable
	in ttyname function.

	* sysdeps/generic/strtok.c: Remove initializer for olds variable.

	* crypt/md5-crypt.c: Let destructor deallocate static buffer.

	* iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
	mapping them to /x5c and /x7e respectively.
2000-08-15 06:12:25 +00:00
Ulrich Drepper 8a82cc3024 Update.
* locale/programs/localedef.c: Implement --prefix option to allow
	writing in standard places of alternative install directories.
2000-08-13 07:01:35 +00:00
Ulrich Drepper 139a4d957a Update.
2000-08-03  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/big5.c: Updated.
	Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2000-08-03 07:29:27 +00:00
Ulrich Drepper c44b54824c Update.
2000-08-02  Ulrich Drepper  <drepper@redhat.com>

	* tests-mbwc/tst_types.h: Don't use `char' for types of any field,
	use `int'.
2000-08-02 17:55:34 +00:00
Andreas Jaeger 8a958cd23f * Makefile (distribute): Follow name change of tst-ctype-de.in to
tst-ctype-de_DE.ISO-8859-1.in.
2000-08-01  Andreas Jaeger  <aj@suse.de>

	* Makefile (distribute): Follow name change of tst-ctype-de.in to
	tst-ctype-de_DE.ISO-8859-1.in.
2000-08-01 09:29:48 +00:00
Ulrich Drepper b669ab02b7 Update.
2000-07-31  Andreas Jaeger  <aj@suse.de>

	* inet/Versions: Remove getipnodebyaddr and friends from
	GLIBC_2.2.

	* resolv/netdb.h: Remove getipnodebyaddr and friends.
2000-07-31 23:14:10 +00:00
Ulrich Drepper a9706118e0 Update.
2000-07-29  Ulrich Drepper  <drepper@redhat.com>

	* locale/langinfo.h: Add entries for extra tables in CTYPE data.
	* locale/programs/ld-ctype.c: Adjust for this.

	* locale/programs/ld-collate.c: Add more alignment checks.
	* locale/string/strcoll.c: Likewise.

2000-07-30  Mark Kettenis  <kettenis@gnu.org>

	* stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
	outside USE_IN_LIBIO block.
2000-07-30 00:00:23 +00:00
Ulrich Drepper fb032fbd88 Update.
2000-07-26  Philip Blundell  <philb@gnu.org>

	* sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
	(elf_machine_rel): Use it for out-of-range PC24 relocs.
2000-07-29 19:36:10 +00:00
Ulrich Drepper 497b8ef43f Update.
2000-07-28  Philip Blundell  <philb@gnu.org>

	* math/test-fpucw.c: Ignore reserved bits in control word.

2000-07-28  Philip Blundell  <philb@gnu.org>

	* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
	(ret): Redefine to PSEUDO_RET.
	(PSEUDO): Remove jump to syscall_error.

2000-07-29  Mark Kettenis  <kettenis@gnu.org>

	* resolv/README: Add some information about using the resolver in
	multi-threaded code and with C++.  Spelling fixes.

2000-07-29  Mark Kettenis  <kettenis@gnu.org>

	* resolv/resolv.h (struct __sockaddr_in): Remove.
	(struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.

	* sysdeps/powerpc/backtrace.c (struct layout): Make pointers
	__unbounded.
2000-07-29 18:08:15 +00:00
Ulrich Drepper 2da345643a Add tests for wprintf. 2000-07-29 17:51:25 +00:00
Ulrich Drepper c1d835ced9 Update.
* stdio-common/Makefile (routines): Remove _i18n_itoa and
	_i18n_itowa.
2000-07-29 07:25:43 +00:00
Ulrich Drepper 69c69fe11d Update.
2000-07-28  Ulrich Drepper  <drepper@redhat.com>

	* stdio-common/_i18n_itoa.c: Removed.
	* stdio-common/_i18n_itoa.h: Removed.
	* stdio-common/_i18n_itowa.c: Removed.
	* stdio-common/_i18n_itowa.h: Removed.
	* stdio-common/_i18n_number.h: New file.
	* stdio-common/Depend: New file.
	* stdio-common/printf-parse.h: Handle I modifier correctly.  Optimize.
	* stdio-common/vfprintf.c: Rewrite buffer handling for integer
	printing.  Change printing of numbers with locale specific digits to
	use new code in _i18n_number.h.

	* stdio-common/bug13.c: Improve messages.

	* locale/programs/ld-ctype.c (ctype_read): Improve error message.
	(set_class_defaults): Always search also for Uxxxx names.
	Detect insufficient number of outdigits.

	* locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
2000-07-29 06:45:51 +00:00
Ulrich Drepper 5e46339327 Update.
2000-07-27  Bruno Haible  <haible@clisp.cons.org>

	* locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
	_NL_CTYPE_MAP_NAMES.
	* locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
	* wctype/wcfuncs.c (towlower, towupper): Use them.
	* wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
	* wctype/wctrans.c (wctrans): Likewise.
	* wctype/wctrans_l.c (__wctrans_l): Likewise.

2000-07-27  Bruno Haible  <haible@clisp.cons.org>

	* posix/fnmatch.c (is_char_class): Fix logic.  Avoid buffer overrun.
	Use the optimized version of this function outside glibc as well.
2000-07-28 19:52:40 +00:00
Ulrich Drepper eac4282fa6 Update.
2000-07-27  Jakub Jelinek  <jakub@redhat.com>

	* locale/indigits.h (indigit_value): Correct.
	* locale/indigitswc.h (indigitwc_value): Correct.
	* stdio-common/vfscanf.c (__vfscanf): Fix I18N number
	conversion, add GROUP checking for it, fix GROUP number
	conversion with strlen(thousands) > 1.
	Honour width correctly in the presence of floating
	decimal points and thousands separators.
	* stdio-common/tst-sscanf.c: New test.
	* stdio-common/Makefile: Add it to tests.
	* sysdeps/generic/strtol.c (strtol): Fix conversion if there are
	thousands separators and group argument is non-zero.

	Reported by Andi Kleen <ak@suse.de>.
2000-07-28 17:45:15 +00:00
Ulrich Drepper dab46544a2 Taiwanese locale definition. 2000-07-28 16:45:10 +00:00
Andreas Jaeger f1e0984603 tst-langinfo.c: Include <string.h> for strcmp prototype.
2000-07-28  Andreas Jaeger  <aj@suse.de>

	* tst-langinfo.c: Include <string.h> for strcmp prototype.
2000-07-28 11:53:16 +00:00
Ulrich Drepper 476b6d7fa4 Update.
2000-07-26  Ulrich Drepper  <drepper@redhat.com>

	* libio/iofwide.c: Enable transliteration for conversion from wchar_t
	by default.
	* locale/C-ctype.c: Likewise.
	* wcsmbs/wcsmbsload.c: Likewise.
2000-07-26 23:00:05 +00:00
Ulrich Drepper 9f4fa5bc33 Update.
Contributed by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.Update.
2000-07-26 19:02:00 +00:00
Ulrich Drepper e04b831ab4 Update.
2000-07-25  Bruno Haible  <haible@clisp.cons.org>

	* wctype/wctype.h (__wctrans_l): New declaration.
	* wctype/wctrans_l.c: New file.
	* wctype/Makefile (routines): Add wctrans_l.

	* rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
	* rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
2000-07-26 17:52:36 +00:00
Ulrich Drepper b7ed26c663 Update.
2000-07-25  Ulrich Drepper  <drepper@redhat.com>

	* rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
	Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
2000-07-26 05:54:30 +00:00
Ulrich Drepper 70e392a33a Update.
* libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
2000-07-25 22:27:43 +00:00
Ulrich Drepper 16093625a6 Update.
2000-07-25  Ulrich Drepper  <drepper@redhat.com>

	* iconv/gconv_builtin.h: Add WCHAR_T alias.
2000-07-25 21:59:36 +00:00
Ulrich Drepper ef44614405 Update.
2000-07-23  Bruno Haible  <haible@clisp.cons.org>

	* wctype/wchar-lookup.h: New file.
	* wctype/iswctype.c: Include "wchar-lookup.h".
	(__iswctype): Support alternate locale format with 3-level tables.
	* wctype/iswctype_l.c (__iswctype_l): Likewise.
	* wctype/towctrans.c (__towctrans): Likewise.
	* wctype/towctrans_l.c (__towctrans_l): Likewise.
	* wctype/wcfuncs.c: Include "wchar-lookup.h".
	(__ctype32_wctype, __ctype32_wctrans): Declare external.
	(__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
	__iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
	__iswxdigit, towlower, towupper): Support alternate locale format
	with 3-level tables.
	* wctype/wcextra.c (iswblank): Likewise.
	* wctype/wcfuncs_l.c: Include "wchar-lookup.h".
	(__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
	__iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
	__iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
	format with 3-level tables.
	* wctype/wcextra_l.c (__iswblank_l): Likewise.
	* wctype/wctype.c (__wctype): Likewise.  In the alternate locale
	format, return a 3-level table pointer.
	* wctype/wctype_l.c (__wctype_l): Likewise.
	* wctype/wctrans.c (wctrans): Likewise.
	* wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
	__ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
	__ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
	(iswctype): Remove macro definition.
	* wcsmbs/wcwidth.h: Include "wchar-lookup.h".
	(internal_wcwidth): Support alternate locale format with 3-level
	tables.
	* locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
	New nl_items.
	* locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
	Define them as being type "word".
	* locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
	* ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
	__ctype32_width): New exported variables.
	* locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
	alternate locale format. Don't initialize __ctype_names and
	__ctype_width in the alternate locale format.
	* locale/programs/localedef.h (oldstyle_tables): New declaration.
	* locale/programs/localedef.c (oldstyle_tables): New variable.
	(OPT_OLDSTYLE): New macro.
	(options): Add --old-style option.
	(parse_opt): Handle --old-style option.
	* locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
	map_offset, class_3level, map_3level, width_3level members.
	(ctype_output): Support for alternate locale format: Computation of
	nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
	_NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
	New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
	_NL_CTYPE_WIDTH now contains the three-level table. Extra elems
	now contain both class and map tables.
	(struct wctype_table): New type.
	(wctype_table_init, wctype_table_add, wctype_table_finalize): New
	functions.
	(struct wcwidth_table): New type.
	(wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
	functions.
	(struct wctrans_table): New type.
	(wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
	functions.
	(allocate_arrays): Support for alternate locale format: Set
	plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
	256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
	to the first 256 characters. Compute ctype->map_3level. Set
	ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
	instead of ctype->width.
2000-07-25 04:37:22 +00:00
Ulrich Drepper f79d99cb26 Update.
* Makefile: Add rules to build, run, and distribute tst-langinfo.
	* tst-langinfo.c: New file.
	* tst-langinfo.sh: New file.
2000-07-25 03:54:45 +00:00
Ulrich Drepper 71433ae4fe Update.
* locales/ja_JP (era_d_t_fmt): Fix typo.
2000-07-25 03:45:07 +00:00
Ulrich Drepper a64e8af150 Update.
2000-07-24  Ulrich Drepper  <drepper@redhat.com>

	* libio/iogetwline.c (_IO_getwline_info): Use wide character
	string functions.
2000-07-25 00:38:27 +00:00
Ulrich Drepper 33101abcb8 Update.
2000-07-24  Jakub Jelinek  <jakub@redhat.com>

	* locales/de_DE (LC_TIME): Use `Mit', not `Mot' as abbreviation
	for Wednesday.  Patch by <enrico.scholz@informatik.tu-chemnitz.de>.
2000-07-24 23:25:11 +00:00
Ulrich Drepper 945b22ed04 Update.
2000-07-23  Ulrich Drepper  <drepper@redhat.com>

	* locale/iso-639.def: Some errors corrected.
	Patch by Keld Simonsen.

	* include/limits.h: Update non-gcc portion.
	Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2000-07-24 00:22:08 +00:00
Ulrich Drepper bb3090cd0d (yesexpr): Add U005E at the beginning. (noexpr): Likewise. 2000-07-24 00:07:41 +00:00
Ulrich Drepper 3b9754f4a1 Update.
* nss/nss_files/files-parse.c: Don't pollute namespace by using
	strcasecmp.
2000-07-23 03:23:04 +00:00
Ulrich Drepper 5df3a37300 Update.
2000-07-22  Mark Kettenis  <kettenis@gnu.org>

	* locale/findlocale.c (locale_file_list): Use __LC_LAST as array
	size instead of LC_ALL to take into account the new locale
	categories.
2000-07-23 00:20:47 +00:00
Ulrich Drepper 49ba1c128f Update.
* intl/tst-translit.c (main): Update for now performed
	transliteration.
2000-07-22 22:31:57 +00:00