aboutsummaryrefslogtreecommitdiffstats
path: root/exec/exec.h
diff options
context:
space:
mode:
authorStefan Kangas2025-04-14 20:40:49 +0200
committerStefan Kangas2025-04-14 20:40:49 +0200
commita7f5d183a8c13dfb7fb43777abdf96233df0ca0c (patch)
treebb596b74cc10379538ef54b32f18f0978c8872ac /exec/exec.h
parent74df372398dbc90f6c0185f1701af28129073de7 (diff)
downloademacs-a7f5d183a8c13dfb7fb43777abdf96233df0ca0c.tar.gz
emacs-a7f5d183a8c13dfb7fb43777abdf96233df0ca0c.zip
Remove unused XMALLOC_BLOCK_INPUT_CHECK debug facility
The compile-time option XMALLOC_BLOCK_INPUT_CHECK was added in 2012 (commit 4d7e6e51dd4acecff) to allow blocking input during malloc-family calls, in case any issues arose from related changes in Emacs 24.3. However, it has not been referenced on emacs-devel or the bug tracker in over a decade. It is clear that we do not need it, as our signal handlers do not allocate memory. Removing it simplifies the allocation function wrappers and eliminates dead debug code. Ref: https://debbugs.gnu.org/12450 * src/alloc.c [XMALLOC_BLOCK_INPUT_CHECK] (malloc_block_input, malloc_unblock_input): Delete functions. (MALLOC_BLOCK_INPUT, MALLOC_UNBLOCK_INPUT): Delete macros. Update all callers.
Diffstat (limited to 'exec/exec.h')
0 files changed, 0 insertions, 0 deletions