glibc/posix
Ulrich Drepper 3c0fb5745f Update.
2003-11-12  Jakub Jelinek  <jakub@redhat.com>

	* io/ftw.c (NFTW_NEW_NAME, NFTW_OLD_NAME): Add prototypes.

2003-11-12  Jakub Jelinek  <jakub@redhat.com>

	* posix/tst-regex.c (umemlen): New variable.
	(test_expr): Add expectedicase argument.  Test case insensitive
	searches as well as backwards searches (case sensitive and
	insensitive) too.
	(run_test): Add icase argument.  Use it to compute regcomp flags.
	(run_test_backwards): New function.
	(main): Cast read to size_t to avoid warning.  Set umemlen.
	Add expectedicase arguments to test_expr.
	* posix/regex_internal.c (re_string_reconstruct): If is_utf8,
	find previous character by walking back instead of converting
	all chars from beginning.

2003-11-12  Jakub Jelinek  <jakub@redhat.com>

	* posix/regex_internal.h (struct re_string_t): Add is_utf8
	and mb_cur_max fields.
	(struct re_dfa_t): Likewise.  Reorder fields to make structure
	smaller on 64-bit arches.
	(re_string_allocate, re_string_construct): Add mb_cur_max and
	is_utf8 arguments.
	(re_string_char_size_at, re_string_wchar_at): Use pstr->mb_cur_max
	instead of MB_CUR_MAX.
	* posix/regcomp.c (re_compile_fastmap_iter): Use dfa->mb_cur_max
	instead of MB_CUR_MAX.
	(re_compile_internal): Pass new arguments to re_string_construct.
	(init_dfa): Initialize mb_cur_max and is_utf8 fields.
	(peek_token, peek_token_bracket): Use input->mb_cur_max instead
	of MB_CUR_MAX.
	(parse_expression, parse_bracket_exp, parse_charclass_op): Use
	dfa->mb_cur_max instead of MB_CUR_MAX.
	* posix/regex_internal.c (re_string_construct_common): Add
	mb_cur_max and is_utf8 arguments.  Initialize fields with them.
	(re_string_allocate, re_string_construct): Add mb_cur_max and
	is_utf8 arguments, pass them to re_string_construct_common.
	Use mb_cur_max instead of MB_CUR_MAX.
	(re_string_realloc_buffers): Use pstr->mb_cur_max instead of
	MB_CUR_MAX.
	(re_string_reconstruct): Likewise.
	(re_string_context_at): Use input->mb_cur_max instead of
	MB_CUR_MAX.
	(create_ci_newstate, create_cd_newstate): Use dfa->mb_cur_max
	instead of MB_CUR_MAX.
	* posix/regexec.c (re_search_internal): Likewise.
	Pass new arguments to re_string_allocate.
	(check_matching, transit_state_sb): Use dfa->mb_cur_max instead of
	MB_CUR_MAX.
	(extend_buffers): Use pstr->mb_cur_max instead of MB_CUR_MAX.

2003-11-12  Jakub Jelinek  <jakub@redhat.com>

	* posix/Makefile (tests): Add bug-regex19.
	(bug-regex19-ENV): Add LOCPATH.
	* posix/bug-regex19.c: New test.
2003-11-12 17:47:46 +00:00
..
bits (_POSIX_NGROUPS_MAX): Define to 8 or 0 depending on selected standard. (NGROUPS_MAX): Define to 8 if not defined. 2003-07-02 07:17:15 +00:00
glob 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
sys Update. 2003-04-19 16:57:17 +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
Depend New file, libio needs localedata for tests. 2000-07-29 07:57:34 +00:00
Makefile Update. 2003-11-12 17:47:46 +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
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
Versions Update. 2003-09-17 00:49:19 +00:00
annexc.c (fmt, testfmt): Remove -D_LIBC. 2002-12-06 21:28:23 +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 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-10-07 18:50:07 +00:00
bug-regex12.c Update. 2003-10-02 22:41:11 +00:00
bug-regex13.c * posix/bug-regex13.c: Include <string.h>. 2002-12-01 23:17:11 +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-12 06:13:10 +00:00
bug-regex19.c Update. 2003-11-12 17:47:46 +00:00
confstr.c 2003-03-04 Roland McGrath <roland@redhat.com> 2003-03-05 03:02:26 +00:00
cpio.h Update to LGPL v2.1. 2001-07-06 04:58:11 +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.c * nscd/cache.c (cache_search): Give first arg type `request_type'. 2003-03-16 01:04:03 +00:00
fnmatch.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fnmatch_loop.c Update. 2003-06-13 21:05:42 +00:00
getconf.c Update. 2003-06-02 22:44:59 +00:00
getopt.c Update. 2003-09-12 22:37:19 +00:00
getopt.h Update. 2003-09-12 22:37:19 +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
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. 2003-10-27 01:36:12 +00:00
ptestcases.h 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. 2003-11-12 17:47:46 +00:00
regex.c Update. 2003-02-21 01:52:32 +00:00
regex.h Update. 2003-10-02 22:41:11 +00:00
regex_internal.c Update. 2003-11-12 17:47:46 +00:00
regex_internal.h Update. 2003-11-12 17:47:46 +00:00
regexbug1.c Update. 1999-08-30 19:23:15 +00:00
regexec.c Update. 2003-11-12 17:47:46 +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. 2003-05-10 07:48:16 +00:00
spawn.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawn.h Update. 2003-04-19 16:57:17 +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
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 (noop): Add __attribute_noinline__. 2003-01-09 19:45:08 +00:00
testcases.h Update. 2000-01-18 10:53:15 +00:00
testfnm.c Update. 2001-03-15 09:36:19 +00:00
transbug.c * posix/transbug.c: Include <string.h> for memset and strlen 2003-06-25 11:04:58 +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-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-preadwrite.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-preadwrite64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-regex.c Update. 2003-11-12 17:47:46 +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-truncate.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
tstgetopt.c Update. 2000-09-06 18:07:07 +00:00
unistd.h Update. 2003-09-04 16:19:05 +00:00
wait.h update from main archive 961126 1996-11-27 06:13:15 +00:00
wordexp-test.c Update. 2003-09-18 02:54:32 +00:00
wordexp-tst.sh Update. 2000-10-21 00:02:39 +00:00
wordexp.h (CFLAGS-oldtmpfile.c): Add -fexceptions. 2003-09-02 07:14:15 +00:00