diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-06-10 17:18:24 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-06-10 17:19:05 -0700 |
commit | b4788b9394f3c9d50468607cbcf82e9490fa7c1d (patch) | |
tree | 2a72be3447cb3576f5445dba67d280ae2f6f127d /lisp/emacs-lisp/autoload.el | |
parent | c803af788d4140c7253b1d091e6f7fb63b5a214a (diff) | |
download | emacs-b4788b9394f3c9d50468607cbcf82e9490fa7c1d.tar.gz emacs-b4788b9394f3c9d50468607cbcf82e9490fa7c1d.tar.bz2 emacs-b4788b9394f3c9d50468607cbcf82e9490fa7c1d.zip |
Catch malloc_get_state, malloc_set_state failure
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.
Diffstat (limited to 'lisp/emacs-lisp/autoload.el')
0 files changed, 0 insertions, 0 deletions