HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix wording of error message in staticpro.
[bpt/emacs.git]
/
src
/
alloc.c
diff --git
a/src/alloc.c
b/src/alloc.c
index
0afe446
..
257e4fd
100644
(file)
--- a/
src/alloc.c
+++ b/
src/alloc.c
@@
-376,7
+376,7
@@
struct gcpro *gcprolist;
/* Addresses of staticpro'd variables. Initialize it to a nonzero
value; otherwise some compilers put it into BSS. */
/* Addresses of staticpro'd variables. Initialize it to a nonzero
value; otherwise some compilers put it into BSS. */
-#define NSTATICS 0x
65
0
+#define NSTATICS 0x
100
0
static Lisp_Object *staticvec[NSTATICS] = {&Vpurify_flag};
/* Index of next unused slot in staticvec. */
static Lisp_Object *staticvec[NSTATICS] = {&Vpurify_flag};
/* Index of next unused slot in staticvec. */
@@
-5030,7
+5030,7
@@
staticpro (Lisp_Object *varaddress)
{
staticvec[staticidx++] = varaddress;
if (staticidx >= NSTATICS)
{
staticvec[staticidx++] = varaddress;
if (staticidx >= NSTATICS)
-
emacs_abort (
);
+
fatal ("NSTATICS too small; try increasing and recompiling Emacs."
);
}
\f
}
\f