Mercurial > hg > xemacs-beta
diff src/alloc.c @ 263:727739f917cb r20-5b30
Import from CVS: tag r20-5b30
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:24:41 +0200 |
parents | 405dd6d1825b |
children | 8efd647ea9ca |
line wrap: on
line diff
--- a/src/alloc.c Mon Aug 13 10:23:52 2007 +0200 +++ b/src/alloc.c Mon Aug 13 10:24:41 2007 +0200 @@ -2848,7 +2848,7 @@ */ if (!NILP (XSYMBOL (obj)->obarray)) return obj; - Fputhash (obj, obj, Vpure_uninterned_symbol_table); + Fputhash (obj, Qnil, Vpure_uninterned_symbol_table); return obj; } else @@ -3035,7 +3035,11 @@ /* 415 used Mly 29-Jun-93 */ /* 1327 used slb 28-Feb-98 */ -#define NSTATICS 1500 +#ifdef HAVE_SHLIB +#define NSTATICS 4000 +#else +#define NSTATICS 2000 +#endif /* Not "static" because of linker lossage on some systems */ Lisp_Object *staticvec[NSTATICS] /* Force it into data space! */ @@ -3048,6 +3052,8 @@ staticpro (Lisp_Object *varaddress) { if (staticidx >= countof (staticvec)) + /* #### This is now a dubious abort() since this routine may be called */ + /* by Lisp attempting to load a DLL. */ abort (); staticvec[staticidx++] = varaddress; }