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 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
rxspencer Update. 2003-12-27 23:40:06 +00:00
sys * posix/tst-waitid.c (do_test): Add tests for waitpid with WCONTINUED. 2004-09-28 01:42:49 +00:00
.cvsignore
annexc.c * Makerules ($(common-objpfx)shlib.lds): Don't use \n in rhs of sed 2004-03-25 03:54:03 +00:00
BOOST.tests Update. 2003-12-27 23:40:06 +00:00
bsd-getpgrp.c Update. 2002-08-03 07:02:10 +00:00
bug-ga1.c * posix/bug-ga1.c: Include <string.h> for memset prototype. 2004-02-21 18:40:55 +00:00
bug-ga2.c Update. 2004-02-23 19:54:06 +00:00
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 2003-04-07 Jakub Jelinek <jakub@redhat.com> 2003-04-08 01:23:29 +00:00
bug-regex5.c * scripts/abilist.awk: Grok function descriptor symbols. 2002-11-21 03:41:31 +00:00
bug-regex6.c Update. 2002-07-27 08:28:46 +00:00
bug-regex7.c Update. 2002-07-27 08:28:46 +00:00
bug-regex8.c Update. 2002-07-27 08:28:46 +00:00
bug-regex9.c Update. 2002-08-12 19:50:26 +00:00
bug-regex10.c Update. 2002-08-26 23:00:40 +00:00
bug-regex11.c Update. 2003-12-30 20:01:17 +00:00
bug-regex12.c Update. 2003-10-02 22:41:11 +00:00
bug-regex13.c Update. 2003-12-22 06:52:35 +00:00
bug-regex14.c * posix/regcomp.c (re_comp): Call __regfree on re_comp_buf. 2002-10-24 00:22:27 +00:00
bug-regex15.c 2002-12-13 Roland McGrath <roland@redhat.com> 2002-12-13 21:32:03 +00:00
bug-regex16.c Update. 2003-01-16 19:20:36 +00:00
bug-regex17.c Update. 2003-11-12 07:56:31 +00:00
bug-regex18.c Update. 2003-11-29 06:13:09 +00:00
bug-regex19.c Update. 2003-12-22 06:52:35 +00:00
bug-regex20.c Update. 2003-11-26 03:24:15 +00:00
bug-regex21.c Update. 2003-11-19 19:37:31 +00:00
bug-regex22.c Update. 2004-01-14 01:45:37 +00:00
bug-regex23.c Update. 2004-02-11 22:49:57 +00:00
confstr.c 2003-03-04 Roland McGrath <roland@redhat.com> 2003-03-05 03:02:26 +00:00
cpio.h 2004-08-09 Roland McGrath <roland@frob.com> 2004-08-10 05:10:38 +00:00
Depend
execl.c * include/unistd.h: Use libc_hidden_proto for _exit, alarm, confstr, 2002-08-04 03:30:56 +00:00
execle.c * include/unistd.h: Use libc_hidden_proto for _exit, alarm, confstr, 2002-08-04 03:30:56 +00:00
execlp.c * include/unistd.h: Use libc_hidden_proto for _exit, alarm, confstr, 2002-08-04 03:30:56 +00:00
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 Update. 2003-11-18 19:12:03 +00:00
fnmatch.h Update. 2004-09-14 04:41:35 +00:00
getconf.c Update. 2004-03-12 17:40:52 +00:00
getopt1.c Update. 2004-03-09 10:36:53 +00:00
getopt_init.c
getopt_int.h Update. 2004-03-09 10:36:53 +00:00
getopt.c Update. 2004-03-10 23:14:28 +00:00
getopt.h Update. 2004-03-19 00:37:59 +00:00
glob.h Update. 2004-09-17 00:56:07 +00:00
globtest.c
globtest.sh Update. 2003-10-27 01:36:12 +00:00
Makefile Update. 2004-10-27 18:23:53 +00:00
PCRE.tests Update. 2003-12-27 23:40:06 +00:00
ptestcases.h Update. 2003-11-26 03:24:15 +00:00
PTESTS Update. 2003-11-26 03:24:15 +00:00
PTESTS2C.sed Update. 2003-11-13 01:04:26 +00:00
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 Update. 2004-01-30 05:22:32 +00:00
regex.h Update. 2004-03-04 23:37:01 +00:00
regexbug1.c
regexec.c Update. 2004-11-08 22:49:44 +00:00
runptests.c Update. 2003-11-26 03:24:15 +00:00
runtests.c Update. 2003-11-13 20:04:16 +00:00
sched.h Update. 2004-03-19 00:14:42 +00:00
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 (noop): Add __attribute_noinline__. 2003-01-09 19:45:08 +00:00
testcases.h
testfnm.c
TESTS
TESTS2C.sed
transbug.c * posix/transbug.c: Include <string.h> for memset and strlen 2003-06-25 11:04:58 +00:00
tst-boost.c Update. 2003-12-04 08:04:57 +00:00
tst-chmod.c Update. 2004-04-21 18:58:31 +00:00
tst-dir.c * locale/programs/ld-ctype.c (ctype_read): When given a repertoire 2002-08-26 11:39:12 +00:00
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 * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
tst-getconf.sh * sysdeps/generic/libc-tls.c (__pthread_initialize_minimal): Pass 2002-09-01 12:39:40 +00:00
tst-getlogin.c
tst-gnuglob.c Update. 2004-09-30 06:42:39 +00:00
tst-mmap.c Fix format strings. 2002-09-30 07:47:16 +00:00
tst-nanosleep.c * posix/tst-nanosleep.c: Include <time.h> for nanosleep 2003-06-25 11:14:37 +00:00
tst-nice.c 2003-03-20 Roland McGrath <roland@redhat.com> 2003-03-20 11:40:36 +00:00
tst-pcre.c Update. 2003-12-04 08:04:57 +00:00
tst-preadwrite64.c
tst-preadwrite.c
tst-regex.c Update. 2003-11-29 06:13:09 +00:00
tst-regexloc.c
tst-rxspencer.c Update. 2003-12-23 02:29:44 +00:00
tst-spawn.c
tst-truncate64.c
tst-truncate.c
tst-vfork1.c Update. 2004-03-10 05:25:48 +00:00
tst-vfork2.c Update. 2004-03-10 05:25:48 +00:00
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 Update. 2004-05-03 21:40:12 +00:00
wait.h
wordexp-test.c Update. 2003-09-18 02:54:32 +00:00
wordexp-tst.sh
wordexp.h (CFLAGS-oldtmpfile.c): Add -fexceptions. 2003-09-02 07:14:15 +00:00