diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-12-30 14:49:05 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-12-30 19:26:28 -0800 |
commit | f700d1b25b556533a3549232a71a8be168ec7643 (patch) | |
tree | 09989bf7ba2cf3f0296718e8faaf624f72a02893 /lib/regexec.c | |
parent | 37dd8efe0cd37c5fa3cb6afbf5e5df99cc6308f6 (diff) | |
download | gnulib-f700d1b25b556533a3549232a71a8be168ec7643.tar.gz |
regex: revert single-byte change
* lib/regexec.c (check_node_accept_bytes): Revert previous change
to this function. This was alredy fixed in a different way, at
bdb56bacd57070eced9998569ffe3f3c37ef5964 in the glibc git; see
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=510219> and
<http://sourceware.org/bugzilla/show_bug.cgi?id=9697>.
Diffstat (limited to 'lib/regexec.c')
-rw-r--r-- | lib/regexec.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/regexec.c b/lib/regexec.c index b10efb3a93..22e8dd67c4 100644 --- a/lib/regexec.c +++ b/lib/regexec.c @@ -3858,11 +3858,7 @@ check_node_accept_bytes (const re_dfa_t *dfa, Idx node_idx, elem_len = re_string_elem_size_at (input, str_idx); if ((elem_len <= 1 && char_len <= 1) || char_len == 0) - { - wint_t wc = __btowc (input->mbs[str_idx]); - if (wc < SBC_MAX && wc != WEOF) - return 0; - } + return 0; if (node->type == COMPLEX_BRACKET) { |