diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-01-06 22:12:27 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-01-06 22:12:27 +0000 |
commit | f39eef7b5d2539cffa1149b0bbeb75f513a4ace3 (patch) | |
tree | edd3ba0bd193eb8d2fac9099b073db01badd2488 /posix/regex_internal.h | |
parent | 86576b62f4c504dba87cbbd607088d69d6524233 (diff) | |
download | glibc-f39eef7b5d2539cffa1149b0bbeb75f513a4ace3.tar.gz glibc-f39eef7b5d2539cffa1149b0bbeb75f513a4ace3.tar.xz glibc-f39eef7b5d2539cffa1149b0bbeb75f513a4ace3.zip |
Update.
2004-01-05 Jakub Jelinek <jakub@redhat.com> * 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.
Diffstat (limited to 'posix/regex_internal.h')
-rw-r--r-- | posix/regex_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/regex_internal.h b/posix/regex_internal.h index 8f11f89ebb..084028f90f 100644 --- a/posix/regex_internal.h +++ b/posix/regex_internal.h @@ -337,7 +337,7 @@ struct re_string_t the beginning of the input string. */ unsigned int tip_context; /* The translation passed as a part of an argument of re_compile_pattern. */ - RE_TRANSLATE_TYPE trans; + unsigned RE_TRANSLATE_TYPE trans; /* Copy of re_dfa_t's word_char. */ re_const_bitset_ptr_t word_char; /* 1 if REG_ICASE. */ |