glibc/posix
Ulrich Drepper e40a38b383 Update.
2004-11-08  Ulrich Drepper  <drepper@redhat.com>

	* posix/regcomp.c (utf8_sb_map): Define.
	(free_dfa_content): Don't free dfa->sb_char if it's a pointer to
	utf8_sb_map.
	(init_dfa): Use utf8_sb_map instead of initializing memory when the
	encoding is UTF-8.

	* posix/regcomp.c (init_dfa): Get the codeset name outside glibc as
	well.  Check if it is spelled UTF8 as well as UTF-8, and check
	case-insensitively.  Set dfa->map_notascii manually when outside
	glibc.
	* posix/regex_internal.c (build_wcs_upper_buffer) [!_LIBC]: Enable
	optimizations based on map_notascii.
	* posix/regex_internal.h [HAVE_LANGINFO_H || HAVE_LANGINFO_CODESET
	|| _LIBC]: Include langinfo.h.

	* posix/regex_internal.h (struct re_backref_cache_entry): Add "more"
	field.
	* posix/regexec.c (check_dst_limits): Hoist computation of the source
	and destination bkref_idx out of the loop.  Pass it to
	check_dst_limits_calc_pos.
	(check_dst_limits_calc_pos_1): New function, containing the recursive
	loop of check_dst_limits_calc_pos; uses the "more" field of
	struct re_backref_cache to control the loop.
	(check_dst_limits_calc_pos): Store into "boundaries" the position
	relative to lim's start and end positions.  Do not accept eclosures,
	accept bkref_idx instead.  Call check_dst_limits_calc_pos_1 to do the
	work.
	(sift_states_bkref): Use the "more" field of struct re_backref_cache
	to control the loop.  A big "if" was turned into a continue and the
	function was reindented.
	(get_subexp): Use the "more" field of struct re_backref_cache
	to control the loop.
	(match_ctx_add_entry): Initialize the bkref_ents' "more" field.
	(search_cur_bkref_entry): Return -1 if out of bounds.

	* posix/regexec.c (empty_set): Remove.
	(sift_states_backward): Remove cur_src variable.  Move inner loop
	to build_sifted_states.
	(build_sifted_states): Extract from sift_states_backward.  Do not
	use empty_set.
	(update_cur_sifted_state): Do not use empty_set.  Special case
	dest_nodes->nelem == 0.
2004-11-08 22:49:44 +00:00
..
bits Update. 2004-08-30 16:56:03 +00:00
glob
rxspencer
sys * posix/tst-waitid.c (do_test): Add tests for waitpid with WCONTINUED. 2004-09-28 01:42:49 +00:00
.cvsignore
annexc.c
BOOST.tests
bsd-getpgrp.c
bug-ga1.c
bug-ga2.c
bug-glob1.c Update. 2004-10-01 15:44:06 +00:00
bug-glob2.c Test of globfree after failed glob call. 2004-10-27 18:18:56 +00:00
bug-regex1.c
bug-regex2.c
bug-regex3.c
bug-regex4.c
bug-regex5.c
bug-regex6.c
bug-regex7.c
bug-regex8.c
bug-regex9.c
bug-regex10.c
bug-regex11.c
bug-regex12.c
bug-regex13.c
bug-regex14.c
bug-regex15.c
bug-regex16.c
bug-regex17.c
bug-regex18.c
bug-regex19.c
bug-regex20.c
bug-regex21.c
bug-regex22.c
bug-regex23.c
confstr.c
cpio.h
Depend
execl.c
execle.c
execlp.c
execv.c
execvp.c Update. 2004-10-22 06:27:54 +00:00
fnmatch_loop.c [BZ #361] 2004-09-02 03:38:10 +00:00
fnmatch.c
fnmatch.h Update. 2004-09-14 04:41:35 +00:00
getconf.c
getopt1.c
getopt_init.c
getopt_int.h
getopt.c
getopt.h
glob.h Update. 2004-09-17 00:56:07 +00:00
globtest.c
globtest.sh
Makefile Update. 2004-10-27 18:23:53 +00:00
PCRE.tests
ptestcases.h
PTESTS
PTESTS2C.sed
re_comp.h
regcomp.c Update. 2004-11-08 22:49:44 +00:00
regex_internal.c Update. 2004-11-08 22:49:44 +00:00
regex_internal.h Update. 2004-11-08 22:49:44 +00:00
regex.c
regex.h
regexbug1.c
regexec.c Update. 2004-11-08 22:49:44 +00:00
runptests.c
runtests.c
sched.h
spawn_faction_addclose.c
spawn_faction_adddup2.c
spawn_faction_addopen.c
spawn_faction_destroy.c
spawn_faction_init.c
spawn_int.h
spawn.c
spawn.h Update. 2004-09-12 18:05:37 +00:00
spawnattr_destroy.c
spawnattr_getdefault.c
spawnattr_getflags.c
spawnattr_getpgroup.c
spawnattr_getschedparam.c
spawnattr_getschedpolicy.c
spawnattr_getsigmask.c
spawnattr_init.c
spawnattr_setdefault.c
spawnattr_setflags.c Update. 2004-09-12 18:05:37 +00:00
spawnattr_setpgroup.c
spawnattr_setschedparam.c
spawnattr_setschedpolicy.c
spawnattr_setsigmask.c
spawnp.c
tar.h
test-vfork.c
testcases.h
testfnm.c
TESTS
TESTS2C.sed
transbug.c
tst-boost.c
tst-chmod.c
tst-dir.c
tst-exec.c
tst-fnmatch.c
tst-fnmatch.input [BZ #361] 2004-09-02 03:38:10 +00:00
tst-fork.c
tst-getaddrinfo2.c Update. 2004-10-06 18:09:57 +00:00
tst-getaddrinfo.c
tst-getconf.sh
tst-getlogin.c
tst-gnuglob.c Update. 2004-09-30 06:42:39 +00:00
tst-mmap.c
tst-nanosleep.c
tst-nice.c
tst-pcre.c
tst-preadwrite64.c
tst-preadwrite.c
tst-regex.c
tst-regexloc.c
tst-rxspencer.c
tst-spawn.c
tst-truncate64.c
tst-truncate.c
tst-vfork1.c
tst-vfork2.c
tst-waitid.c * posix/tst-waitid.c (do_test): Add tests for waitpid with WCONTINUED. 2004-09-28 01:42:49 +00:00
tstgetopt.c
unistd.h Update. 2004-09-17 08:44:34 +00:00
Versions
wait.h
wordexp-test.c
wordexp-tst.sh
wordexp.h