diff options
| author | Andreas Schwab | 2008-03-15 14:21:08 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2008-03-15 14:21:08 +0000 |
| commit | 0e2501ed344f5c8e251bcdca981f5d81dd78f663 (patch) | |
| tree | 325a4ec42f6e7dd85af74010c6f7f6614098e9b1 /src/regex.c | |
| parent | c70a68dbf138528bdbdd84fdeee703343698d1e9 (diff) | |
| download | emacs-0e2501ed344f5c8e251bcdca981f5d81dd78f663.tar.gz emacs-0e2501ed344f5c8e251bcdca981f5d81dd78f663.zip | |
(re_match_2_internal): Correct matching of eight bit
characters in unibyte strings.
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 e19183fcf52..1400a7daa77 100644 --- a/src/regex.c +++ b/src/regex.c | |||
| @@ -5590,6 +5590,8 @@ re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop) | |||
| 5590 | if (buf_ch < 0) | 5590 | if (buf_ch < 0) |
| 5591 | buf_ch = *d; | 5591 | buf_ch = *d; |
| 5592 | } | 5592 | } |
| 5593 | else | ||
| 5594 | buf_ch = *d; | ||
| 5593 | if (buf_ch != pat_ch) | 5595 | if (buf_ch != pat_ch) |
| 5594 | { | 5596 | { |
| 5595 | d = dfail; | 5597 | d = dfail; |