]> git.eshelyaron.com Git - emacs.git/commit
Avoid rare crashes due to clobbering of input events
authorEli Zaretskii <eliz@gnu.org>
Sat, 17 Aug 2024 18:35:08 +0000 (21:35 +0300)
committerEshel Yaron <me@eshelyaron.com>
Tue, 20 Aug 2024 14:11:05 +0000 (16:11 +0200)
commit95b387b1d52d13284ece2d33c92b2fd5f8a5f262
treef215e7f043d2674d9b3f49d17aeff17544ecd91f
parent6a63485ffb4b921205d7038d58d89ebbcd426159
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)

(cherry picked from commit 9e7c2d3816ec3e1247b1bd3cfcafc60a84b0f5ec)
src/keyboard.c