diff options
author | Eli Zaretskii <eliz@gnu.org> | 2012-05-23 20:32:28 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2012-05-23 20:32:28 +0300 |
commit | 52c55cc7d2bec9795533f58e15c61f7a7b51d1b0 (patch) | |
tree | 91855df41e7cbffb713b6b8c4ee570082e0b8d0d /src/w32fns.c | |
parent | 1b7e0ab8c77f6a6fdb9758adc7297ac907fee3c5 (diff) | |
download | emacs-52c55cc7d2bec9795533f58e15c61f7a7b51d1b0.tar.gz |
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/w32fns.c')
0 files changed, 0 insertions, 0 deletions