glibc/posix
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
..
bits Update. 2000-04-30 17:03:03 +00:00
glob Update. 2000-04-28 05:12:30 +00:00
sys Update. 2000-08-14 04:57:27 +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
annexc.c Update. 2000-08-27 18:28:09 +00:00
bsd-getpgrp.c Update. 2000-05-23 08:43:26 +00:00
confstr.c Update. 2000-08-29 01:20:23 +00:00
cpio.h Update. 1998-01-30 11:44:34 +00:00
Depend New file, libio needs localedata for tests. 2000-07-29 07:57:34 +00:00
execl.c Update. 1999-04-28 23:13:52 +00:00
execle.c Fix size parameter of memcpy. 2000-05-08 15:21:25 +00:00
execlp.c Update. 1999-04-28 23:13:52 +00:00
execv.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
execvp.c (execvp): Correct copying of file name. 1999-08-23 22:20:34 +00:00
fnmatch_loop.c Update. 2000-08-29 01:20:23 +00:00
fnmatch.c Update. 2000-08-29 01:20:23 +00:00
fnmatch.h Update. 1999-07-15 11:45:51 +00:00
getconf.c Update. 2000-04-13 03:55:50 +00:00
getopt1.c Update. 1998-03-08 15:26:29 +00:00
getopt_init.c Update. 1998-06-29 12:44:22 +00:00
getopt.c Update. 2000-03-31 05:03:53 +00:00
getopt.h Update. 1999-07-18 00:19:18 +00:00
glob.h Update. 2000-08-21 06:49:52 +00:00
globtest.c * tst-trans.c: Include <stdlib.h> and <string.h>. 2000-06-21 12:39:22 +00:00
globtest.sh Update. 2000-07-23 01:23:29 +00:00
Makefile Update. 2000-08-24 09:30:58 +00:00
ptestcases.h (collate_output): Update. 1999-12-31 22:21:25 +00:00
PTESTS (collate_output): Update. 1999-12-31 22:21:25 +00:00
PTESTS2C.sed Update. 1998-05-17 15:44:39 +00:00
re_comp.h update from main archive 961105 1996-11-06 04:24:40 +00:00
regex.c Update. 2000-08-13 06:38:11 +00:00
regex.h Update. 2000-08-21 23:31:38 +00:00
regexbug1.c Update. 1999-08-30 19:23:15 +00:00
runptests.c Update. 1998-12-10 10:00:31 +00:00
runtests.c * tst-trans.c: Include <stdlib.h> and <string.h>. 2000-06-21 12:39:22 +00:00
sched.h Update. 1999-10-09 21:56:43 +00:00
spawn_faction_addclose.c Update. 2000-08-21 04:18:25 +00:00
spawn_faction_adddup2.c Update. 2000-08-21 04:18:25 +00:00
spawn_faction_addopen.c Update. 2000-08-21 04:18:25 +00:00
spawn_faction_destroy.c Update. 2000-04-15 16:51:16 +00:00
spawn_faction_init.c Update. 2000-04-15 16:51:16 +00:00
spawn_int.h Update. 2000-04-15 16:51:16 +00:00
spawn.c Update. 2000-04-15 16:51:16 +00:00
spawn.h Update. 2000-08-21 06:49:52 +00:00
spawnattr_destroy.c Update. 2000-04-15 16:51:16 +00:00
spawnattr_getdefault.c Change posix_spawnattr_getdefault and posix_spawnattr_setdefault to posix_spawnattr_getsigdefault and posix_spawnattr_setsigdefault respectively. 2000-05-01 20:52:04 +00:00
spawnattr_getflags.c Update. 2000-04-15 16:51:16 +00:00
spawnattr_getpgroup.c Update. 2000-04-15 16:51:16 +00:00
spawnattr_getschedparam.c Update. 2000-04-15 16:51:16 +00:00
spawnattr_getschedpolicy.c Update. 2000-04-15 16:51:16 +00:00
spawnattr_getsigmask.c Update. 2000-04-15 16:51:16 +00:00
spawnattr_init.c Update. 2000-04-15 16:51:16 +00:00
spawnattr_setdefault.c Change posix_spawnattr_getdefault and posix_spawnattr_setdefault to posix_spawnattr_getsigdefault and posix_spawnattr_setsigdefault respectively. 2000-05-01 20:52:04 +00:00
spawnattr_setflags.c Update. 2000-04-15 16:51:16 +00:00
spawnattr_setpgroup.c Update. 2000-04-15 16:51:16 +00:00
spawnattr_setschedparam.c Update. 2000-06-14 00:55:24 +00:00
spawnattr_setschedpolicy.c Update. 2000-04-15 16:51:16 +00:00
spawnattr_setsigmask.c Update. 2000-06-14 00:55:24 +00:00
spawni.c Update. 2000-08-21 04:18:25 +00:00
spawnp.c Update. 2000-04-15 16:51:16 +00:00
tar.h Update. 1997-06-21 02:59:26 +00:00
test-vfork.c * tst-trans.c: Include <stdlib.h> and <string.h>. 2000-06-21 12:39:22 +00:00
testcases.h Update. 2000-01-18 10:53:15 +00:00
testfnm.c Update. 2000-03-26 20:35:45 +00:00
TESTS Update. 2000-01-18 10:53:15 +00:00
TESTS2C.sed 1997-05-03 00:53 Ulrich Drepper <drepper@cygnus.com> 1997-05-03 00:33:54 +00:00
tst-exec.c Update. 2000-05-29 04:40:43 +00:00
tst-fnmatch.c (main): Also set LC_CTYPE category. 2000-07-04 20:56:12 +00:00
tst-fnmatch.input Update. 2000-07-05 22:02:03 +00:00
tst-fork.c Update. 2000-05-29 01:00:03 +00:00
tst-getaddrinfo.c * tst-trans.c: Include <stdlib.h> and <string.h>. 2000-06-21 12:39:22 +00:00
tst-getlogin.c Update. 1999-11-10 02:42:49 +00:00
tst-mmap.c Update. 2000-01-03 17:00:25 +00:00
tst-preadwrite64.c Test for pread64 and pwrite64. 2000-05-26 19:48:39 +00:00
tst-preadwrite.c Update. 2000-05-29 07:31:53 +00:00
tst-regexloc.c Update. 2000-08-14 06:17:28 +00:00
tst-spawn.c Update. 2000-05-29 07:31:53 +00:00
tst-truncate64.c Update. 2000-05-26 20:31:12 +00:00
tst-truncate.c Update. 2000-05-26 20:49:00 +00:00
tstgetopt.c Update. 1998-08-17 16:48:17 +00:00
unistd.h * posix/unistd.h: Move internal prototypes from here ... 2000-08-24 08:32:13 +00:00
Versions Update. 2000-06-14 00:55:24 +00:00
wait.h update from main archive 961126 1996-11-27 06:13:15 +00:00
wordexp-test.c * tst-trans.c: Include <stdlib.h> and <string.h>. 2000-06-21 12:39:22 +00:00
wordexp-tst.sh Update. 2000-07-23 01:23:29 +00:00
wordexp.c Update. 2000-08-21 04:18:25 +00:00
wordexp.h Update. 1999-10-09 21:56:43 +00:00