changeset 899:08513f26c519

[xemacs-hg @ 2002-07-04 13:57:00 by michaels] 2002-07-03 Mike Sperber <mike@xemacs.org> * emacs.c (main_1): We need to call init_ralloc twice for PDUMP, otherwice ralloc won't do anything for us.
author michaels
date Thu, 04 Jul 2002 13:57:03 +0000
parents b0c24ea6a2a8
children ac5c14a317f1
files src/ChangeLog src/emacs.c
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Jul 03 07:18:41 2002 +0000
+++ b/src/ChangeLog	Thu Jul 04 13:57:03 2002 +0000
@@ -1,3 +1,8 @@
+2002-07-03  Mike Sperber <mike@xemacs.org>
+
+	* emacs.c (main_1): We need to call init_ralloc twice for PDUMP,
+	otherwice ralloc won't do anything for us.
+
 2002-07-01  Mike Sperber <mike@xemacs.org>
 
 	* process-unix.c (unix_send_process): Mark coding_outstream as
--- a/src/emacs.c	Wed Jul 03 07:18:41 2002 +0000
+++ b/src/emacs.c	Thu Jul 04 13:57:03 2002 +0000
@@ -789,6 +789,9 @@
 #if defined (HAVE_MMAP) && defined (REL_ALLOC)
   /* ralloc can only be used if using the GNU memory allocator. */
   init_ralloc ();
+#ifdef PDUMP
+  init_ralloc ();
+#endif
 #elif defined (REL_ALLOC) && !defined(DOUG_LEA_MALLOC)
   if (initialized)
     init_ralloc();