From c0d5034ed1517d6e545d141d697abc2f10528c2c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 16 Dec 2003 06:16:27 +0000 Subject: Update. * posix/regexec.c (check_arrival): Remove duplicate test. 2003-12-15 Ulrich Drepper * posix/regcomp.c: Make !RE_ENABLE_I18N work again. * posix/regex_internal.c: Likewise. * posix/regexec.c: Likewise. Patch by Paolo Bonzini. 2003-12-14 Paolo Bonzini --- posix/regcomp.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'posix/regcomp.c') diff --git a/posix/regcomp.c b/posix/regcomp.c index bdcc59d..1c7bd71 100644 --- a/posix/regcomp.c +++ b/posix/regcomp.c @@ -406,8 +406,11 @@ re_compile_fastmap_iter (bufp, init_state, fastmap) } } #endif /* RE_ENABLE_I18N */ - else if (type == END_OF_RE || type == OP_PERIOD - || type == OP_UTF8_PERIOD) + else if (type == OP_PERIOD +#ifdef RE_ENABLE_I18N + || type == OP_UTF8_PERIOD +#endif /* RE_ENABLE_I18N */ + || type == END_OF_RE) { memset (fastmap, '\1', sizeof (char) * SBC_MAX); if (type == END_OF_RE) -- cgit v1.1