diff src/emacs.c @ 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 b36d5e88cccc
children fdc1155b891c
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);