diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-11-19 09:24:54 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-11-19 09:24:54 +0000 |
commit | 89635190cfc6ecc6e815a6e39872efebafb3f998 (patch) | |
tree | c86d67424deea72495f37e7f6e058e466ef0655c | |
parent | 02b50340af3fe92aebd6960faa5eb45c34ae7fe6 (diff) | |
download | glibc-89635190cfc6ecc6e815a6e39872efebafb3f998.tar glibc-89635190cfc6ecc6e815a6e39872efebafb3f998.tar.gz glibc-89635190cfc6ecc6e815a6e39872efebafb3f998.tar.bz2 glibc-89635190cfc6ecc6e815a6e39872efebafb3f998.zip |
Update.
* posix/bug-regex20.c: Correct invalid UTF-8 sequences.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | posix/bug-regex20.c | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,5 +1,7 @@ 2003-11-19 Ulrich Drepper <drepper@redhat.com> + * posix/bug-regex20.c: Correct invalid UTF-8 sequences. + * posix/regex_internal.c (build_wcs_upper_buffer): If mbrtowc fails, just use the byte, do no fancy conversions. diff --git a/posix/bug-regex20.c b/posix/bug-regex20.c index 7f5d0310ca..e709ef5fee 100644 --- a/posix/bug-regex20.c +++ b/posix/bug-regex20.c @@ -93,7 +93,7 @@ static struct {BRE, "x.\\?z", "ax\xc3\x84\xc3\x96z", -1, 1}, {BRE, "x.\\?z", "ax\xe2\x80\x94\xc3\xa4z", -1, 1}, {BRE, "x.\\?z", "ax\xf0\x9d\x80\x80yz", -1, 1}, - {BRE, "x.\\?z", "ax\xf9\x81\x82\x83\x84\xf0\xf9\x80\x81z", -1, 1}, + {BRE, "x.\\?z", "ax\xf9\x81\x82\x83\x84\xf0\x9d\x80\x81z", -1, 1}, {BRE, "x.\\?z", "ax\xfd\xbf\xbf\xbf\xbf\xbf\xc3\x96z", -1, 1}, {BRE, "x.\\+z", "\xe2\x80\x94xz", -1, 1}, {BRE, "x.\\+z", "\xe2\x80\x94xyz", 3, 1}, @@ -140,7 +140,7 @@ static struct {ERE, "x.?z", "ax\xc3\x84\xc3\x96z", -1, 1}, {ERE, "x.?z", "ax\xe2\x80\x94\xc3\xa4z", -1, 1}, {ERE, "x.?z", "ax\xf0\x9d\x80\x80yz", -1, 1}, - {ERE, "x.?z", "ax\xf9\x81\x82\x83\x84\xf0\xf9\x80\x81z", -1, 1}, + {ERE, "x.?z", "ax\xf9\x81\x82\x83\x84\xf0\x9d\x80\x81z", -1, 1}, {ERE, "x.?z", "ax\xfd\xbf\xbf\xbf\xbf\xbf\xc3\x96z", -1, 1}, {ERE, "x.+z", "\xe2\x80\x94xz", -1, 1}, {ERE, "x.+z", "\xe2\x80\x94xyz", 3, 1}, |