aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKaroly Lorentey2004-01-11 23:12:24 +0000
committerKaroly Lorentey2004-01-11 23:12:24 +0000
commit309990406b2d16da6ad4131c6530d309e44945ec (patch)
tree6ab819286b6741c21a4c09bce238dd487c74c0cb /src
parent2246281fb0e2ab610d14efa7166a9ceb02597643 (diff)
parent21dcb70922cb684722b7ea12f4e7af1224a534e0 (diff)
downloademacs-309990406b2d16da6ad4131c6530d309e44945ec.tar.gz
emacs-309990406b2d16da6ad4131c6530d309e44945ec.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/alloc.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 27c76179e57..8b6160fb5eb 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12004-01-11 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2
3 * alloc.c (allocate_vectorlike): Surround calls to mallopt with
4 BLOCK/UNBLOCK_INPUT.
5
12004-01-08 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 62004-01-08 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2 7
3 * xmenu.c (Fx_popup_dialog): Add an Ok button if no buttons are 8 * xmenu.c (Fx_popup_dialog): Add an Ok button if no buttons are
diff --git a/src/alloc.c b/src/alloc.c
index 700845ab6c5..616e264fbf1 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -2499,7 +2499,9 @@ allocate_vectorlike (len, type)
2499 /* Prevent mmap'ing the chunk. Lisp data may not be mmap'ed 2499 /* Prevent mmap'ing the chunk. Lisp data may not be mmap'ed
2500 because mapped region contents are not preserved in 2500 because mapped region contents are not preserved in
2501 a dumped Emacs. */ 2501 a dumped Emacs. */
2502 BLOCK_INPUT;
2502 mallopt (M_MMAP_MAX, 0); 2503 mallopt (M_MMAP_MAX, 0);
2504 UNBLOCK_INPUT;
2503#endif 2505#endif
2504 2506
2505 nbytes = sizeof *p + (len - 1) * sizeof p->contents[0]; 2507 nbytes = sizeof *p + (len - 1) * sizeof p->contents[0];
@@ -2507,7 +2509,9 @@ allocate_vectorlike (len, type)
2507 2509
2508#ifdef DOUG_LEA_MALLOC 2510#ifdef DOUG_LEA_MALLOC
2509 /* Back to a reasonable maximum of mmap'ed areas. */ 2511 /* Back to a reasonable maximum of mmap'ed areas. */
2512 BLOCK_INPUT;
2510 mallopt (M_MMAP_MAX, MMAP_MAX_AREAS); 2513 mallopt (M_MMAP_MAX, MMAP_MAX_AREAS);
2514 UNBLOCK_INPUT;
2511#endif 2515#endif
2512 2516
2513 consing_since_gc += nbytes; 2517 consing_since_gc += nbytes;