comparison 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
comparison
equal deleted inserted replaced
908:aa5bf79c0076 909:a703d313962d
2020 { 2020 {
2021 int i = 0; 2021 int i = 0;
2022 if (r_alloc_initialized > 1) 2022 if (r_alloc_initialized > 1)
2023 return; /* used to return 1 */ 2023 return; /* used to return 1 */
2024 2024
2025 #ifdef PDUMP
2026 /* Under pdump, we need to activate ralloc on the first go. */
2027 ++r_alloc_initialized;
2028 #endif
2025 if (++r_alloc_initialized == 1) 2029 if (++r_alloc_initialized == 1)
2026 return; /* used to return 1 */ 2030 return; /* used to return 1 */
2027 2031
2028 Addr_Block_initialize(); /* Initialize the address picker, if required. */ 2032 Addr_Block_initialize(); /* Initialize the address picker, if required. */
2029 page_size = PAGE; 2033 page_size = PAGE;