From: Richard M. Stallman Date: Tue, 1 Nov 1994 07:07:32 +0000 (+0000) Subject: (Fdump_emacs): Don't reset the data start address by X-Git-Tag: emacs-19.34~6067 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cc5f52cbfa696dc1557f28b3c32f199f4620af62;p=emacs.git (Fdump_emacs): Don't reset the data start address by invoking memory_warnings just before unexec-ing. --- diff --git a/src/emacs.c b/src/emacs.c index a943a0788d5..2e9a81a9091 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -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);