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 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 to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bsd-getpgrp.c Update. 2002-08-03 07:02:10 +00:00
bug-regex1.c Include <wchar.h> for fwide. 2001-02-07 07:25:37 +00:00
bug-regex2.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bug-regex3.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
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 Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Depend New file, libio needs localedata for tests. 2000-07-29 07:57:34 +00:00
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 Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
execvp.c * include/unistd.h: Use libc_hidden_proto for _exit, alarm, confstr, 2002-08-04 03:30:56 +00:00
fnmatch_loop.c Update. 2001-10-27 00:38:28 +00:00
fnmatch.c * include/sys/resource.h: Use libc_hidden_proto for getpriority, 2002-08-04 03:50:21 +00:00
fnmatch.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
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 Update. 2001-08-11 19:43:52 +00:00
getopt.c Update. 2002-03-12 20:04:56 +00:00
getopt.h 2001-04-23 Paul Eggert <eggert@twinsun.com> 2001-08-22 22:24:10 +00:00
glob.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
globtest.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
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 Update. 2001-03-16 01:10:29 +00:00
PTESTS (collate_output): Update. 1999-12-31 22:21:25 +00:00
PTESTS2C.sed Update. 2001-03-16 01:10:29 +00:00
re_comp.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
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 Update. 1999-08-30 19:23:15 +00:00
regexec.c Update. 2002-11-27 23:00:16 +00:00
runptests.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
runtests.c Make local functions static. 2000-12-27 20:26:07 +00:00
sched.h Update. 2002-08-08 07:53:36 +00:00
spawn_faction_addclose.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawn_faction_adddup2.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawn_faction_addopen.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawn_faction_destroy.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawn_faction_init.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawn_int.h Update. 2000-04-15 16:51:16 +00:00
spawn.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawn.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_destroy.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_getdefault.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_getflags.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_getpgroup.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_getschedparam.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_getschedpolicy.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_getsigmask.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_init.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_setdefault.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_setflags.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_setpgroup.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_setschedparam.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_setschedpolicy.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_setsigmask.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnp.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tar.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
test-vfork.c * malloc/memusagestat.c (main): Use return instead of exit to 2000-12-31 10:52:32 +00:00
testcases.h Update. 2000-01-18 10:53:15 +00:00
testfnm.c Update. 2001-03-15 09:36:19 +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-chmod.c Update to LGPL v2.1. 2001-07-06 04:58:11 +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 Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-fnmatch.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-fnmatch.input Update. 2001-10-27 03:00:50 +00:00
tst-fork.c Update to LGPL v2.1. 2001-07-06 04:58:11 +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 Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
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 Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-preadwrite.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-regex.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-regexloc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-spawn.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-truncate64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-truncate.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tstgetopt.c Update. 2000-09-06 18:07:07 +00:00
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 update from main archive 961126 1996-11-27 06:13:15 +00:00
wordexp-test.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wordexp-tst.sh Update. 2000-10-21 00:02:39 +00:00
wordexp.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00