HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93c27ef
)
(Fdump_emacs) [REL_ALLOC_MMAP]: Call mmap_set_vars
author
Gerd Moellmann
<gerd@gnu.org>
Wed, 6 Sep 2000 21:25:22 +0000
(21:25 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Wed, 6 Sep 2000 21:25:22 +0000
(21:25 +0000)
before and after unexec.
src/emacs.c
patch
|
blob
|
blame
|
history
diff --git
a/src/emacs.c
b/src/emacs.c
index
ef28352
..
ff4fe11
100644
(file)
--- a/
src/emacs.c
+++ b/
src/emacs.c
@@
-1974,8
+1974,15
@@
You must run Emacs in batch mode in order to dump it.")
#ifdef DOUG_LEA_MALLOC
malloc_state_ptr = malloc_get_state ();
#endif
+
+#ifdef REL_ALLOC_MMAP
+ mmap_set_vars (0);
+#endif
unexec (XSTRING (filename)->data,
!NILP (symfile) ? XSTRING (symfile)->data : 0, my_edata, 0, 0);
+#ifdef REL_ALLOC_MMAP
+ mmap_set_vars (1);
+#endif
#ifdef DOUG_LEA_MALLOC
free (malloc_state_ptr);
#endif