diff options
| author | Eli Zaretskii | 2012-05-23 20:32:28 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2012-05-23 20:32:28 +0300 |
| commit | 52c55cc7d2bec9795533f58e15c61f7a7b51d1b0 (patch) | |
| tree | 91855df41e7cbffb713b6b8c4ee570082e0b8d0d /src/ChangeLog | |
| parent | 1b7e0ab8c77f6a6fdb9758adc7297ac907fee3c5 (diff) | |
| download | emacs-52c55cc7d2bec9795533f58e15c61f7a7b51d1b0.tar.gz emacs-52c55cc7d2bec9795533f58e15c61f7a7b51d1b0.zip | |
Fix bug #11519 with relocation of buffer text during regex search.
src/lisp.h [REL_ALLOC]: Add prototypes for external functions
defined on ralloc.c.
src/buffer.c [REL_ALLOC]: Remove prototypes of
r_alloc_reset_variable, r_alloc, r_re_alloc, and r_alloc_free,
they are now on lisp.h.
src/ralloc.c (r_alloc_inhibit_buffer_relocation): New function.
src/search.c (search_buffer): Use it to inhibit relocation of buffer
text while re_search_2 is doing its job, because re_search_2 is
passed C pointers to buffer text.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d97c313e465..cbfd6631892 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,18 @@ | |||
| 1 | 2012-05-23 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * lisp.h [REL_ALLOC]: Add prototypes for external functions | ||
| 4 | defined on ralloc.c. | ||
| 5 | |||
| 6 | * buffer.c [REL_ALLOC]: Remove prototypes of | ||
| 7 | r_alloc_reset_variable, r_alloc, r_re_alloc, and r_alloc_free, | ||
| 8 | they are now on lisp.h. | ||
| 9 | |||
| 10 | * ralloc.c (r_alloc_inhibit_buffer_relocation): New function. | ||
| 11 | |||
| 12 | * search.c (search_buffer): Use it to inhibit relocation of buffer | ||
| 13 | text while re_search_2 is doing its job, because re_search_2 is | ||
| 14 | passed C pointers to buffer text. (Bug#11519) | ||
| 15 | |||
| 1 | 2012-05-21 Eli Zaretskii <eliz@gnu.org> | 16 | 2012-05-21 Eli Zaretskii <eliz@gnu.org> |
| 2 | 17 | ||
| 3 | * msdos.c (internal_terminal_init) <Vwindow_system_version>: | 18 | * msdos.c (internal_terminal_init) <Vwindow_system_version>: |