1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-07 06:43:00 +03:00
2003-11-18  Ulrich Drepper  <drepper@redhat.com>

	* posix/regexec.c (get_subexp): Adter calling get_subexp_seb
	reload buf and bkref_str.  Little optimization by avoiding memcmp.

2003-11-14  David Mosberger   <davidm@hpl.hp.com>
This commit is contained in:
Ulrich Drepper
2003-11-19 07:18:32 +00:00
parent c9002c1b7a
commit 3ee363e231
3 changed files with 15 additions and 3 deletions

View File

@@ -519,6 +519,8 @@ re_string_reconstruct (pstr, idx, eflags, newline)
mbstate_t cur_state;
wchar_t wc2;
/* XXX Don't use mbrtowc, we know which conversion
to use (UTF-8 -> UCS4). */
memset (&cur_state, 0, sizeof (cur_state));
if (mbrtowc (&wc2, p, raw + offset - p, &cur_state)
== raw + offset - p)