Mercurial > emacs
diff src/alloc.c @ 83015:ae6d0d2ecb1d
Merged in changes from CVS HEAD
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-31
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-55
| author | Karoly Lorentey <lorentey@elte.hu> |
|---|---|
| date | Sun, 11 Jan 2004 23:12:24 +0000 |
| parents | f82e3a6f5ccb 72ce38380ab3 |
| children | 82c3b4da43ca |
line wrap: on
line diff
--- a/src/alloc.c Sun Jan 11 21:59:40 2004 +0000 +++ b/src/alloc.c Sun Jan 11 23:12:24 2004 +0000 @@ -2499,7 +2499,9 @@ /* Prevent mmap'ing the chunk. Lisp data may not be mmap'ed because mapped region contents are not preserved in a dumped Emacs. */ + BLOCK_INPUT; mallopt (M_MMAP_MAX, 0); + UNBLOCK_INPUT; #endif nbytes = sizeof *p + (len - 1) * sizeof p->contents[0]; @@ -2507,7 +2509,9 @@ #ifdef DOUG_LEA_MALLOC /* Back to a reasonable maximum of mmap'ed areas. */ + BLOCK_INPUT; mallopt (M_MMAP_MAX, MMAP_MAX_AREAS); + UNBLOCK_INPUT; #endif consing_since_gc += nbytes;
