aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Schwab2008-03-15 14:21:08 +0000
committerAndreas Schwab2008-03-15 14:21:08 +0000
commit0e2501ed344f5c8e251bcdca981f5d81dd78f663 (patch)
tree325a4ec42f6e7dd85af74010c6f7f6614098e9b1 /src
parentc70a68dbf138528bdbdd84fdeee703343698d1e9 (diff)
downloademacs-0e2501ed344f5c8e251bcdca981f5d81dd78f663.tar.gz
emacs-0e2501ed344f5c8e251bcdca981f5d81dd78f663.zip
(re_match_2_internal): Correct matching of eight bit
characters in unibyte strings.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/regex.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e6de7a07eb5..c8989be51ed 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12008-03-15 Andreas Schwab <schwab@suse.de>
2
3 * regex.c (re_match_2_internal): Correct matching of eight bit
4 characters in unibyte strings.
5
12008-03-15 Martin Rudalics <rudalics@gmx.at> 62008-03-15 Martin Rudalics <rudalics@gmx.at>
2 7
3 * buffer.c (overlays_in, Foverlays_in): Include empty overlays 8 * buffer.c (overlays_in, Foverlays_in): Include empty overlays
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;