glibc/locale
Ulrich Drepper 04ea3b0fbb Update.
2000-08-27  Bruno Haible  <haible@clisp.cons.org>

	* string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
	If nrules == 0 and srclen < n, copy only srclen + 1 characters.

	* sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
	If the result is fits in the buffer, copy only as many bytes as needed.

	* sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
	buffer after copying numbuf into it.
	* sysdeps/mach/_strerror.c (__strerror_r): Likewise.

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

	* posix/confstr.c (confstr): When string_len > len, NUL-terminate
	the result.  When string_len < len, don't clear the rest of the buffer.

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

	Support for new LC_COLLATE format.
	* locale/coll-lookup.h: New file.
	* locale/weightwc.h (findidx): When size == 0, call
	collidx_table_lookup.
	* wcsmbs/wcscoll.c: Include coll-lookup.h.
	* wcsmbs/wcsxfrm.c: Likewise.
	* posix/fnmatch.c: Likewise.
	* posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
	collseq_table_lookup.
	* locale/programs/3level.h: New file.
	* locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
	by including "3level.h".
	* locale/programs/ld-collate.c (wchead_table, collidx_table,
	collseq_table): New types, defined by including "3level.h".
	(locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
	(encoding_mask, encoding_byte): Remove.
	(utf8_encode): Use simple shifts instead.
	(collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
	to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
	(collate_output): New local variable tablewc_3level. When
	!oldstyle_tables, set table_size to 0 and names to NULL and fill
	tablewc_3level instead of tablewc. Change format of TABLEWC and
	COLLSEQWC entries written to the file.
	* locale/C-collate.c (collseqwc): Change format.
	(_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
	of COLLSEQWC.
	* locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.

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

	* locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
	(locale_ctype_t): New charnames_idx field.
	(ctype_startup): Initialize charnames_idx field.
	(find_idx): Speed up dramatically by using charnames_idx inverse table.

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

	* locale/C-ctype.c: Switch to new locale format.
	(_nl_C_LC_CTYPE_names): Remove array.
	(STRUCT_CTYPE_CLASS): New macro.
	(_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
	graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
	New three-level tables.
	(_nl_C_LC_CTYPE_width): Change from array to three-level table.
	(_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
	to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
	12 class tables and 2 map tables at the end.
	* ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
	(_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
	graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
	New declarations.
	(b): Remove trailing semicolon.
	(__ctype_names, __ctype_width): Don't initialize.
	(__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.

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

	* elf/dl-load.c (open_path): Add a argument telling whether *dirsp
	is guaranteed to be allocated with the same malloc() and may be
	passed to free().
	(_dl_map_object): Update open_path calls. If rtld_search_dirs has
	been set to empty by an earlier open_path call, don't pass it again.
2000-08-29 01:20:23 +00:00
..
programs Update. 2000-08-29 01:20:23 +00:00
.cvsignore Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-05-14 20:30:25 +00:00
broken_cur_max.c Update. 1999-01-29 09:01:50 +00:00
C_name.c Update. 1997-09-27 00:21:42 +00:00
C-address.c Update. 2000-06-16 23:04:41 +00:00
C-collate.c Update. 2000-08-29 01:20:23 +00:00
C-ctype.c Update. 2000-08-29 01:20:23 +00:00
C-identification.c Update. 2000-06-16 23:04:41 +00:00
C-measurement.c Update. 2000-06-16 23:04:41 +00:00
C-messages.c Update. 2000-06-16 23:04:41 +00:00
C-monetary.c Update. 2000-06-16 23:04:41 +00:00
C-name.c Update. 2000-06-16 23:04:41 +00:00
C-numeric.c Update. 2000-06-16 23:04:41 +00:00
C-paper.c Update. 2000-06-16 23:04:41 +00:00
C-telephone.c Update. 2000-06-16 23:04:41 +00:00
C-time.c Update. 2000-06-16 23:04:41 +00:00
C-translit.h Update. 2000-07-22 21:22:08 +00:00
C-translit.h.in Update. 2000-07-26 23:00:05 +00:00
categories.def Update. 2000-07-25 04:37:22 +00:00
codeset_name.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
coll-lookup.h Update. 2000-08-29 01:20:23 +00:00
duplocale.c Update. 2000-07-24 21:03:16 +00:00
elem-hash.h Update. 1999-12-31 18:23:00 +00:00
findlocale.c Update. 2000-08-27 19:05:19 +00:00
freelocale.c Update. 2000-07-24 21:03:16 +00:00
gen-translit.pl Update. 2000-07-22 21:22:08 +00:00
indigits.h Update. 2000-07-28 17:45:15 +00:00
indigitswc.h Update. 2000-07-28 17:45:15 +00:00
iso-639.def Update. 2000-07-24 00:22:08 +00:00
iso-3166.def Update. 1999-11-26 19:37:26 +00:00
iso-4217.def Update. 2000-08-23 04:04:02 +00:00
langinfo.h Update. 2000-08-14 04:57:27 +00:00
lc-address.c Update. 1999-08-31 07:04:41 +00:00
lc-collate.c Update. 1999-12-25 23:41:39 +00:00
lc-ctype.c Update. 2000-07-25 04:37:22 +00:00
lc-identification.c Update. 1999-08-31 07:04:41 +00:00
lc-measurement.c Update. 1999-08-31 07:04:41 +00:00
lc-messages.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
lc-monetary.c Update. 1999-09-13 09:07:36 +00:00
lc-name.c Update. 1999-08-31 07:04:41 +00:00
lc-numeric.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
lc-paper.c Update. 1999-08-31 07:04:41 +00:00
lc-telephone.c Update. 1999-08-31 07:04:41 +00:00
lc-time.c Update. 2000-08-20 06:10:09 +00:00
loadlocale.c Update. 2000-08-20 04:56:14 +00:00
locale.h Update. 2000-05-21 20:19:54 +00:00
localeconv.c Update. 2000-05-30 20:37:26 +00:00
localeinfo.h Update. 2000-08-02 00:09:25 +00:00
Makefile Update. 2000-08-29 01:20:23 +00:00
mb_cur_max.c Update. 1999-01-29 09:01:50 +00:00
newlocale.c Update. 2000-07-24 21:03:16 +00:00
nl_langinfo.c Update. 2000-07-24 21:03:16 +00:00
outdigits.h Update. 2000-01-29 02:54:27 +00:00
outdigitswc.h Update. 2000-01-29 02:54:27 +00:00
setlocale.c Update. 2000-06-16 23:04:41 +00:00
strlen-hash.h Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
SYS_libc.c second update 960907 from main archive 1996-09-08 02:07:08 +00:00
Versions Update. 2000-07-28 14:10:32 +00:00
weight.h Adjust for last change in ld-collate.c of adding alignment padding. 2000-01-20 05:22:38 +00:00
weightwc.h Update. 2000-08-29 01:20:23 +00:00
xlocale.h Update. 2000-07-24 21:03:16 +00:00