changeset 9788:cfc5a79852e8

(Fdump_emacs): Don't reset the data start address by invoking memory_warnings just before unexec-ing.
author Richard M. Stallman <rms@gnu.org>
date Tue, 01 Nov 1994 07:07:32 +0000
parents c55f03316095
children a1e6724db219
files src/emacs.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Tue Nov 01 07:03:57 1994 +0000
+++ b/src/emacs.c	Tue Nov 01 07:07:32 1994 +0000
@@ -1037,7 +1037,11 @@
   /* Tell malloc where start of impure now is */
   /* Also arrange for warnings when nearly out of space.  */
 #ifndef SYSTEM_MALLOC
+#ifndef WINDOWSNT
+  /* On Windows, this was done before dumping, and that once suffices.
+     Meanwhile, my_edata is not valid on Windows.  */
   memory_warnings (&my_edata, malloc_warning);
+#endif /* not WINDOWSNT */
 #endif
   unexec (XSTRING (intoname)->data,
 	  !NILP (symname) ? XSTRING (symname)->data : 0, &my_edata, 0, 0);