comparison 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
comparison
equal deleted inserted replaced
9787:c55f03316095 9788:cfc5a79852e8
1035 mapout_data (XSTRING (intoname)->data); 1035 mapout_data (XSTRING (intoname)->data);
1036 #else 1036 #else
1037 /* Tell malloc where start of impure now is */ 1037 /* Tell malloc where start of impure now is */
1038 /* Also arrange for warnings when nearly out of space. */ 1038 /* Also arrange for warnings when nearly out of space. */
1039 #ifndef SYSTEM_MALLOC 1039 #ifndef SYSTEM_MALLOC
1040 #ifndef WINDOWSNT
1041 /* On Windows, this was done before dumping, and that once suffices.
1042 Meanwhile, my_edata is not valid on Windows. */
1040 memory_warnings (&my_edata, malloc_warning); 1043 memory_warnings (&my_edata, malloc_warning);
1044 #endif /* not WINDOWSNT */
1041 #endif 1045 #endif
1042 unexec (XSTRING (intoname)->data, 1046 unexec (XSTRING (intoname)->data,
1043 !NILP (symname) ? XSTRING (symname)->data : 0, &my_edata, 0, 0); 1047 !NILP (symname) ? XSTRING (symname)->data : 0, &my_edata, 0, 0);
1044 #endif /* not VMS */ 1048 #endif /* not VMS */
1045 1049