(Fdump_emacs): Don't reset the data start address by
authorRichard M. Stallman <rms@gnu.org>
Tue, 1 Nov 1994 07:07:32 +0000 (07:07 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 1 Nov 1994 07:07:32 +0000 (07:07 +0000)
invoking memory_warnings just before unexec-ing.

src/emacs.c

index a943a07..2e9a81a 100644 (file)
@@ -1037,7 +1037,11 @@ and announce itself normally when it is run.")
   /* 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);