From f39eef7b5d2539cffa1149b0bbeb75f513a4ace3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 6 Jan 2004 22:12:27 +0000 Subject: Update. 2004-01-05 Jakub Jelinek * posix/regcomp.c (regcomp): Fix comment typo. (regfree): Free preg->translate, clear buffer, allocated, fastmap and translate fields. * posix/regcomp.c (build_charclass, buld_charclass_op): Change first argument to unsigned RE_TRANSLATE_TYPE. * posix/regex_internal.h (re_string_t): Change trans type to unsigned RE_TRANSLATE_TYPE. * posix/regex_internal.c (re_string_construct_common): Cast trans to unsigned RE_TRANSLATE_TYPE. (re_string_peek_byte_case, re_string_fetch_byte_case): Avoid fast path if pstr->trans. Never translate the character through pstr->trans. * posix/Makefile (tests): Add bug-regex22. (bug-regex22-ENV): Set. * posix/bug-regex22.c: New test. --- ChangeLog | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index b447f5c814..07a016eefb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,22 @@ +2004-01-05 Jakub Jelinek + + * posix/regcomp.c (regcomp): Fix comment typo. + (regfree): Free preg->translate, clear buffer, allocated, fastmap + and translate fields. + + * posix/regcomp.c (build_charclass, buld_charclass_op): Change first + argument to unsigned RE_TRANSLATE_TYPE. + * posix/regex_internal.h (re_string_t): Change trans type to + unsigned RE_TRANSLATE_TYPE. + * posix/regex_internal.c (re_string_construct_common): Cast + trans to unsigned RE_TRANSLATE_TYPE. + (re_string_peek_byte_case, re_string_fetch_byte_case): Avoid fast + path if pstr->trans. Never translate the character through + pstr->trans. + * posix/Makefile (tests): Add bug-regex22. + (bug-regex22-ENV): Set. + * posix/bug-regex22.c: New test. + 2004-01-02 Paolo Bonzini * posix/regex_internal.c (re_node_set_add_intersect, -- cgit v1.2.3-70-g09d2