]> git.eshelyaron.com Git - emacs.git/commit
Don't call _setjmp through a function pointer (Bug#46824)
authorPip Cet <pipcet@gmail.com>
Sun, 28 Feb 2021 06:31:00 +0000 (06:31 +0000)
committerAndrea Corallo <akrl@sdf.org>
Wed, 3 Mar 2021 19:36:16 +0000 (20:36 +0100)
commit43b40bc880f66cb3f48318ba3a480a76b149b815
tree3449076778da0bb8595d8fad5184cf39c0a5bb6a
parentcf37850e2d69eda908495950acf8decb0ecec517
Don't call _setjmp through a function pointer (Bug#46824)

* src/comp.c (helper_link_table): Don't include SETJMP except on Windows.
(emit_setjmp): Don't use function pointers except on Windows.
(declare_runtime_imported_funcs): Don't import SETJMP at runtime.
(ABI_VERSION): Bump.
* test/src/comp-tests.el (46824-1): New test.
* test/src/comp-test-funcs.el (comp-test-46824-1-f): New function.
src/comp.c
test/src/comp-test-funcs.el
test/src/comp-tests.el