Mercurial > hg > xemacs-beta
diff src/ralloc.c @ 909:a703d313962d
[xemacs-hg @ 2002-07-09 11:55:35 by michaels]
2002-07-08 Mike Sperber <mike@xemacs.org>
* ralloc.c (init_ralloc): Allocate properly for pdump.
* emacs.c (main_1): Revert init_ralloc patch in favor of an
easier-to-understand solution.
author | michaels |
---|---|
date | Tue, 09 Jul 2002 11:55:36 +0000 |
parents | 023b83f4e54b |
children | 1b0339b048ce |
line wrap: on
line diff
--- a/src/ralloc.c Tue Jul 09 09:37:01 2002 +0000 +++ b/src/ralloc.c Tue Jul 09 11:55:36 2002 +0000 @@ -2022,6 +2022,10 @@ if (r_alloc_initialized > 1) return; /* used to return 1 */ +#ifdef PDUMP + /* Under pdump, we need to activate ralloc on the first go. */ + ++r_alloc_initialized; +#endif if (++r_alloc_initialized == 1) return; /* used to return 1 */