Commit bf7f4e90 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(main): Call memory_warnings and uninterrupt_malloc

even when starting the dumped Emacs.
parent 5c9c2c3f
...@@ -707,15 +707,14 @@ main (argc, argv, envp) ...@@ -707,15 +707,14 @@ main (argc, argv, envp)
clearerr (stdin); clearerr (stdin);
#ifndef SYSTEM_MALLOC #ifndef SYSTEM_MALLOC
if (! initialized)
{
/* Arrange to get warning messages as memory fills up. */ /* Arrange to get warning messages as memory fills up. */
memory_warnings (0, malloc_warning); memory_warnings (0, malloc_warning);
/* Arrange to disable interrupt input while malloc and friends are /* Call malloc at least once, to run the initial __malloc_hook. */
running. */ malloc (4);
/* Arrange to disable interrupt input inside malloc etc. */
uninterrupt_malloc (); uninterrupt_malloc ();
}
#endif /* not SYSTEM_MALLOC */ #endif /* not SYSTEM_MALLOC */
#ifdef MSDOS #ifdef MSDOS
......
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