diff options
author | Eli Zaretskii <eliz@gnu.org> | 2012-05-28 19:50:10 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2012-05-28 19:50:10 +0300 |
commit | 291d430f5f184c8a9438eace09b141131de343e8 (patch) | |
tree | 6310a9eb6bbf4643505fa67d0b012dad81624aa0 /lisp/emacs-lisp/generic.el | |
parent | e383e32d7a00bf286db1dc6b05b6219f0eaab8dc (diff) | |
download | emacs-291d430f5f184c8a9438eace09b141131de343e8.tar.gz emacs-291d430f5f184c8a9438eace09b141131de343e8.tar.bz2 emacs-291d430f5f184c8a9438eace09b141131de343e8.zip |
Avoid buffer text relocations in calls to STRING_CHAR_* macros.
src/charset.c (maybe_unify_char): Inhibit relocation of buffer text
for the duration of call to load_charset, to avoid problems with
callers of maybe_unify_char that access buffer text through C
pointers.
src/ralloc.c (r_alloc_inhibit_buffer_relocation): Increment and
decrement the inhibition flag, instead of just setting or
resetting it.
Fixes: debbugs:11519
Diffstat (limited to 'lisp/emacs-lisp/generic.el')
0 files changed, 0 insertions, 0 deletions