1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 18:00:40 -08:00

(Fdump_emacs, main): Use memory_warnings.

This commit is contained in:
Richard M. Stallman 1992-10-11 20:38:00 +00:00
parent 2c46d29fbd
commit 70eb2c3e2d

View file

@ -310,7 +310,7 @@ main (argc, argv, envp)
#ifndef SYSTEM_MALLOC
if (! initialized)
malloc_init (0, malloc_warning);
memory_warnings (0, malloc_warning);
#endif /* not SYSTEM_MALLOC */
#ifdef PRIO_PROCESS
@ -688,7 +688,7 @@ This function exists on systems that use HAVE_SHM.")
/* Tell malloc where start of impure now is */
/* Also arrange for warnings when nearly out of space. */
#ifndef SYSTEM_MALLOC
malloc_init (&my_edata, malloc_warning);
memory_warnings (&my_edata, malloc_warning);
#endif
map_out_data (XSTRING (intoname)->data);
@ -733,7 +733,7 @@ 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
malloc_init (&my_edata, malloc_warning);
memory_warnings (&my_edata, malloc_warning);
#endif
unexec (XSTRING (intoname)->data,
!NILP (symname) ? XSTRING (symname)->data : 0, &my_edata, 0, 0);