Commit 70eb2c3e authored by Richard M. Stallman's avatar Richard M. Stallman

(Fdump_emacs, main): Use memory_warnings.

parent 2c46d29f
...@@ -310,7 +310,7 @@ main (argc, argv, envp) ...@@ -310,7 +310,7 @@ main (argc, argv, envp)
#ifndef SYSTEM_MALLOC #ifndef SYSTEM_MALLOC
if (! initialized) if (! initialized)
malloc_init (0, malloc_warning); memory_warnings (0, malloc_warning);
#endif /* not SYSTEM_MALLOC */ #endif /* not SYSTEM_MALLOC */
#ifdef PRIO_PROCESS #ifdef PRIO_PROCESS
...@@ -688,7 +688,7 @@ This function exists on systems that use HAVE_SHM.") ...@@ -688,7 +688,7 @@ This function exists on systems that use HAVE_SHM.")
/* Tell malloc where start of impure now is */ /* Tell malloc where start of impure now is */
/* Also arrange for warnings when nearly out of space. */ /* Also arrange for warnings when nearly out of space. */
#ifndef SYSTEM_MALLOC #ifndef SYSTEM_MALLOC
malloc_init (&my_edata, malloc_warning); memory_warnings (&my_edata, malloc_warning);
#endif #endif
map_out_data (XSTRING (intoname)->data); map_out_data (XSTRING (intoname)->data);
...@@ -733,7 +733,7 @@ and announce itself normally when it is run.") ...@@ -733,7 +733,7 @@ and announce itself normally when it is run.")
/* Tell malloc where start of impure now is */ /* Tell malloc where start of impure now is */
/* Also arrange for warnings when nearly out of space. */ /* Also arrange for warnings when nearly out of space. */
#ifndef SYSTEM_MALLOC #ifndef SYSTEM_MALLOC
malloc_init (&my_edata, malloc_warning); memory_warnings (&my_edata, malloc_warning);
#endif #endif
unexec (XSTRING (intoname)->data, unexec (XSTRING (intoname)->data,
!NILP (symname) ? XSTRING (symname)->data : 0, &my_edata, 0, 0); !NILP (symname) ? XSTRING (symname)->data : 0, &my_edata, 0, 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment