aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c
index ef28352d3d4..ff4fe11e75e 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -1974,8 +1974,15 @@ You must run Emacs in batch mode in order to dump it.")
1974#ifdef DOUG_LEA_MALLOC 1974#ifdef DOUG_LEA_MALLOC
1975 malloc_state_ptr = malloc_get_state (); 1975 malloc_state_ptr = malloc_get_state ();
1976#endif 1976#endif
1977
1978#ifdef REL_ALLOC_MMAP
1979 mmap_set_vars (0);
1980#endif
1977 unexec (XSTRING (filename)->data, 1981 unexec (XSTRING (filename)->data,
1978 !NILP (symfile) ? XSTRING (symfile)->data : 0, my_edata, 0, 0); 1982 !NILP (symfile) ? XSTRING (symfile)->data : 0, my_edata, 0, 0);
1983#ifdef REL_ALLOC_MMAP
1984 mmap_set_vars (1);
1985#endif
1979#ifdef DOUG_LEA_MALLOC 1986#ifdef DOUG_LEA_MALLOC
1980 free (malloc_state_ptr); 1987 free (malloc_state_ptr);
1981#endif 1988#endif