+2004-01-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * alloc.c (allocate_vectorlike): Surround calls to mallopt with
+ BLOCK/UNBLOCK_INPUT.
+
2004-01-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
* xmenu.c (Fx_popup_dialog): Add an Ok button if no buttons are
/* 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];
#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;