diff options
| author | Ken Brown | 2011-08-16 09:27:12 -0400 |
|---|---|---|
| committer | Ken Brown | 2011-08-16 09:27:12 -0400 |
| commit | a4579d332d432ea629a1ad2168ce8023d172d563 (patch) | |
| tree | 518252a17be98424e3744bc35dcc96fedf41c84a /src/ChangeLog | |
| parent | 9adfcd0bf50066cc678ba65fb1b236d1c4ca0334 (diff) | |
| download | emacs-a4579d332d432ea629a1ad2168ce8023d172d563.tar.gz 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 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b16606ce121..2364f71c6a4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,20 @@ | |||
| 1 | 2011-08-16 Ken Brown <kbrown@cornell.edu> | ||
| 2 | |||
| 3 | Fix memory allocation problems in Cygwin build (Bug#9273). | ||
| 4 | |||
| 5 | * unexcw.c ( __malloc_initialized): Declare external variable. | ||
| 6 | (fixup_executable): Force the dumped emacs to reinitialize malloc. | ||
| 7 | |||
| 8 | * gmalloc.c [CYGWIN] (bss_sbrk_heapbase, bss_sbrk_heapinfo): New | ||
| 9 | variables. | ||
| 10 | (malloc_initialize_1) [CYGWIN]: Prepare for reinitializing the | ||
| 11 | dumped emacs. | ||
| 12 | (_free_internal_nolock) [CYGWIN]: Ignore requests to free storage | ||
| 13 | in the static heap. | ||
| 14 | [CYGWIN] (special_realloc): New function. | ||
| 15 | (_realloc_internal_nolock) [CYGWIN]: Use the new function on | ||
| 16 | requests to realloc storage in the static heap. | ||
| 17 | |||
| 1 | 2011-08-15 Paul Eggert <eggert@cs.ucla.edu> | 18 | 2011-08-15 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 19 | ||
| 3 | * bidi.c (bidi_initialize): Remove unused local. | 20 | * bidi.c (bidi_initialize): Remove unused local. |