Mercurial > emacs
diff src/alloc.c @ 90136:7a3341d65a12
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-33
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 223-227)
- Update from CVS
| author | Miles Bader <miles@gnu.org> |
|---|---|
| date | Sat, 02 Apr 2005 22:40:25 +0000 |
| parents | 4da4a09e8b1b 1e515cc6ca0c |
| children | 02f1dbc4a199 |
line wrap: on
line diff
--- a/src/alloc.c Thu Mar 31 11:27:46 2005 +0000 +++ b/src/alloc.c Sat Apr 02 22:40:25 2005 +0000 @@ -1933,14 +1933,18 @@ mmap'ed data typically have an address towards the top of the address space, which won't fit into an EMACS_INT (at least on 32-bit systems with the current tagging scheme). --fx */ + BLOCK_INPUT; mallopt (M_MMAP_MAX, 0); + UNBLOCK_INPUT; #endif b = (struct sblock *) lisp_malloc (size + GC_STRING_EXTRA, MEM_TYPE_NON_LISP); #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 b->next_free = &b->first_data;
