diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-11-19 07:18:32 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-11-19 07:18:32 +0000 |
commit | 3ee363e23115e63f8dcc34bf5b7bd5e1a084635c (patch) | |
tree | c825366f4549a27f0d4c44301821fa5b0b208990 /posix/regex_internal.c | |
parent | c9002c1b7a648fe49b8472d6dc6724c78fa1329f (diff) | |
download | glibc-3ee363e23115e63f8dcc34bf5b7bd5e1a084635c.tar.gz glibc-3ee363e23115e63f8dcc34bf5b7bd5e1a084635c.tar.xz glibc-3ee363e23115e63f8dcc34bf5b7bd5e1a084635c.zip |
Update.
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>
Diffstat (limited to 'posix/regex_internal.c')
-rw-r--r-- | posix/regex_internal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/posix/regex_internal.c b/posix/regex_internal.c index c1605a0393..1da5f7040a 100644 --- a/posix/regex_internal.c +++ b/posix/regex_internal.c @@ -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) |