Commit Graph

647 Commits

Author SHA1 Message Date
Ulrich Drepper 73331cbf3c Update.
2001-07-31  Ulrich Drepper  <drepper@redhat.com>

	* locales/tr_TR: Define missing fields and remove FIXME comments.
	Patch by Nilg~n Belma Bug~ner <nilgun@fide.org>.
2001-07-31 23:30:26 +00:00
Ulrich Drepper 976cf26954 Update.
* locales/en_CA (LC_PAPER): Change to Letter.
	* locales/fr_CA (LC_PAPER): Likewise.
2001-07-19 15:04:23 +00:00
Ulrich Drepper fc265c25dd Update.
2001-07-19  Jakub Jelinek  <jakub@redhat.com>

	* locales/es_PR (LC_PAPER): Change to Letter.
	(LC_MEASUREMENT): Change to 2.
	* locales/es_US (LC_PAPER): Change to Letter.
	(LC_MEASUREMENT): Change to 2.
2001-07-19 14:37:30 +00:00
Ulrich Drepper a2a89dd6ce Update.
* include/libc-symbols.h: Provide more dummy definitions for the
	case if GNU ld isn't used.
2001-07-08 06:23:55 +00:00
Ulrich Drepper 9f2bedd02f Update.
2001-07-07  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
2001-07-08 05:57:47 +00:00
Andreas Jaeger 41bdb6e20c Update to LGPL v2.1.
2001-07-06  Paul Eggert  <eggert@twinsun.com>

	* manual/argp.texi: Remove ignored LGPL copyright notice; it's
	not appropriate for documentation anyway.
	* manual/libc-texinfo.sh: "Library General Public License" ->
	"Lesser General Public License".

2001-07-06  Andreas Jaeger  <aj@suse.de>

	* All files under GPL/LGPL version 2: Place under LGPL version
	2.1.
2001-07-06 04:58:11 +00:00
Ulrich Drepper f7364247e7 Update.
2001-06-28  Ulrich Drepper  <drepper@redhat.com>

	* manual/argp.texi: Tons of cleanups.
	Patch by Clifford U. Smith <cuel@swbell.net>.
2001-06-29 01:19:02 +00:00
Ulrich Drepper 7bcad28063 Update.
2001-06-27  Ulrich Drepper  <drepper@redhat.com>

	* posix/tst-regex.c: Fix several bugs.  Add more tests.
2001-06-27 07:59:20 +00:00
Ulrich Drepper 1574022402 * locales/ro_RO (day): Use U0163 instead of U021B.
2001-06-25  Jakub Jelinek  <jakub@redhat.com>
2001-06-26 04:28:54 +00:00
Ulrich Drepper d8f00d4669 Update.
2001-06-22  Jakub Jelinek  <jakub@redhat.com>

	* posix/regex.c (regex_compile, re_match_2_internal): Fix comment
	typos.

2001-06-01  Wolfram Gloger  <wg@malloc.de>

	* malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
	ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
	when malloc_atfork is in use.
2001-06-26 03:14:04 +00:00
Ulrich Drepper aa64639e6f Update.
2001-06-09  Bruno Haible  <haible@clisp.cons.org>

	* charmaps/BIG5-HKSCS: Renamed from charmaps/BIG5HKSCS.  Change
	code_set_name to BIG5-HKSCS. Add BIG5HKSCS alias.

	* charmaps/SHIFT_JIS: Renamed from charmaps/SJIS.  Change code_set_name
2001-06-17 23:03:59 +00:00
Ulrich Drepper 3076f3d1ff Update.
2001-05-26  Bruno Haible  <haible@clisp.cons.org>

	* charmaps/SHIFT_JIS: Renamed from charmaps/SJIS. Change code_set_name
	to SHIFT_JIS. Add SJIS as alias.
	* Makefile (CHARMAPS): For SJIS locale, use SHIFT_JIS charmap.
	* gen-locale.sh: Likewise.
2001-06-17 22:44:18 +00:00
Ulrich Drepper c28d0993eb Renamed to Shift_JIS. 2001-06-17 22:43:11 +00:00
Ulrich Drepper 582e776ffc Update.
* charmaps/GB18030: Update for Unicode 3.1: Add <U03F4>..<U03F5>. Use
	full Hangul syllable names. Add Unicode planes 1 (scripts, symbols),
	2 (CJK), 14 (tags), 15 and 16 (private use). Update width table.
	Assign width 1 to <U3008>, <U3009>, <U3014>, <U3015>, <U3018>, <U3019>.

2001-05-29  Bruno Haible  <haible@clisp.cons.org>
2001-06-09 23:12:08 +00:00
Ulrich Drepper 0bc9ba69ff Update for Unicode 3.1: Add <U03F4>..<U03F5>. Use full Hangul syllable names. Add Unicode planes 1 (scripts, symbols), 2 (CJK), 14 (tags), 15 and 16 (private use). Update width table. Assign width 1 to <U3008>, <U3009>, <U3014>, <U3015>, <U3018>, <U3019>. 2001-06-09 22:55:05 +00:00
Ulrich Drepper 289ac9ddb4 Update.
2001-06-06  Ulrich Drepper  <drepper@redhat.com>

	* timezone/zic.c: Update from tzcode2001c.
	* timezone/private.h: Likewise.
	* timezone/africa: Update from tzdata2001c.
	* timezone/asia: Likewise.
	* timezone/europe: Likewise.
	* timezone/northamerica: Likewise.
	* timezone/southamerica: Likewise.
	* timezone/zone.tab: Likewise.
2001-06-06 14:01:54 +00:00
Ulrich Drepper 601d294296 Update.
2001-06-04  Bruno Haible  <haible@clisp.cons.org>

	* iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
	* iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
	UNICODE_TAG_HANDLER.
	(__gconv_transform_internal_ucs2): Likewise.
	(__gconv_transform_internal_ucs2reverse): Likewise.
	* iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
	* iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
	* iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
	* iconvdata/big5.c (BODY for TO_LOOP): Likewise.
	* iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
	* iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
	* iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
	* iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
	* iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
	* iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
	* iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
	* iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
	* iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
	* iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
	* iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
	* iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
	* iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
	* iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
	* iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
	* iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
	* iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
	* iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
	* iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
	* iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
	* iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
	* iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
	* iconvdata/johab.c (BODY for TO_LOOP): Likewise.
	* iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
	* iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
	* iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
	* iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
	* iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
	TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
	TAG_language_zh, CURRENT_TAG_MASK): New enum values.
	(EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
	is already selected but set2 or tag are set.
	(conversion): New enum type.
	(cvlist_t): New type.
	(CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
	(conversion_lists): New array.
	(BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja",
	prefer conversion to Japanese character sets. If "zh", prefer
	conversion to GB2312. If "ko", prefer conversion to KSC5601. Small
	optimizations.
	(INIT_PARAMS): Add tag.
	(UPDATE_PARAMS): Add tag.

2001-06-04  Bruno Haible  <haible@clisp.cons.org>

	* locale/programs/locfile.c (write_locale_data): Before creat(),
	unlink the file, to avoid crashing the processes that mmap it.  Change
	a double slash to a single slash.  Free fname in case of error return.

2001-06-02  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
	changes, do the special handling for denormal numbers, not for
	normalized numbers (patch by <trevin@xmission.com>).

	* math/test-misc.c (main): Test frexpl with denormal arguments.

2001-06-04  Jakub Jelinek  <jakub@redhat.com>

	* math/libm-test.inc (llround_test): Add two new llround tests.
	* sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
	overflow when rounding away from zero.

2001-06-04  Jakub Jelinek  <jakub@redhat.com>

	* math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
	* math/math_private.h (__ieee754_log2, __ieee754_log2f,
	__ieee754_log2l): New prototypes.
	* sysdeps/generic/w_log2.c: New file.
	* sysdeps/generic/w_log2f.c: New file.
	* sysdeps/generic/w_log2l.c: New file.
	* sysdeps/generic/s_log2l.c: Move...
	* sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l.
	* sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
	and log2(x < 0).
	* sysdeps/i386/fpu/s_log2.S: Move...
	* sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
	* sysdeps/i386/fpu/s_log2f.S: Move...
	* sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
	* sysdeps/i386/fpu/s_log2l.S: Move...
	* sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
	* sysdeps/m68k/fpu/s_log2.S: Move...
	* sysdeps/m68k/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
	* sysdeps/m68k/fpu/s_log2f.S: Move...
	* sysdeps/m68k/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
	* sysdeps/m68k/fpu/s_log2l.S: Move...
	* sysdeps/m68k/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
	* sysdeps/ieee754/dbl-64/s_log2.c: Move...
	* sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to
	__ieee754_log2.
	* sysdeps/ieee754/flt-32/s_log2f.c: Move...
	* sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to
	__ieee754_log2f.

2001-06-04  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
	even arguments which result in denormalized exp2 are accepted.
	(__exp2): Arguments equal to u_threshold already result into
	underflow.
	* sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
	* sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
	* sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
	low, with corrected lowmark use greaterequal, not greater.
	* sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.

2001-06-04  Jakub Jelinek  <jakub@redhat.com>

	* math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
	* sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
	* sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
	* sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
	* sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
	* sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
	* sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
	* sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.

2001-06-04  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
	gave non-finite result instead of using constant in generic
	version.
	* sysdeps/generic/w_coshf.c (__coshf): Likewise.
	* sysdeps/generic/w_cosh.c (__cosh): Likewise.
	* sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
	(__exp10): Test if finite argument gave non-finite result.
	* sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
	Likewise.
	* sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
	Likewise.
2001-06-04  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
	overflow threshold constant (log(LDBL_MAX)+M_LN2l).

2001-05-29  Bruno Haible  <haible@clisp.cons.org>

	* locale/programs/ld-ctype.c (idx_table): New struct type.
	(idx_table_init, idx_table_get, idx_table_add): New functions.
	(MAX_CHARNAMES_IDX): Remove macro.
	(locale_ctype_t): Change type of charnames_idx field.
	(ctype_startup): Change initialization of charnames_idx field.
	(find_idx): Use idx_table_get and idx_table_add for speed.

	* locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
	computation of characters in a range.

2001-05-29  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
	<U03F5>.
	(__ucs_to_gb18030_tab1): Likewise.
	(BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
	(BODY for TO_LOOP): Likewise.
	* iconvdata/tst-table-charmap.sh: Update for charmaps containing
	<U00xxxxxx> syntax.
	* iconvdata/tst-table-from.c (bmp_only): New variable.
	(utf8_decode): If bmp_only, don't return characters outside Unicode
	plane 0.
	(main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
	a conversion line if utf8_decode returns NULL.
	* iconvdata/tst-table-to.c (main): When testing encodings other than
	UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8
	instead of UCS-2 as input.
	* iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
	of the charmap.

2001-05-29  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/cns11643l1.c: Update to Unicode 3.1.
	(__cns11643l1_to_ucs4_tab): Regenerated.
	(__cns11643l1_from_ucs4_tab12): Regenerated.
	* iconvdata/cns11643.c: Update to Unicode 3.1.
	(__cns11643l14_to_ucs4_tab): Remove array.
	(__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
	__cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
	__cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
	(__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
	(__cns11643_from_ucs4p2_tab): New array.
	* iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
	(__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
	__cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
	__cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
	(cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
	(__cns11643_from_ucs4_tab): Remove declaration.
	(__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
	declarations.
	(ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and
	U+20000..U+2A6D6.
	* iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
	declaration.
	(__cns11643_from_ucs4p0_tab): New declaration.
	(ucs4_to_cns11643l2): Update for new arrays.
	* iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
	3 to 7.
	(BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
	* iconvdata/EUC-TW.irreversible: New file.
	* iconvdata/tst-table.sh: Use it.
	* iconvdata/Makefile (distribute): Add CP1255.irreversible,
	CP1258.irreversible, EUC-TW.irreversible.

2001-05-29  Bruno Haible  <haible@clisp.cons.org>

	* locale/C-translit.h.in: Add transliterations for new Unicode 3.1
	mathematical symbols.
2001-06-06 12:55:46 +00:00
Ulrich Drepper b912ca1144 Update.
2001-05-25  Bruce Mitchener  <bruce@cubik.org>

	* manual/ctype.texi: Minor fix.
	* manual/install.texi: Likewise.
	* manual/startup.texi: Likewise.
	* manual/examples/dir.c: Use perror() rather than puts().

2001-05-25  David Mosberger  <davidm@hpl.hp.com>

	* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
	#endif directive inside a comment to avoid compiler warnings.

2001-05-25  Philipp Thomas  <pthomas@suse.de>

	* nis/nis_print.c (nis_nstype2str): Don't mark names of
	naming services for translation, only UNKNOWN needs it.
	Add comment to prevent it for the future.

2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>

	* misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
	3.1 and non-GCC C99 compilers.
2001-05-27 07:05:32 +00:00
Ulrich Drepper 65fa1dec4e Update.
2001-05-24  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/Makefile: Add rules for CP10007.
	* iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
	* iconvdata/cp10007.c: New file.
	* iconvdata/tst-tables.sh: Add CP10007.
2001-05-24 08:50:10 +00:00
Ulrich Drepper e017830580 Update.
2001-05-21  Bruno Haible  <haible@clisp.cons.org>

	* wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
	use 0 instead, and rely on the converter to do the flush.
	* wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
	utf8_test.
	(utf8_test_2, utf8_test_3): New function.
	(utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
2001-05-23 00:08:46 +00:00
Andreas Jaeger 9c3bb910f2 * locales/ms_MY: Fix entries for Tue and Wednesday.
Patch by "Hasbullah Pit (sebol)" <sebol@ikhlas.com>.
2001-05-14  Andreas Jaeger  <aj@suse.de>

	* locales/ms_MY: Fix entries for Tue and Wednesday.
	Patch by "Hasbullah Pit (sebol)" <sebol@ikhlas.com>.
2001-05-14 08:05:09 +00:00
Ulrich Drepper 71e1637e40 Update.
2001-04-18  Jakub Jelinek  <jakub@redhat.com>

	* locales/be_BY: Fix syntax in LC_COLLATE section.
	* locales/ru_UA: Likewise.
	* locales/tr_TR: Likewise.
	* locales/uk_UA: Likewise.
2001-04-18 14:45:36 +00:00
Ulrich Drepper e7f21fa6fb Update.
2001-04-06  Ulrich Drepper  <drepper@redhat.com>

	* iconv/iconv_open.c: Move strip and upstr definitions...
	* iconv/gconv_charset.h: ...here.  New file.
	* iconv/gconv_db.c (once): Move to file level.
	(do_lookup_alias): Split out from __gconv_find_transform.
	(__gconv_find_transform): Call do_lookup_alias.
	(__gconv_loopup_alias): New function.
	* locale/langinfo.h: Define _NL_*_CODESET values for all categories
	but LC_CTYPE.
	* locale/categories.def: Add entries for new _NL_*_CODESET values.
	* locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
	* locale/C-address.c: Initialize _NL_*_CODESET element.
	* locale/C-collate.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.
	* locale/localeinfo.h: Declare _nl_C_codeset.
	* locale/C_name.c: Define _nl_C_codeset.
	* locale/findlocale.c: Before accepting locale check that the used
	charset does not conflict with what the locale name said.
	* locale/programs/ld-address.c: Emit codeset information.
	* locale/programs/ld-collate.c: Likewise.
	* locale/programs/ld-identification.c: Likewise.
	* locale/programs/ld-measurement.c: Likewise.
	* locale/programs/ld-messages.c: Likewise.
	* locale/programs/ld-monetary.c: Likewise.
	* locale/programs/ld-name.c: Likewise.
	* locale/programs/ld-numeric.c: Likewise.
	* locale/programs/ld-paper.c: Likewise.
	* locale/programs/ld-telephone.c: Likewise.
	* locale/programs/ld-time.c: Likewise.

	* localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
	if the locale data couldn't be found.

	* string/Makefile: Define tst-strxfrm-ENV.

	* ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
2001-04-06 17:49:18 +00:00
Ulrich Drepper b28dcd8e13 Update.
2001-03-17  H.J. Lu  <hjl@gnu.org>

	* manual/Makefile (install): Use $(INSTALL_DATA) instead of
	cp to install `dir'.
2001-03-19 01:38:11 +00:00
Ulrich Drepper b716cb4e68 Update.
* configure.in: Don't check for libgd if user set --without-gd.
	* string/Makefile (tests): Add tst-strtok.
2001-02-21 16:16:27 +00:00
Ulrich Drepper 4c48dc9386 Update.
2001-02-18  Mark Kettenis  <kettenis@gnu.org>

	* malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
	(mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.

2001-02-17  H.J. Lu  <hjl@gnu.org>

	* sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
	scratch registers across the system call.
2001-02-19 18:55:39 +00:00
Ulrich Drepper 8da2915d5d Update.
2001-02-19  Ulrich Drepper  <drepper@redhat.com>

	* libio/iogetline.c: Move return until after last statement.

	* localedata/show-ucs-data.c: Don't show < > for better readability.

	* sysdeps/ia64/fpu/Dist: New file.
	* sysdeps/ia64/fpu/Makefile: New file.
	* sysdeps/ia64/fpu/Versions: New file.
	* sysdeps/ia64/fpu/e_acos.S: New file.
	* sysdeps/ia64/fpu/e_acosf.S: New file.
	* sysdeps/ia64/fpu/e_acosl.S: New file.
	* sysdeps/ia64/fpu/e_asin.S: New file.
	* sysdeps/ia64/fpu/e_asinf.S: New file.
	* sysdeps/ia64/fpu/e_asinl.S: New file.
	* sysdeps/ia64/fpu/e_atan2.S: New file.
	* sysdeps/ia64/fpu/e_atan2f.S: New file.
	* sysdeps/ia64/fpu/e_atan2l.c: New file.
	* sysdeps/ia64/fpu/e_cosh.S: New file.
	* sysdeps/ia64/fpu/e_coshf.S: New file.
	* sysdeps/ia64/fpu/e_coshl.S: New file.
	* sysdeps/ia64/fpu/e_exp.S: New file.
	* sysdeps/ia64/fpu/e_expf.S: New file.
	* sysdeps/ia64/fpu/e_expl.c: New file.
	* sysdeps/ia64/fpu/e_fmod.S: New file.
	* sysdeps/ia64/fpu/e_fmodf.S: New file.
	* sysdeps/ia64/fpu/e_fmodl.S: New file.
	* sysdeps/ia64/fpu/e_hypot.S: New file.
	* sysdeps/ia64/fpu/e_hypotf.S: New file.
	* sysdeps/ia64/fpu/e_hypotl.S: New file.
	* sysdeps/ia64/fpu/e_log.S: New file.
	* sysdeps/ia64/fpu/e_log10.c: New file.
	* sysdeps/ia64/fpu/e_log10f.c: New file.
	* sysdeps/ia64/fpu/e_log10l.c: New file.
	* sysdeps/ia64/fpu/e_logf.S: New file.
	* sysdeps/ia64/fpu/e_logl.c: New file.
	* sysdeps/ia64/fpu/e_pow.S: New file.
	* sysdeps/ia64/fpu/e_powf.S: New file.
	* sysdeps/ia64/fpu/e_powl.S: New file.
	* sysdeps/ia64/fpu/e_rem_pio2.c: New file.
	* sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
	* sysdeps/ia64/fpu/e_remainder.S: New file.
	* sysdeps/ia64/fpu/e_remainderf.S: New file.
	* sysdeps/ia64/fpu/e_remainderl.S: New file.
	* sysdeps/ia64/fpu/e_scalb.S: New file.
	* sysdeps/ia64/fpu/e_scalbf.S: New file.
	* sysdeps/ia64/fpu/e_scalbl.S: New file.
	* sysdeps/ia64/fpu/e_sinh.S: New file.
	* sysdeps/ia64/fpu/e_sinhf.S: New file.
	* sysdeps/ia64/fpu/e_sinhl.S: New file.
	* sysdeps/ia64/fpu/e_sqrt.S: New file.
	* sysdeps/ia64/fpu/e_sqrtf.S: New file.
	* sysdeps/ia64/fpu/e_sqrtl.S: New file.
	* sysdeps/ia64/fpu/k_rem_pio2.c: New file.
	* sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
	* sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
	* sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
	* sysdeps/ia64/fpu/libm_error.c: New file.
	* sysdeps/ia64/fpu/libm_frexp4.S: New file.
	* sysdeps/ia64/fpu/libm_frexp4f.S: New file.
	* sysdeps/ia64/fpu/libm_frexp4l.S: New file.
	* sysdeps/ia64/fpu/libm_reduce.S: New file.
	* sysdeps/ia64/fpu/libm_support.h: New file.
	* sysdeps/ia64/fpu/libm_tan.S: New file.
	* sysdeps/ia64/fpu/s_atan.S: New file.
	* sysdeps/ia64/fpu/s_atanf.S: New file.
	* sysdeps/ia64/fpu/s_atanl.S: New file.
	* sysdeps/ia64/fpu/s_cbrt.S: New file.
	* sysdeps/ia64/fpu/s_cbrtf.S: New file.
	* sysdeps/ia64/fpu/s_cbrtl.S: New file.
	* sysdeps/ia64/fpu/s_ceil.S: New file.
	* sysdeps/ia64/fpu/s_ceilf.S: New file.
	* sysdeps/ia64/fpu/s_ceill.S: New file.
	* sysdeps/ia64/fpu/s_cos.S: New file.
	* sysdeps/ia64/fpu/s_cosf.S: New file.
	* sysdeps/ia64/fpu/s_cosl.S: New file.
	* sysdeps/ia64/fpu/s_expm1.S: New file.
	* sysdeps/ia64/fpu/s_expm1f.S: New file.
	* sysdeps/ia64/fpu/s_expm1l.S: New file.
	* sysdeps/ia64/fpu/s_floor.S: New file.
	* sysdeps/ia64/fpu/s_floorf.S: New file.
	* sysdeps/ia64/fpu/s_floorl.S: New file.
	* sysdeps/ia64/fpu/s_frexp.c: New file.
	* sysdeps/ia64/fpu/s_frexpf.c: New file.
	* sysdeps/ia64/fpu/s_frexpl.c: New file.
	* sysdeps/ia64/fpu/s_ilogb.S: New file.
	* sysdeps/ia64/fpu/s_ilogbf.S: New file.
	* sysdeps/ia64/fpu/s_ilogbl.S: New file.
	* sysdeps/ia64/fpu/s_ldexp.S: New file.
	* sysdeps/ia64/fpu/s_ldexpf.S: New file.
	* sysdeps/ia64/fpu/s_ldexpl.S: New file.
	* sysdeps/ia64/fpu/s_log1p.S: New file.
	* sysdeps/ia64/fpu/s_log1pf.S: New file.
	* sysdeps/ia64/fpu/s_log1pl.S: New file.
	* sysdeps/ia64/fpu/s_logb.S: New file.
	* sysdeps/ia64/fpu/s_logbf.S: New file.
	* sysdeps/ia64/fpu/s_logbl.S: New file.
	* sysdeps/ia64/fpu/s_matherrf.c: New file.
	* sysdeps/ia64/fpu/s_matherrl.c: New file.
	* sysdeps/ia64/fpu/s_modf.S: New file.
	* sysdeps/ia64/fpu/s_modff.S: New file.
	* sysdeps/ia64/fpu/s_modfl.S: New file.
	* sysdeps/ia64/fpu/s_nearbyint.S: New file.
	* sysdeps/ia64/fpu/s_nearbyintf.S: New file.
	* sysdeps/ia64/fpu/s_nearbyintl.S: New file.
	* sysdeps/ia64/fpu/s_rint.S: New file.
	* sysdeps/ia64/fpu/s_rintf.S: New file.
	* sysdeps/ia64/fpu/s_rintl.S: New file.
	* sysdeps/ia64/fpu/s_round.S: New file.
	* sysdeps/ia64/fpu/s_roundf.S: New file.
	* sysdeps/ia64/fpu/s_roundl.S: New file.
	* sysdeps/ia64/fpu/s_scalbn.S: New file.
	* sysdeps/ia64/fpu/s_scalbnf.S: New file.
	* sysdeps/ia64/fpu/s_scalbnl.S: New file.
	* sysdeps/ia64/fpu/s_significand.S: New file.
	* sysdeps/ia64/fpu/s_significandf.S: New file.
	* sysdeps/ia64/fpu/s_significandl.S: New file.
	* sysdeps/ia64/fpu/s_sin.c: New file.
	* sysdeps/ia64/fpu/s_sincos.c: New file.
	* sysdeps/ia64/fpu/s_sincosf.c: New file.
	* sysdeps/ia64/fpu/s_sincosl.c: New file.
	* sysdeps/ia64/fpu/s_sinf.c: New file.
	* sysdeps/ia64/fpu/s_sinl.c: New file.
	* sysdeps/ia64/fpu/s_tan.S: New file.
	* sysdeps/ia64/fpu/s_tanf.S: New file.
	* sysdeps/ia64/fpu/s_tanl.S: New file.
	* sysdeps/ia64/fpu/s_trunc.S: New file.
	* sysdeps/ia64/fpu/s_truncf.S: New file.
	* sysdeps/ia64/fpu/s_truncl.S: New file.
	* sysdeps/ia64/fpu/w_acos.c: New file.
	* sysdeps/ia64/fpu/w_acosf.c: New file.
	* sysdeps/ia64/fpu/w_acosl.c: New file.
	* sysdeps/ia64/fpu/w_asin.c: New file.
	* sysdeps/ia64/fpu/w_asinf.c: New file.
	* sysdeps/ia64/fpu/w_asinl.c: New file.
	* sysdeps/ia64/fpu/w_atan2.c: New file.
	* sysdeps/ia64/fpu/w_atan2f.c: New file.
	* sysdeps/ia64/fpu/w_atan2l.c: New file.
	* sysdeps/ia64/fpu/w_cosh.c: New file.
	* sysdeps/ia64/fpu/w_coshf.c: New file.
	* sysdeps/ia64/fpu/w_coshl.c: New file.
	* sysdeps/ia64/fpu/w_exp.c: New file.
	* sysdeps/ia64/fpu/w_expf.c: New file.
	* sysdeps/ia64/fpu/w_fmod.c: New file.
	* sysdeps/ia64/fpu/w_fmodf.c: New file.
	* sysdeps/ia64/fpu/w_fmodl.c: New file.
	* sysdeps/ia64/fpu/w_hypot.c: New file.
	* sysdeps/ia64/fpu/w_hypotf.c: New file.
	* sysdeps/ia64/fpu/w_hypotl.c: New file.
	* sysdeps/ia64/fpu/w_log.c: New file.
	* sysdeps/ia64/fpu/w_log10.c: New file.
	* sysdeps/ia64/fpu/w_log10f.c: New file.
	* sysdeps/ia64/fpu/w_log10l.c: New file.
	* sysdeps/ia64/fpu/w_logf.c: New file.
	* sysdeps/ia64/fpu/w_logl.c: New file.
	* sysdeps/ia64/fpu/w_pow.c: New file.
	* sysdeps/ia64/fpu/w_powf.c: New file.
	* sysdeps/ia64/fpu/w_powl.c: New file.
	* sysdeps/ia64/fpu/w_remainder.c: New file.
	* sysdeps/ia64/fpu/w_remainderf.c: New file.
	* sysdeps/ia64/fpu/w_remainderl.c: New file.
	* sysdeps/ia64/fpu/w_scalb.c: New file.
	* sysdeps/ia64/fpu/w_scalbf.c: New file.
	* sysdeps/ia64/fpu/w_scalbl.c: New file.
	* sysdeps/ia64/fpu/w_sqrt.c: New file.
	* sysdeps/ia64/fpu/w_sqrtf.c: New file.
	* sysdeps/ia64/fpu/w_sqrtl.c: New file.
	* sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
	implementation.
	* sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
	Change FP_ILOGBNAN for new implementation.
	* Verions.def: Add 2.2.3 versions.
2001-02-19 09:09:18 +00:00
Ulrich Drepper 78b385b834 Update.
2001-02-16  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/ld-address.c (address_finish): Add 'S' to allow
	formats for postal_fmt.

2001-02-16  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
	__ftruncate64 alias.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
	Likewise.

2001-02-15  David Mosberger  <davidm@hpl.hp.com>

	* sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
	do "loadrs".  Writing to bspstore already takes care of
	invalidating the "clean" partition.
2001-02-16 18:40:30 +00:00
Ulrich Drepper 2d0aea11b0 Update.
2001-02-15  Jakub Jelinek  <jakub@redhat.com>

	* posix/regex.c (init_syntax_once): Add prototype.
	(TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
	(re_search_2): Avoid warning.
	(count_mbs_length): Add prototype.
	* posix/tst-regex3.c: New file.
	* posix/Makefile (tests): Add bug-regex3.
2001-02-15 22:27:29 +00:00
Ulrich Drepper 36874b2165 Update.
* time/sys/time.h: Make settimeofday and adjtime available if
	_BSD_SOURCE.

	* time/sys/time.h: Make timer* macros available for BSD.
2001-02-14 22:55:40 +00:00
Ulrich Drepper a19cac65b0 Update.
* iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
	Patch by Yong Li <rigel863@yahoo.com>.
2001-02-14 22:35:52 +00:00
Ulrich Drepper be8c46fcef Update.
* locale/programs/ld-paper.c (paper_output): Pretty printing.

	* sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
	* sysdeps/generic/utmp_file.c: Use LFS functions and types.
2001-02-14 01:37:36 +00:00
Andreas Jaeger ec76d7284c * locales/en_IN: Add newline at end of file.
* SUPPORTED: Add more entries.
2001-02-09  Andreas Jaeger  <aj@suse.de>

	* locales/en_IN: Add newline at end of file.

	* SUPPORTED: Add more entries.
2001-02-09 18:56:06 +00:00
Ulrich Drepper 257bdad021 Update.
2001-02-09  Ulrich Drepper  <drepper@redhat.com>

	* libio/tst_wscanf.c (main): Add cast to avoid warning.
	* libio/tst_swscanf.c (main): Likewise..
2001-02-09 17:57:28 +00:00
Ulrich Drepper 7c5bb945c2 Update.
2001-02-09  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/generic/setenv.c (unsetenv): Remove const from len.
	* sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
	__NO_MATH_INLINES.
	* sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
	if not RTLD_BOOTSTRAP.
	* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2001-02-09 17:13:50 +00:00
Andreas Jaeger b317de5464 Add working locales. 2001-02-08 09:07:48 +00:00
Andreas Jaeger af1d26ca92 Partly revert last patch. 2001-02-08 07:47:25 +00:00
Andreas Jaeger dfcb962a8e Add some entries for new locales.
2001-02-08  Andreas Jaeger  <aj@suse.de>

	* localedata/SUPPORTED: Add some entries for new locales.

2001-02-07  Andreas Jaeger  <aj@suse.de>

	* locales/ar_IN: New.
	* locales/bn_IN: New.
	* locales/el_GR@euro: New.
	* locales/en_HK: New.
	* locales/en_IN: New.
	* locales/en_PH: New.
	* locales/en_SG: New.
	* locales/ms_MY: New.
	* locales/ta_IN: New.
	* locales/te_IN: New.
	* locales/zh_SG: New.
2001-02-08 07:31:56 +00:00
Andreas Jaeger 5d96a5f689 Locale files from IBM. 2001-02-07 13:33:14 +00:00
Ulrich Drepper fdc6c28a80 Update.
2001-02-06  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/locale.c (write_locales): Use scandir to read
	directory so that the entries are sorted.
2001-02-06 18:56:47 +00:00
Ulrich Drepper 75387c9a18 Extend LC_IDENTIFICATION entries a bit. 2001-02-06 18:35:07 +00:00
Ulrich Drepper 216c13860d Update.
2001-02-05  Ulrich Drepper  <drepper@redhat.com>

	* sunrpc/xdr_rec.c (set_input_fragment): Change type of header
	variable to uint32_t.
	Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
2001-02-06 07:09:01 +00:00
Ulrich Drepper 02cd8aeefd Update.
2001-02-04  Bruno Haible  <haible@clisp.cons.org>

	* locale/C-translit.h.in: Add transliterations for CJK units of
	measurement.
2001-02-06 07:00:52 +00:00
Ulrich Drepper 403cb8a19c Update.
* localedata/Makefile (tests): Add bug-iconv-trans.
	Define bug-iconv-trans-ENV.
	* localedata/bug-iconv-trans.c: New file.

2001-02-04  Bruno Haible  <haible@clisp.cons.org>

	* iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
	pointer, to avoid accumulating output from incomplete (unsuccessful)
	transliteration attempts.

2001-02-05  Ulrich Drepper  <drepper@redhat.com>
2001-02-06 04:20:37 +00:00
Ulrich Drepper c7fb46a94e Update.
2001-01-30  Yong Li  <yong.li@asu.edu>

	* iconv/gconv_open.c (__gconv_open): Fix the variable used to
	set result->__data[cnt].__flags.
	* iconv/iconv_prog.c (main): Correct error handling method name.
2001-01-31 07:00:50 +00:00
Ulrich Drepper 7e118246da Update.
2001-01-29  Ben Collins  <bcollins@debian.org>

	* sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
	* sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/s390/fpu/fraiseexcpt.c: Likewise.

	* locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
	Patch by Marko Myllynen <myllynen@lut.fi>.

	* string/bits/string2.h (__strpbrk_c2): Correct parameter types
	(int instead of char).
	(__strpbrk_c3): Likewise.
	Reported by GOTO Masanori <gotom@debian.or.jp>.

	Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
2001-01-31 06:36:39 +00:00
Ulrich Drepper 45ef592db2 Update.
* configure.in: Comment out binutils version test.
2001-01-24 22:56:53 +00:00
Ulrich Drepper 98d3e9934d Update.
* stdlib/Makefile (tst-strtod-ENV): New variable.
2001-01-24 22:19:16 +00:00
Ulrich Drepper df152cc80e Update.
* stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
	results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
	* stdlib/tst-rand48.c: New file.
	* stdlib/Makefile (tests): Add tst-rand48.
2001-01-20 04:33:16 +00:00
Ulrich Drepper 2090dd7364 Update.
* sysdeps/generic/segfault.c (install_handler): Check output file
	name with access().
2001-01-08 18:06:26 +00:00
Ulrich Drepper 52ee62236b Update.
* resolv/res_query.c: Use simply getenv() for HOSTALIASES.
	* sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
2001-01-08 17:55:53 +00:00
Andreas Jaeger 4e6bc1f61c (main): Use return instead of exit to avoid warning.
2000-12-31  Andreas Jaeger  <aj@suse.de>

	* tst-fmon.c (main): Use return instead of exit to avoid warning.
2000-12-31 16:56:02 +00:00
Ulrich Drepper 912f97da3d Update.
2000-12-21  H.J. Lu  <hjl@gnu.org>

	* sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
	Make sign_exponent element signed.

	* sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
	Fix a typo.

	* sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
2000-12-21 23:42:32 +00:00
Ulrich Drepper 76aecea11d Update.
* iconvdata/SJIS.irreversible: Remove unnecessary entries.
	* iconvdata/EUC-JP.irreversible: Remove unnecessary entries.

	* iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
	* iconvdata/jis0208.c: Likewise.
	* iconvdata/jis0212.c: Likewise.
	Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2000-12-04 00:11:40 +00:00
Ulrich Drepper 411adb1068 Update.
2000-11-29  H.J. Lu  <hjl@gnu.org>

	* stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.

2000-11-30  Jakub Jelinek  <jakub@redhat.com>

	* locale/setlocale.c (setname): Free for all categories, not just
	LC_ALL.
	(setlocale): Store a copy of string passed by user, not the string
	itself.

	* sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
2000-12-01 00:43:32 +00:00
Ulrich Drepper 9a0fe6a812 Test case for handling string passed to setlocale. 2000-12-01 00:15:38 +00:00
Ulrich Drepper 271469ae6c Update.
2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>

	* iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
	(distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
	and ibm1129.h.
	* iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
	IBM1129.
	* iconvdata/ibm922.c: New file.
	* iconvdata/ibm922.h: New file.
	* iconvdata/ibm1124.c: New file.
	* iconvdata/ibm1124.h: New file.
	* iconvdata/ibm1129.c: New file.
	* iconvdata/ibm1129.h: New file.
	* iconvdata/testdata/IBM922: New file.
	* iconvdata/testdata/IBM922..UTF8: New file.
	* iconvdata/testdata/IBM1124: New file.
	* iconvdata/testdata/IBM1124..UTF8: New file.
	* iconvdata/testdata/IBM1129: New file.
	* iconvdata/testdata/IBM1129..UTF8: New file.
2000-11-28 14:11:52 +00:00
Ulrich Drepper 14d5391f9b Update.
2000-11-28  Ulrich Drepper  <drepper@redhat.com>

	* catgets/gencat.c (normalize_line): Take extra parameter with escape
	character.  Change callers.
	(open_conversion): Determine mapping of 0x5c as wchar_t value.
	* catgets/Makefile: Add rules to build and run test-gencat.
	* catgets/sample.SJIS: New file.
	* catgets/test-gencat.c: New file.
	* catgets/test-gencat.sh: New file.
	Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2000-11-28 13:57:45 +00:00
Ulrich Drepper d64a397a54 Update.
2000-11-23  Ulrich Drepper  <drepper@redhat.com>

	* tst-digits.c (main): Add casts to avoid warnings.
	* collate-test.c (xstrcoll): Make l1 and l2 const.
	* xfrm-test.c (xstrcmp): Make l1 and l2 const.
2000-11-23 19:41:48 +00:00
Ulrich Drepper 6cc7d725db Update.
2000-11-20  Ulrich Drepper  <drepper@redhat.com>

	* configure.in: Add --enable-all-warnings.
	* config.make.in (all-warnings): New variable.
	* Makeconfig (+gccwarn): Define with many more warnings if
	all-warnings is yes.
2000-11-20 22:13:20 +00:00
Ulrich Drepper 111bb972b2 Update.
2000-11-15  Ulrich Drepper  <drepper@redhat.com>

	* intl/Makefile: tst-gettext2.sh does not need a third parameter.

	* intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
	output of program.

	* intl/tst-gettext2.c: Set C locale if setting other locale
	failed.  Use gettext() not _().

	* locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
	successfully loaded a new locale.

2000-11-13  Andreas Jaeger  <aj@suse.de>

	* configure.in: Require gcc 2.95 or newer.

2000-11-15  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
	Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.

2000-11-11  Jim Meyering  <meyering@lucent.com>

	* string/strndup.c (strndup): Cast return value to `char *'.

2000-11-15  Jim Meyering  <meyering@ascend.com>

	* sysdeps/generic/memchr.c: Remove some useless parentheses.
	[HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
	[HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
	[! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
	Also #undef __memchr.
	Use `weak_alias' only if it's defined.

2000-11-10  H.J. Lu  <hjl@gnu.org>

	* Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
2000-11-15 23:56:34 +00:00
Ulrich Drepper 89554807fd Changed LC_IDENTIFICATION territory field to Republic of Korea. Streamlined and extend(include all Hangul syllables) hangul and hanja class definition in LC_CTYPE and hangul portion of LC_COLLATE. Several changes in LC_TIME. Added tel_dom_fmt to LC_TELEPHONE. 2000-11-15 23:01:14 +00:00
Ulrich Drepper 53e5cdd844 Update.
2000-11-09  Ulrich Drepper  <drepper@redhat.com>

	* version.h (VERSION): Bump to 2.2.
	(RELEASE): Set to stable.

	* posix/Makefile (tst-dir-ARGS): Fix problem with compiling in
	source directory.
2000-11-09 19:22:09 +00:00
Ulrich Drepper d3d99893ee Update.
* catgets/gencat.c (main): Don't use exit() to avoid warnings with
	broken compilers.

	* include/features.h (__STDC_ISO_10646__): Correct value to be
	200009L.  Patch by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.

2000-11-08  H.J. Lu  <hjl@gnu.org>

	* pwd/Versions (GLIBC_2.1.2): Add getpwnam_r.

2000-11-08  Jakub Jelinek  <jakub@redhat.com>

	* string/bits/string2.h: Check if _USE_STRING_ARCH_ macros are
	defined, not _HAVE_STRING_ARCH_.
	* sysdeps/i386/bits/string.h (_USE_STRING_ARCH_memset,
	_USE_STRING_ARCH_strchr): Define.
	* sysdeps/i386/i486/bits/string.h (_USE_STRING_ARCH_memset,
	_USE_STRING_ARCH_strchr): Define.
	* sysdeps/sparc/bits/string.h: New file.

2000-11-08  Bruno Haible  <haible@clisp.cons.org>

	* locale/C-translit.h.in: Tweak <U2014> result.
	* locale/C-translit.h: Regenerated.

2000-11-08  Ulrich Drepper  <drepper@redhat.com>

	* posix/unistd.h: Add attribute((const)) to sysconf prototype.
2000-11-08 21:20:06 +00:00
Ulrich Drepper a1e88b9a2f Update.
2000-11-08  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/euc-kr.c (euckr_from_ucs4): Map 0x20a9 to \xa3dc.
	(BODY from direction): Remove special handling of \x5c.
	* iconvdata/EUC-KR.irreversible: Adjust for this change.
	* iconvdata/testdata/EUC-KR..UTF8: Likewise.
	Reported by Jungshik Shin <jshin@pantheon.yale.edu>.
2000-11-08 08:08:09 +00:00
Ulrich Drepper c097f73253 Update.
* sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Skip FPU fields.
2000-11-08 07:03:52 +00:00
Ulrich Drepper 1324affa18 * charmaps/BIG5: Add mapping for <U20AC> back.
Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2000-11-07 00:26:45 +00:00
Ulrich Drepper 17b16ef060 Update.
2000-11-03  Bruno Haible  <haible@clisp.cons.org>

	* locales/translit_neutral: Add more entries.  Mostly from Markus Kuhn.
	* locales/translit_compat: Add a few ligatures.
	* locales/translit_combining: Add a few plain ASCII alternatives.
	* locales/translit_fraction: Likewise.  Surround with spaces.
2000-11-07 00:05:01 +00:00
Ulrich Drepper 7ff16556f3 Add more entries. 2000-11-07 00:03:47 +00:00
Ulrich Drepper de153e7f50 Update.
* stdio-common/Makefile (tests): Add tst-fmemopen.
	* stdio-common/tst-fmemopen.c: New file.
	Test case by Ben Collins <bcollins@debian.org>.

	* libio/iofopncook.c (_IO_cookie_seek): Correct test for error.

	* libio/fmemopen.c (fmemopen_read): Return 0 at end of buffer.
	(fmemopen_write): Set errno at end of buffer.
2000-10-31 05:20:53 +00:00
Ulrich Drepper 02fb3d179d Update.
* posix/runtests.c (main): Don't use exit() to avoid warning with
	broken compilers.

	* string/bug-strncat1.c: Undefine __USE_STRING_INLINES before
	defining it again to avoid warning.
	* string/bug-strpbrk1.c: Likewise.
	* string/bug-strspn1.c: Likewise.

2000-10-29  Bruno Haible  <haible@clisp.cons.org>

	* locale/C-translit.h.in: Include more rules from translit_neutral.
	Remove a few German and Danish specific rules.
	* locale/gen-translit.pl: Avoid an error when printing a string
	containing a '%' character.
	* locale/C-translit.h: Regenerated.
	* intl/translit.po: Choose different translations.
	* intl/tst-translit.c: Update.

2000-10-29  Bruno Haible  <haible@clisp.cons.org>

	* locale/programs/ld-ctype.c (translit_include_t): New type.
	(locale_ctype_t): Remove translit_copy_locale, translit_copy_repertoire
	fields, add translit_include field.
	(ctype_read): After seeing "translit_start" in ignore_content mode,
	skip the entire translit section, not only one line. Remove dead test
	for tok_translit_end. Enqueue include statements into a list.
	Signal error if tok_eof seen before tok_translit_end.
	(translit_flatten): New function.
	(allocate_arrays): Call translit_flatten.

2000-10-30  Ulrich Drepper  <drepper@redhat.com>
2000-10-31 04:38:55 +00:00
Ulrich Drepper c6042c732e Update.
2000-10-29  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/big5.c: Update.
	Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.

	* iconvdata/Makefile (distribute): Add BIG5.irreversible.
	* iconvdata/BIG5.irreversible: New file.
2000-10-30 05:19:41 +00:00
Ulrich Drepper da2a3ca6e2 Update.
2000-10-29  Greg Louis  <glouis@dynamicro.on.ca>

	* posix/regex.h (__restrict_arr): Move definition out of #ifndef block.
	Required because egcs-2.91.66 (aka 1.1.2) defines __restrict, but
	doesn't define __restrict_arr.

	* manual/search.texi: Correct description if VISIT values.
	Patch by Ben Collins <bcollins@debian.org>.
2000-10-30 04:18:33 +00:00
Ulrich Drepper 6d5503b16a Update.
2000-10-27  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/Makefile (modules): Add VISCII.
	(gen-8bit-modules): Add viscii.
	* iconvdata/viscii.c: New file.
	* iconvdata/gconv-modules: Add entries for VISCII.
	* iconvdata/tst-tables.sh: Add VISCII.
2000-10-27 21:07:08 +00:00
Ulrich Drepper ad5419628d Update.
2000-10-27  Bruno Haible  <haible@clisp.cons.org>

	* locales/sr_YU@cyrillic: New file. Based on a locale file by
	Anton Zinoviev <anton@lml.bas.bg>.
	* SUPPORTED: Add sr_YU@cyrillic.

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

	* locales/ar_SA: Use Unicode aware LC_CTYPE information from "i18n".
	* locales/be_BY: Likewise.
	* locales/bg_BG: Likewise.
	* locales/el_GR: Likewise.
	* locales/ja_JP: Likewise.
	* locales/ko_KR: Likewise.
	* locales/mk_MK: Likewise.
	* locales/ru_RU: Likewise.
	* locales/ru_UA: Likewise.
	* locales/th_TH: Likewise.
	* locales/tr_TR: Likewise.
	* locales/uk_UA: Likewise.
	* locales/zh_CN: Likewise.
	* tests-mbwc/dat_iswalnum.c: Update for changed character properties
	in the ja_JP.EUC-JP locale.
	* tests-mbwc/dat_iswalpha.c: Likewise.
	* tests-mbwc/dat_iswctype.c: Likewise.
	* tests-mbwc/dat_iswgraph.c: Likewise.
	* tests-mbwc/dat_iswprint.c: Likewise.
	* tests-mbwc/dat_iswpunct.c: Likewise.
2000-10-27 19:35:07 +00:00
Ulrich Drepper f256b0c7f8 Use Unicode aware LC_CTYPE information from "i18n". 2000-10-27 19:31:45 +00:00
Ulrich Drepper 5ab7f7c12a Update.
* inet/getipnodebyad.c: Removed.
	* inet/getipnodebynm.c: Removed.
	* inet/tst-ipnode.c: Removed.
	* inet/freehostent.c: Removed.

	* sysdeps/unix/bsd/osf/=dirstream.h: Removed.

	* sysdeps/unix/sysv/linux/Dist: Add bits/initspin.h.

	* elf/Makefile (distribute): Add neededobj4.c.

	* iconvdata/Makefile (distribute): Add BIG5HKSCS.irreversible.

	* sysdeps/hppa/Dist: New file.
	* sysdeps/unix/sysv/linux/hppa/Dist: New file.
2000-10-27 06:51:12 +00:00
Ulrich Drepper 44b6044680 Update.
* locale/langinfo.h (THOUSEP): Define this and don't duplicate
	definition of THOUSANDS_SEP.
2000-10-27 00:02:26 +00:00
Ulrich Drepper d8337213c8 Update.
* locale/C-monetary.c: Set mon_decimal to empty string.
	Add missing entry _NL_MONETARY_CRNCYSTR.
	* stdio-common/printf_fp.c: If MON_DECIAL_POINT is not provided use
	DECIMAL_POINT information.
	* locale/C-numeric.c: Set mon_grouping entry to empty string.
	* locale/C-time.c: Add date_fmt entries.  Remove two wrong entries.
	Correct value for number of entries.
	* locale/localeconv.c: Normalize result passed back in .grouping.
	Fix assignment to .int_* entries.

	* locale/Makefile (tests): Add tst-C-locale.
	* locale/tst-C-locale.c: New file.

	* locale/setlocale.c: Use LOCALEDIR and not LOCALE_PATH to locate
	locale files.
	* locale/newlocale.c: Likewise.

2000-10-26  GOTO Masanori  <gotom@debian.or.jp>

	* locale/langinfo.h: Define _DATE_FMT and _NL_W_DATE_FMT.
	* locale/categories.def: New support for date_fmt.
	* locale/programs/ld-time.c: Likewise.
	* locale/programs/locfile-kw.gperf: Likewise.
	* locale/programs/locfile-kw.h: Likewise.
	* locale/programs/locfile-token.h: Likewise.

2000-10-26  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/ieee754/ldbl-128/e_hypotl.c: New.

	* math/libm-test.inc (cabs_test, cexp_test, csqrt_test, hypot_test):
	Increase precision of constants.
	* sysdeps/alpha/fpu/libm-test-ulps: Update.
	* sysdeps/arm/libm-test-ulps: Update.
	* sysdeps/i386/fpu/libm-test-ulps: Update.
	* sysdeps/ia64/fpu/libm-test-ulps: Update.
	* sysdeps/m68k/fpu/libm-test-ulps: Update.
	* sysdeps/mips/fpu/libm-test-ulps: Update.
	* sysdeps/powerpc/fpu/libm-test-ulps: Update.
	* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
	* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
	* sysdeps/sh/sh4/fpu/libm-test-ulps: Update.
	* sysdeps/s390/fpu/libm-test-ulps: Update.

2000-10-26  Ulrich Drepper  <drepper@redhat.com>
2000-10-26 23:41:17 +00:00
Ulrich Drepper 5be068fc15 Update.
2000-10-26  Ulrich Drepper  <drepper@redhat.com>

	* locales/fa_IR: Fix many problems and change to use UTF-8.
	Patch by Roozbeh Pournader <roozbeh@sharif.edu>.
	* SUPPORTED: Add fa_IR.UTF-8.
2000-10-26 17:17:13 +00:00
Ulrich Drepper fd6650707a Update.
2000-10-22  Bruno Haible  <haible@clisp.cons.org>

	* iconvdata/big5hkscs.c (big5hkscs_to_ucs): Add irreversible mappings
	for 0x8BF8, 0xA27E..0xA2A7.
	* iconvdata/BIG5HKSCS.irreversible: New file.

2000-10-23  Jakub Jelinek  <jakub@redhat.com>

	* timezone/zdump.c (main): setlocale LC_CTYPE as well as LC_MESSAGES.
	* timezone/zic.c (main): Likewise.

2000-10-23  Thorsten Kukuk  <kukuk@suse.de>

	* nscd/connections.c (invalidate_cache): Don't invalidate a cache
	if it is not enabled.
2000-10-23 17:11:35 +00:00
Ulrich Drepper ceb579a3f8 Update.
2000-10-19  H.J. Lu  <hjl@gnu.org>

	* elf/Makefile (distribute): Add neededtest.c, neededobj1.c,
	neededobj2.c and neededobj3.c.
	(tests): Add neededtest.
	(modules-names): Add neededobj1, neededobj2 and neededobj3.
	($(objpfx)neededobj1.so): New target.
	($(objpfx)neededobj2.so): Likewise.
	($(objpfx)neededobj3.so): Likewise.
	($(objpfx)neededtest): Likewise.
	($(objpfx)neededtest.out): Likewise.
	* elf/neededtest.c: New. Based on the bug report from
	Allen Bauer <kylix_rd@hotmail.com>.
	* elf/neededobj1.c: Likewise.
	* elf/neededobj2.c: Likewise.
	* elf/neededobj3.c: Likewise.

2000-10-20  Ulrich Drepper  <drepper@redhat.com>

	* elf/dl-close.c (_dl_close): Decrement reference counter for all
	dependencies even if the DSO does not get unloaded.

	* elf/dl-load.c (_dl_map_object_from_fd): Pass pointer to ELF header
	to elf_machine_matches_host.
	* sysdeps/alpha/dl-machine.h (elf_machine_matches_host): Parameter
	is now pointer to ELF header.
	* sysdeps/arm/dl-machine.h: Likewise.
	* sysdeps/generic/dl-machine.h: Likewise.
	* sysdeps/hppa/dl-machine.h: Likewise.
	* sysdeps/i386/dl-machine.h: Likewise.
	* sysdeps/ia64/dl-machine.h: Likewise.
	* sysdeps/m68k/dl-machine.h: Likewise.
	* sysdeps/mips/dl-machine.h: Likewise.
	* sysdeps/mips/mips64/dl-machine.h: Likewise.
	* sysdeps/powerpc/dl-machine.h: Likewise.
	* sysdeps/s390/dl-machine.h: Likewise.
	* sysdeps/sh/dl-machine.h: Likewise.
	* sysdeps/sparc/sparc32/dl-machine.h: Likewise.
	* sysdeps/sparc/sparc64/dl-machine.h: Likewise.
	Patch by Martin Schwidefsksy <schwidefsky@de.ibm.com>.

2000-10-20  Jakub Jelinek  <jakub@redhat.com>

	* include/limits.h: Include bits/wordsize.h, use #if __WORDSIZE == 64
	check instead of #ifdef __alpha__.
	* include/bits/xopen_lim.h (WORD_BIT, LONG_BIT): Don't count on
	INT_MAX, __INT_MAX__, LONG_MAX or __LONG_MAX__ being defined when
	this is included.

	* posix/wordexp-tst.sh (testout): Place output file in build
	directory.  Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2000-10-21 00:02:39 +00:00
Ulrich Drepper aab0963999 Update.
2000-10-19  Ulrich Drepper  <drepper@redhat.com>

	* locales/iso14651_t1: Handle Macedonian correctly.
	Patch by Damjan <arhiv@freemail.org.mk>.
2000-10-20 06:16:38 +00:00
Ulrich Drepper 19e89d15a1 Update.
2000-10-06  Ulrich Drepper  <drepper@redhat.com>

	* locales/iso14651_t1: Add currency symbols.
2000-10-06 20:11:06 +00:00
Ulrich Drepper 619166175d Update.
* tests-mbwc/dat_iswctype.c: Full width 9 is not a digit in ja_JP.
	* tests-mbwc/dat_iswdigit.c: Likewise.

	Add full width digits to alnum class.
2000-10-05 02:53:05 +00:00
Ulrich Drepper f00f95d188 Update.
* locales/zh_CN: Remove non-ASCII digit entry.
	* locales/ja_JP: Likewise.

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

	* gen-unicode-ctype.c (is_digit, is_xdigit): Remove all non-ASCII
	digits.
	(is_alpha): Add them here.
	* locales/i18n (digit): Remove all non-ASCII digits.
	(alpha): Add them here.

	* dump-ctype.c: Pretty print.

2000-10-04  Ulrich Drepper  <drepper@redhat.com>
2000-10-05 02:01:22 +00:00
Ulrich Drepper 84ca314775 Update.
* iconvdata/Makefile (distribute): Add EUC-KR.irreversible.
2000-10-05 00:05:29 +00:00
Ulrich Drepper 228cc8780f Update.
* iconvdata/euc-kr.c (euckr_from_ucs4): Handle U20a9.
	(BODY from direction): Map \x5c to U20a9.
	* iconvdata/testdata/EUC-KR..UTF8: Adjust to this change.
	* iconvdata/EUC-KR.irreversible: New file.
2000-10-04 23:52:14 +00:00
Ulrich Drepper a94f9b3899 Update.
2000-10-03  Ulrich Drepper  <drepper@redhat.com>

	* tst-langinfo.sh: Adjust for change in ja_JP.
2000-10-03 19:46:23 +00:00
Ulrich Drepper b8b39dfbd2 Adjust for change in ja_JP. 2000-10-03 19:45:59 +00:00
Ulrich Drepper e6ea9c0dd0 Update.
2000-10-02  Jakub Jelinek  <jakub@redhat.com>

	* elf/nextmod1.c (failing_rtld_next_use): Ensure it is not tail call
	optimized.

	* sysdeps/sparc/sparc32/fpu/libm-test-ulps: New file.
2000-10-03 07:37:02 +00:00
Ulrich Drepper 73fb7bf092 Update.
2000-09-30  Bruno Haible  <haible@clisp.cons.org>

	* locale/programs/charmap-dir.h: New file.
	* locale/programs/charmap-dir.c: New file.
	* locale/programs/linereader.h (lr_create): New declaration.
	* locale/programs/linereader.c (lr_create): New function, split out
	from lr_open.
	(lr_open): Tailcall lr_create.
	* locale/programs/locale.c: Include "charmap-dir.h". Don't include
	<unistd.h>.
	(xstrdup): New declaration.
	(more_help): Use xstrdup instead of strdup.
	(write_locales): Likewise. When encountering a symbolic link, call
	stat.
	(write_charmaps): Simplify using the charmap-dir.h functions.
	Use xstrdup instead of strdup.
	* locale/programs/charmap.c: Include "charmap-dir.h". Don't include
	<dirent.h> and <unistd.h>.
	(cmlr_open): New function.
	(charmap_read): Use cmlr_open instead of lr_open. Simplify using the
	charmap-dir.h functions.
	* locale/Makefile (distribute): Add charmap-dir.h.
	(lib-modules): Add charmap-dir.
	(CFLAGS-charmap-dir.c): Set to -Wno-write-strings, because posix_spawn
	wants a 'char **', not a 'const char **'.
	* include/spawn.h: New file.

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

	* posix/spawn_faction_init.c: Include "spawn_int.h".
	(__posix_spawn_file_actions_realloc): Fix second realloc argument.

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

	* locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968.

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

	* wcsmbs/wcwidth.h (__ctype32_wctype): Remove declaration.
	(internal_wcwidth): Remove the tests for L'\0' and iswprint.
	* locale/programs/ld-ctype.c (find_idx): If max == NULL, return
	a pointer to the table entry, without extending the table.
	(allocate_arrays): Set a width only for characters with 'print'
	property. Set the width of L'\0' to 0.
	* locale/C-ctype.c (_nl_C_LC_CTYPE_width): Use default entry 0xff
	for unprintable characters.  Set entry of NUL to 0.

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

	* locale/programs/charmap.c (charmap_read): Avoid redundant tests.
	Don't forget to call closedir when the filename was found as a
	code_set_name.

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

	* iconv/gconv.h (__gconv_trans_context_fct): Change first argument's
	type to 'void *'.

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

	* locale/programs/ld-ctype.c (wctype_table_init): Initialize level1,
	level2, and level3 as well.
	(wctype_table_add): Remove a few unnecessary conditionals.

2000-09-30  Ralf Baechle  <ralf@gnu.org>

	* wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc.

2000-09-30  H.J. Lu  <hjl@gnu.org>
2000-10-01 19:54:15 +00:00
Ulrich Drepper 3e07621988 Update.
2000-10-01  Bruno Haible  <haible@clisp.cons.org>

	* charmaps/BIG5: Add a width table.
	* charmaps/GB18030: Likewise.
	* charmaps/ISO-8859-6: Likewise.
	* charmaps/ISO-8859-8: Likewise.
	* charmaps/TIS-620: Likewise.
2000-10-01 19:15:29 +00:00
Ulrich Drepper d77cd295eb Update.
* Makefile (repertoiremaps): Remove variable.
	(distribute): Remove repertoiremaps.
	(install-others): Likewise. Add .gz to charmaps.
	($(inst_i18ndir)/charmaps/%): Install in gzipped format.

2000-09-30  Bruno Haible  <haible@clisp.cons.org>
2000-10-01 19:08:30 +00:00
Ulrich Drepper 4a9dcff10e Update.
* charmaps/ISO-IR-197: Remove alias "none".

2000-09-30  Bruno Haible  <haible@clisp.cons.org>
2000-10-01 18:59:42 +00:00
Ulrich Drepper 70440f48d8 Update.
* charmaps/UTF-8: Add the correct Hangul syllable names.  Change the
	width of format control characters to 0.

2000-09-30  Bruno Haible  <haible@clisp.cons.org>
2000-10-01 18:51:15 +00:00
Ulrich Drepper d6040f1781 Update.
2000-09-30  Bruno Haible  <haible@clisp.cons.org>

	* tests-mbwc/tst_wcscmp.c (tst_wcscmp): Take the sign of ret.
	* tests-mbwc/dat_wcscmp.c (tst_wcscmp_loc): Don't expect precise
	return values.  Only the sign matters.
2000-10-01 18:47:09 +00:00
Ulrich Drepper 41a5a38276 Last non <Uxxxx> entries removed. 2000-09-29 22:01:02 +00:00
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 Jrg 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
Ulrich Drepper 0c0c8bdeed Update.
* locale/programs/ld-collate.c (handle_ellipsis): Test for
	duplication with generated name, not the name of the first
	character.
	Patch by Yong Li <yong.li@asu.edu>.
2000-07-22 02:36:19 +00:00
Andreas Jaeger 3a17c568d9 localedata is no add-on anymore, change docu. 2000-07-20 11:10:29 +00:00