mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
01ed6ceb7c
mbrtowc for very simple UTF-8 case. 2005-09-01 Paul Eggert <eggert@cs.ucla.edu> * posix/regex_internal.c (build_wcs_upper_buffer): Fix portability bugs in int versus size_t comparisons. 2005-09-06 Ulrich Drepper <drepper@redhat.com> * posix/regex_internal.c (re_acquire_state): Make DFA pointer arg a pointer-to-const. (re_acquire_state_context): Likewise. * posix/regex_internal.h: Adjust prototypes. 2005-08-31 Jim Meyering <jim@meyering.net> * posix/regcomp.c (search_duplicated_node): Make first pointer arg a pointer-to-const. * posix/regex_internal.c (create_ci_newstate, create_cd_newstate, register_state): Likewise. * posix/regexec.c (search_cur_bkref_entry, check_dst_limits): (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos): (group_nodes_into_DFAstates): Likewise. * posix/regexec.c (re_search_internal): Simplify update of rm_so and rm_eo by replacing "if (A == B) A += C - B;" with the equivalent of "if (A == B) A = C;". 2005-09-06 Ulrich Drepper <drepper@redhat.com> * posix/regcomp.c (re_compile_internal): Change third parameter type to size_t. (init_dfa): Likewise. Make sure that arithmetic on pat_len doesn't overflow. * posix/regex_internal.h (struct re_dfa_t): Change type of nodes_alloc and nodes_len to size_t. * posix/regex_internal.c (re_dfa_add_node): Use size_t as type for new_nodes_alloc. Check for overflow. 2005-08-31 Paul Eggert <eggert@cs.ucla.edu> * posix/regcomp.c (re_compile_fastmap_iter, init_dfa, init_word_char): (optimize_subexps, lower_subexp): Don't assume 1<<31 has defined behavior on hosts with 32-bit int, since the signed shift might overflow. Use 1u<<31 instead. * posix/regex_internal.h (bitset_set, bitset_clear, bitset_contain): Likewise. * posix/regexec.c (check_dst_limits_calc_pos_1): Likewise. (check_subexp_matching_top): Likewise. * posix/regcomp.c (optimize_subexps, lower_subexp): Use CHAR_BIT rather than 8, for clarity. * posix/regexec.c (check_dst_limits_calc_pos_1): (check_subexp_matching_top): Likewise. * posix/regcomp.c (init_dfa): Make table_size unsigned, so that we don't have to worry about portability issues when shifting it left. Remove no-longer-needed test for table_size > 0. * posix/regcomp.c (parse_sub_exp): Do not shift more bits than there are in a word, as the resulting behavior is undefined. * posix/regexec.c (check_dst_limits_calc_pos_1): Likewise; in one case, a <= should have been an <, and in another case the whole test was missing. * posix/regex_internal.h (BYTE_BITS): Remove. All uses changed to the standard name CHAR_BIT. |
||
---|---|---|
.. | ||
bits | ||
glob | ||
rxspencer | ||
sys | ||
.cvsignore | ||
annexc.c | ||
BOOST.tests | ||
bsd-getpgrp.c | ||
bug-ga1.c | ||
bug-ga2.c | ||
bug-glob1.c | ||
bug-glob2.c | ||
bug-regex1.c | ||
bug-regex2.c | ||
bug-regex3.c | ||
bug-regex4.c | ||
bug-regex5.c | ||
bug-regex6.c | ||
bug-regex7.c | ||
bug-regex8.c | ||
bug-regex9.c | ||
bug-regex10.c | ||
bug-regex11.c | ||
bug-regex12.c | ||
bug-regex13.c | ||
bug-regex14.c | ||
bug-regex15.c | ||
bug-regex16.c | ||
bug-regex17.c | ||
bug-regex18.c | ||
bug-regex19.c | ||
bug-regex20.c | ||
bug-regex21.c | ||
bug-regex22.c | ||
bug-regex23.c | ||
bug-regex24.c | ||
confstr.c | ||
cpio.h | ||
Depend | ||
execl.c | ||
execle.c | ||
execlp.c | ||
execv.c | ||
execvp.c | ||
fnmatch_loop.c | ||
fnmatch.c | ||
fnmatch.h | ||
getconf.c | ||
getopt1.c | ||
getopt_init.c | ||
getopt_int.h | ||
getopt.c | ||
getopt.h | ||
glob.h | ||
globtest.c | ||
globtest.sh | ||
Makefile | ||
PCRE.tests | ||
ptestcases.h | ||
PTESTS | ||
PTESTS2C.sed | ||
re_comp.h | ||
regcomp.c | ||
regex_internal.c | ||
regex_internal.h | ||
regex.c | ||
regex.h | ||
regexbug1.c | ||
regexec.c | ||
runptests.c | ||
runtests.c | ||
sched.h | ||
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 | ||
transbug.c | ||
tst-boost.c | ||
tst-chmod.c | ||
tst-dir.c | ||
tst-exec.c | ||
tst-execl1.c | ||
tst-execl2.c | ||
tst-execle1.c | ||
tst-execle2.c | ||
tst-execlp1.c | ||
tst-execlp2.c | ||
tst-execv1.c | ||
tst-execv2.c | ||
tst-execve1.c | ||
tst-execve2.c | ||
tst-execvp1.c | ||
tst-execvp2.c | ||
tst-execvp3.c | ||
tst-execvp4.c | ||
tst-fnmatch.c | ||
tst-fnmatch.input | ||
tst-fork.c | ||
tst-getaddrinfo2.c | ||
tst-getaddrinfo.c | ||
tst-getconf.sh | ||
tst-getlogin.c | ||
tst-gnuglob.c | ||
tst-mmap.c | ||
tst-nanosleep.c | ||
tst-nice.c | ||
tst-pcre.c | ||
tst-preadwrite64.c | ||
tst-preadwrite.c | ||
tst-regex2.c | ||
tst-regex.c | ||
tst-regexloc.c | ||
tst-rxspencer.c | ||
tst-spawn.c | ||
tst-sysconf.c | ||
tst-truncate64.c | ||
tst-truncate.c | ||
tst-vfork1.c | ||
tst-vfork2.c | ||
tst-waitid.c | ||
tstgetopt.c | ||
unistd.h | ||
Versions | ||
wait.h | ||
wordexp-test.c | ||
wordexp-tst.sh | ||
wordexp.h |