glibc/posix
Ulrich Drepper 6291ee3c5f Update.
2002-11-27  Isamu Hasegawa  <isamu@yamato.ibm.com>

	* posix/regcomp.c (parse_expression): Set the bit since the back
	reference is used in the regular expression.
	* posix/regex_internal.c (re_node_set_init_1): Make it clean in case
	of malloc failure.
	(re_node_set_init_copy): Likewise.
	* posix/regex_internal.h (state_array_t): New structure.
	(re_sub_match_last_t): Likewise.
	(re_sub_match_top_t): Likewise.
	(re_match_context_t): Add new members.
	(re_dfa_t): Likewise.
	* posix/regexec.c (re_search_internal): Invoke prune_impossible_nodes
	to check the matching is really correct, and retry if failed.
	Move the routin pruning the impossible nodes from here, ...
	(prune_impossible_nodes): To this function.
	(check_matching): Invoke check_subexp_matching_top, and replace
	redundant checking with transit_state_bkref invocation.
	(proceed_next_node): Replace strncmp with memcmp.  Reported by
	Paolo Bonzini  <bonzini@gnu.org>.
	(update_cur_sifted_state): Remove search_subexp invocation.
	(search_subexp): Remove this function.
	(check_dst_limits_calc_pos): Use search_cur_bkref_entry for
	optimization.
	(sift_states_bkref): Use search_cur_bkref_entry for optimization.
	Remove unused invocation of match_ctx_add_entry.
	(transit_state): Invoke check_subexp_matching_top.
	(check_subexp_matching_top): New function.
	(transit_state_bkref): Remove unused array.
	Merge transit_state_bkref_loop.
	(transit_state_bkref_loop): Use get_subexp instead of
	sift_states_backward.  Use search_cur_bkref_entry for optimization.
	Merge this function to transit_state_bkref.
	(get_subexp): New function.
	(get_subexp_sub): Likewise.
	(find_subexp_node): Likewise.
	(check_arrival): Likewise.
	(check_arrival_expand_ecl): Likewise.
	(check_arrival_expand_ecl_sub): Likewise.
	(expand_bkref_cache): Likewise.
	(match_ctx_init): Initialize new members.
	(match_ctx_clean): New function.
	(match_ctx_free): Release new members.
	(match_ctx_free_subtops): New function.
	(match_ctx_add_entry): Fix indent.
	(search_cur_bkref_entry): New function.
	(match_ctx_add_subtop): Likewise.
	(match_ctx_add_sublast): Likewise.
2002-11-27 23:00:16 +00:00
..
bits * posix/bits/posix1_lim.h (SSIZE_MAX): Define to LONG_MAX, not INT_MAX. 2002-08-02 21:16:39 +00:00
glob 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
sys * libio/ftello.c (ftello): Use _IO_off64_t for type of POS. 2002-10-23 23:50:19 +00:00
.cvsignore
annexc.c
bsd-getpgrp.c Update. 2002-08-03 07:02:10 +00:00
bug-regex1.c
bug-regex2.c
bug-regex3.c
bug-regex4.c Update. 2002-07-27 08:28:46 +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 Add a test case for the bug reported by Paolo Bonzini <bonzini@gnu.org>. 2002-10-17 17:15:06 +00:00
bug-regex12.c Fix format strings. 2002-09-30 07:47:16 +00:00
bug-regex13.c * posix/bug-regex13.c (tests): Add new test. 2002-11-08 22:39:08 +00:00
bug-regex14.c * posix/regcomp.c (re_comp): Call __regfree on re_comp_buf. 2002-10-24 00:22:27 +00:00
confstr.c * include/unistd.h: Use libc_hidden_proto for _exit, alarm, confstr, 2002-08-04 03:30:56 +00:00
cpio.h
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 * include/unistd.h: Use libc_hidden_proto for _exit, alarm, confstr, 2002-08-04 03:30:56 +00:00
fnmatch_loop.c
fnmatch.c * include/sys/resource.h: Use libc_hidden_proto for getpriority, 2002-08-04 03:50:21 +00:00
fnmatch.h
getconf.c Update. 2002-01-17 07:38:47 +00:00
getopt1.c * include/getopt.h: But private decls inside [_GETOPT_H]. 2002-08-06 21:10:50 +00:00
getopt_init.c
getopt.c Update. 2002-03-12 20:04:56 +00:00
getopt.h
glob.h
globtest.c
globtest.sh Update. 2002-04-29 04:32:06 +00:00
Makefile * configure.in: Skip AUTOCONF check under --without-cvs. 2002-11-24 23:11:32 +00:00
ptestcases.h
PTESTS
PTESTS2C.sed
re_comp.h
regcomp.c Update. 2002-11-27 23:00:16 +00:00
regex_internal.c Update. 2002-11-27 23:00:16 +00:00
regex_internal.h Update. 2002-11-27 23:00:16 +00:00
regex.c Update. 2002-05-24 08:49:00 +00:00
regex.h Update. 2002-05-24 08:49:00 +00:00
regexbug1.c
regexec.c Update. 2002-11-27 23:00:16 +00:00
runptests.c
runtests.c
sched.h Update. 2002-08-08 07:53:36 +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
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
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
tst-chmod.c
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
tst-fork.c
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 * locale/programs/ld-ctype.c (ctype_read): When given a repertoire 2002-08-26 11:39:12 +00:00
tst-mmap.c Fix format strings. 2002-09-30 07:47:16 +00:00
tst-preadwrite64.c
tst-preadwrite.c
tst-regex.c
tst-regexloc.c
tst-spawn.c
tst-truncate64.c
tst-truncate.c
tstgetopt.c
unistd.h * elf/rtld-Rules ($(objpfx)rtld-libc.a): Use $(verbose) in ar command. 2002-10-14 01:03:16 +00:00
Versions * posix/Versions (libc: GLIBC_2.3.2): Add sched_getaffinity and 2002-11-20 01:05:35 +00:00
wait.h
wordexp-test.c
wordexp-tst.sh
wordexp.h