diff options
| author | Andreas Schwab | 2008-03-17 14:52:34 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2008-03-17 14:52:34 +0000 |
| commit | 0b8be006c60587d86226dae192a74c150d2a6501 (patch) | |
| tree | 4fc9c43838c74aa9d90da045c693126bb6a9bb1a /src/regex.c | |
| parent | 065a118d496e3f6d2671792f766c953c349db98c (diff) | |
| download | emacs-0b8be006c60587d86226dae192a74c150d2a6501.tar.gz emacs-0b8be006c60587d86226dae192a74c150d2a6501.zip | |
(re_match_2_internal): Properly match raw 8-bit bytes
against a charset.
Diffstat (limited to 'src/regex.c')
| -rw-r--r-- | src/regex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/regex.c b/src/regex.c index 9f2a42b4870..eca78f2ab94 100644 --- a/src/regex.c +++ b/src/regex.c | |||
| @@ -5689,6 +5689,8 @@ re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop) | |||
| 5689 | c = c1; | 5689 | c = c1; |
| 5690 | } | 5690 | } |
| 5691 | } | 5691 | } |
| 5692 | else | ||
| 5693 | unibyte_char = true; | ||
| 5692 | } | 5694 | } |
| 5693 | 5695 | ||
| 5694 | if (unibyte_char && c < (1 << BYTEWIDTH)) | 5696 | if (unibyte_char && c < (1 << BYTEWIDTH)) |