1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
* posix/regexec.c (check_arrival): Remove duplicate test.

2003-12-15  Ulrich Drepper  <drepper@redhat.com>

	* 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  <bonzini@gnu.org>
This commit is contained in:
Ulrich Drepper
2003-12-16 06:16:27 +00:00
parent a0a8461cf9
commit c0d5034ed1
4 changed files with 31 additions and 8 deletions

View File

@ -786,7 +786,7 @@ re_string_peek_byte_case (const re_string_t *pstr,
static unsigned char
re_string_fetch_byte_case (re_string_t *pstr)
{
int ch, off;
int ch;
if (BE (!pstr->icase, 1))
return re_string_fetch_byte (pstr);
@ -794,6 +794,8 @@ re_string_fetch_byte_case (re_string_t *pstr)
#ifdef RE_ENABLE_I18N
if (pstr->offsets_needed)
{
int off;
/* For tr_TR.UTF-8 [[:islower:]] there is
[[: CAPITAL LETTER I WITH DOT lower:]] in mbs. Skip
in that case the whole multi-byte character and return