• Paul Eggert's avatar
    Catch malloc_get_state, malloc_set_state failure · b4788b93
    Paul Eggert authored
    This should help insulate Emacs better from configuration screwups.
    Future versions of the GNU C library are planned to deprecate
    these functions, but will continue to support them in
    already-built-and-dumped Emacs executables.
    * src/alloc.c (malloc_initialize_hook) [DOUG_LEA_MALLOC]:
    Abort if malloc_set_state fails.
    (alloc_unexec_pre) [DOUG_LEA_MALLOC]:
    Report malloc_get_state failure, and exit.
    b4788b93
alloc.c 199 KB