aboutsummaryrefslogtreecommitdiff
path: root/posix/regex_internal.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-01-06 22:12:27 +0000
committerUlrich Drepper <drepper@redhat.com>2004-01-06 22:12:27 +0000
commitf39eef7b5d2539cffa1149b0bbeb75f513a4ace3 (patch)
treeedd3ba0bd193eb8d2fac9099b073db01badd2488 /posix/regex_internal.h
parent86576b62f4c504dba87cbbd607088d69d6524233 (diff)
downloadglibc-f39eef7b5d2539cffa1149b0bbeb75f513a4ace3.zip
glibc-f39eef7b5d2539cffa1149b0bbeb75f513a4ace3.tar.gz
glibc-f39eef7b5d2539cffa1149b0bbeb75f513a4ace3.tar.bz2
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/regex_internal.h b/posix/regex_internal.h
index 8f11f89..084028f 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. */