glibc/posix
Ulrich Drepper 1b2c262835 Update.
2002-11-06  Jakub Jelinek  <jakub@redhat.com>

	* posix/regcomp.c (re_compile_pattern): Don't set regs_allocated
	here.
	(regcomp): Don't set can_be_null here.
	(re_comp): Clear whole re_comp_buf with the exception of fastmap.
	(re_compile_internal): Clear can_be_null, set regs_allocated.

	* posix/regcomp.c (re_set_fastmap): New function.
	(re_compile_fastmap_iter): Use it.  Remove redundant type ==
	COMPLEX_BRACKET check.
	* posix/regexec.c (re_search_internal): Optimize searching with
	fastmap.  Call re_string_reconstruct even if match_first is
	smaller than raw_mbs_idx.

2002-11-06  Isamu Hasegawa  <isamu@yamato.ibm.com>

	* posix/regcomp (free_dfa_content): Use free_state.
	* posix/regex_internal.c (re_string_realloc_buffers): Don't edit
	pointers in case that realloc failed.
	(re_node_set_merge): Likewise.
	(register_state): Likewise.
	(create_newstate_common): Invoke memory release functions in case of
	error conditions.
	(create_ci_newstate): Likewise.
	(create_cd_newstate): Likewise.
	(free_state): New function.
	* posix/regexec.c (re_search_internal): Invoke memory release
	functions in case of error conditions.
	(sift_states_backward): Likewise.
	(merge_state_array): Likewise.
	(add_epsilon_src_nodes): Likewise.
	(sub_epsilon_src_nodes): Likewise.
	(search_subexp): Likewise.
	(sift_states_bkref): Likewise.
	(transit_state_sb): Likewise.
	(transit_state_mb): Likewise.
	(transit_state_bkref_loop): Likewise.
	(group_nodes_into_DFAstates): Likewise.
	(push_fail_stack): Don't edit pointers in case that realloc failed.
	(extend_buffers): Likewise.
	(match_ctx_add_entry): Likewise.
2002-11-06 19:57:50 +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 2002-09-10 Roland McGrath <roland@redhat.com> 2002-09-10 22:35:39 +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 Update. 2002-10-21 18:19:01 +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
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 * posix/regcomp.c (re_comp): Call __regfree on re_comp_buf. 2002-10-24 00:22:27 +00:00
ptestcases.h
PTESTS
PTESTS2C.sed
re_comp.h
regcomp.c Update. 2002-11-06 19:57:50 +00:00
regex_internal.c Update. 2002-11-06 19:57:50 +00:00
regex_internal.h Update. 2002-10-12 08:34:26 +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-06 19:57:50 +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 * elf/rtld-Rules ($(objpfx)rtld-libc.a): Use $(verbose) in ar command. 2002-10-14 01:03:16 +00:00
wait.h
wordexp-test.c
wordexp-tst.sh
wordexp.h