From d251c37c729a3c96ad10c5f6675370d371159534 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 22 Jun 2012 09:51:06 +0300 Subject: [PATCH] Enlarge NSTATICS to 0x650. src/alloc.c (NSTATICS): Enlarge to 0x650. Otherwise, Emacs compiled with -DENABLE_CHECKING -DXASSERTS -DGLYPH_DEBUG=1 -DBYTE_CODE_METER aborts in staticpro during startup. (Without -DBYTE_CODE_METER, staticidx goes up to 1597 out of 1600 = 0x640.) --- src/ChangeLog | 7 +++++++ src/alloc.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 69f11e5a614..128b05e0e7a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2012-06-22 Eli Zaretskii + + * alloc.c (NSTATICS): Enlarge to 0x650. Otherwise, Emacs compiled + with -DENABLE_CHECKING -DXASSERTS -DGLYPH_DEBUG=1 -DBYTE_CODE_METER + aborts in staticpro during startup. (Without -DBYTE_CODE_METER, + staticidx goes up to 1597 out of 1600 = 0x640.) + 2012-06-20 Paul Eggert * fileio.c (Fdefault_file_modes): Block input while fiddling with umask. diff --git a/src/alloc.c b/src/alloc.c index 7af3b17078e..aba76386dd6 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -431,7 +431,7 @@ struct gcpro *gcprolist; /* Addresses of staticpro'd variables. Initialize it to a nonzero value; otherwise some compilers put it into BSS. */ -#define NSTATICS 0x640 +#define NSTATICS 0x650 static Lisp_Object *staticvec[NSTATICS] = {&Vpurify_flag}; /* Index of next unused slot in staticvec. */ -- 2.39.2