diff options
author | Ken Brown <kbrown@cornell.edu> | 2011-08-16 09:27:12 -0400 |
---|---|---|
committer | Ken Brown <kbrown@cornell.edu> | 2011-08-16 09:27:12 -0400 |
commit | a4579d332d432ea629a1ad2168ce8023d172d563 (patch) | |
tree | 518252a17be98424e3744bc35dcc96fedf41c84a /lisp/emacs-lisp/debug.el | |
parent | 9adfcd0bf50066cc678ba65fb1b236d1c4ca0334 (diff) | |
download | emacs-a4579d332d432ea629a1ad2168ce8023d172d563.tar.gz emacs-a4579d332d432ea629a1ad2168ce8023d172d563.tar.bz2 emacs-a4579d332d432ea629a1ad2168ce8023d172d563.zip |
Fix memory allocation problems in Cygwin build (Bug#9273).
* src/gmalloc.c [CYGWIN] (bss_sbrk_heapbase, bss_sbrk_heapinfo): New
variables.
(malloc_initialize_1) [CYGWIN]: Prepare for reinitializing the
dumped emacs.
(_free_internal_nolock) [CYGWIN]: Ignore requests to free storage
in the static heap.
[CYGWIN] (special_realloc): New function.
(_realloc_internal_nolock) [CYGWIN]: Use the new function on
requests to realloc storage in the static heap.
* src/unexcw.c ( __malloc_initialized): Declare external variable.
(fixup_executable): Force the dumped emacs to reinitialize malloc.
Diffstat (limited to 'lisp/emacs-lisp/debug.el')
0 files changed, 0 insertions, 0 deletions