]> git.eshelyaron.com Git - emacs.git/commitdiff
Disable "before-dump" memory allocation on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Sat, 25 Feb 2017 14:47:22 +0000 (16:47 +0200)
committerKen Raeburn <raeburn@raeburn.org>
Sat, 22 Jul 2017 08:36:21 +0000 (04:36 -0400)
* unexw32.c: Initialize 'using_dynamic_heap' to TRUE.  This is
because the "before-dump" memory allocation is no longer needed.
(Should later remove their implementation from w32heap.c.)

src/unexw32.c

index 904447c3ec946f9ab18d8e556dd4fa9f5e82b6a6..65f24ca27c172216e4375d5a46ac92bd9fea38d8 100644 (file)
@@ -48,7 +48,7 @@ extern char *my_begbss_static;
 #include "w32heap.h"
 
 /* Basically, our "initialized" flag.  */
-BOOL using_dynamic_heap = FALSE;
+BOOL using_dynamic_heap = TRUE;
 
 void get_section_info (file_data *p_file);
 void copy_executable_and_dump_data (file_data *, file_data *);