diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-11-30 14:22:54 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-11-30 14:27:02 -0800 |
commit | 7d9fa89fb3f6db0bdc3960bbbf6c0cf34c98d1ca (patch) | |
tree | 44bbdbf5e20e56c3fddc7ce9eef7d74391ec6a74 /lisp/emacs-lisp/rx.el | |
parent | c53e7f2c23bf02069469e764bf8563244ef6751a (diff) | |
download | emacs-7d9fa89fb3f6db0bdc3960bbbf6c0cf34c98d1ca.tar.gz emacs-7d9fa89fb3f6db0bdc3960bbbf6c0cf34c98d1ca.tar.bz2 emacs-7d9fa89fb3f6db0bdc3960bbbf6c0cf34c98d1ca.zip |
Fix infloop in GC mark_kboards
* src/keyboard.c (KBD_BUFFER_SIZE): Now a constant, not a macro.
(kbd_fetch_ptr, kbd_store_ptr): These now always point somewhere
into kbd_buffer, instead of sometimes pointing just past the
end which led to serious bugs (Bug#33547). All uses changed.
(kbd_store_ptr): No longer volatile. This variable has not been
accessed by a signal handler for some time, it seems.
(next_kbd_event, prev_kbd_event): New functions.
(kbd_buffer_nr_stored, process_special_events): Simplify.
Diffstat (limited to 'lisp/emacs-lisp/rx.el')
0 files changed, 0 insertions, 0 deletions