Mercurial > emacs
comparison src/emacs.c @ 31413:c3b1fc2b0d11
(Fdump_emacs) [REL_ALLOC_MMAP]: Call mmap_set_vars
before and after unexec.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 06 Sep 2000 21:25:22 +0000 |
parents | 3ecef4a7b3cd |
children | a42e23d2b9cc |
comparison
equal
deleted
inserted
replaced
31412:828b2b8afdc0 | 31413:c3b1fc2b0d11 |
---|---|
1972 #endif /* not WINDOWSNT */ | 1972 #endif /* not WINDOWSNT */ |
1973 #endif | 1973 #endif |
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 |
1982 #endif /* not VMS */ | 1989 #endif /* not VMS */ |
1983 | 1990 |