* posix/regex_internal.c (re_string_skip_chars): If no character has
commit33e63e7993d50ca4a8409aefaccf247301c0e8f2
authorUlrich Drepper <drepper@redhat.com>
Sun, 4 Jun 2006 04:59:36 +0000 (4 04:59 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 4 Jun 2006 04:59:36 +0000 (4 04:59 +0000)
tree6c60be6ab1d7d156db70e397d07c2ef750eba73b
parentfdc02996d41d0b74e45e29c97c9d8cd02a8cb9f7
* posix/regex_internal.c (re_string_skip_chars): If no character has

been converted at all, set *last_wc to WEOF.  If mbrtowc failed, set wc
to the byte which couldn't be converted.
(re_string_reconstruct): Don't clear valid_raw_len before calling
re_string_skip_chars.  If wc is WEOF after re_string_skip_chars, set
tip_context using re_string_context_at.
* posix/Makefile: Add rules to build and run bug-regex25 test.
* posix/bug-regex25.c: New test.
ChangeLog
posix/Makefile
posix/bug-regex25.c [new file with mode: 0644]
posix/regex_internal.c