aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
authorEli Zaretskii2019-02-13 17:39:31 +0200
committerEli Zaretskii2019-02-13 17:39:31 +0200
commit10527fca66e39d7067986904161fa33741abcd26 (patch)
tree368f966b40d81b750d70e5bf7e5f26232ac9f8b1 /src/data.c
parentae4bfd52deecfccbbeb20ac852564b75a1bb83ff (diff)
downloademacs-10527fca66e39d7067986904161fa33741abcd26.tar.gz
emacs-10527fca66e39d7067986904161fa33741abcd26.zip
Avoid crashes upon C-g in nested invocations of 'read_char'
* src/keyboard.c (read_char, read_event_from_main_queue): Ensure the global value of getcjmp is restored when the stack is unwound by the likes of 'throw', by calling record_unwind_protect_ptr instead of restoring the value manually. (Bug#34394) (restore_getcjmp): Argument is now 'void *', to match the signature of record_unwind_protect_ptr.
Diffstat (limited to 'src/data.c')
0 files changed, 0 insertions, 0 deletions