]> git.eshelyaron.com Git - emacs.git/commit
Don’t ignore -Wclobbered in keyboard.c
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 17 Aug 2024 00:20:58 +0000 (17:20 -0700)
committerEshel Yaron <me@eshelyaron.com>
Tue, 20 Aug 2024 14:08:54 +0000 (16:08 +0200)
commit3bddbfe30e2ca06b48bb8fa16c5b15c581e032d6
tree853fffa257ddda1ecd0dd228373aab081b0936a3
parent4c45d7e286b14b5a3623b9a47d51ca9dc1c4111c
Don’t ignore -Wclobbered in keyboard.c

This fixes Emacs bug#71744.
* src/keyboard.c: Do not ignore -Wclobbered.
(read_char): Fix violation of the C standard, where setjmp
clobbered c.  Fix suggested by Pip Cet in
<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71744#38>

(cherry picked from commit a967efdd2a5b77e35657f9bdd7098b79241e3aa5)
src/keyboard.c