Mercurial > emacs
diff src/ralloc.c @ 61225:1e515cc6ca0c
* alloc.c (allocate_string_data): Call BLOCK_INPUT before calling
mallopt.
* ralloc.c (r_alloc_init): Ditto.
| author | Jan Dj?rv <jan.h.d@swipnet.se> |
|---|---|
| date | Sat, 02 Apr 2005 12:05:38 +0000 |
| parents | 695cf19ef79e |
| children | 1050c59c8ed5 |
line wrap: on
line diff
--- a/src/ralloc.c Sat Apr 02 11:32:18 2005 +0000 +++ b/src/ralloc.c Sat Apr 02 12:05:38 2005 +0000 @@ -1255,7 +1255,9 @@ #endif #ifdef DOUG_LEA_MALLOC - mallopt (M_TOP_PAD, 64 * 4096); + BLOCK_INPUT; + mallopt (M_TOP_PAD, 64 * 4096); + UNBLOCK_INPUT; #else #ifndef SYSTEM_MALLOC /* Give GNU malloc's morecore some hysteresis
