Avoid rare crashes due to clobbering of input events
* src/keyboard.c (read_char): Declare C 'volatile', to prevent clobbering it by setjmp/longjmp. Do not merge to master. (Bug#71744)
This commit is contained in:
parent
d6726e6dfc
commit
9e7c2d3816
1 changed files with 1 additions and 1 deletions
|
@ -2522,7 +2522,7 @@ read_char (int commandflag, Lisp_Object map,
|
|||
Lisp_Object prev_event,
|
||||
bool *used_mouse_menu, struct timespec *end_time)
|
||||
{
|
||||
Lisp_Object c;
|
||||
volatile Lisp_Object c;
|
||||
sys_jmp_buf local_getcjmp;
|
||||
sys_jmp_buf save_jump;
|
||||
Lisp_Object tem, save;
|
||||
|
|
Loading…
Add table
Reference in a new issue