Mercurial > emacs
comparison src/emacs.c @ 23954:7a8677cdf2bd
(main): Call memory_warnings and uninterrupt_malloc
even when starting the dumped Emacs.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 29 Dec 1998 22:53:54 +0000 |
parents | dba43a039f3c |
children | fe8617dd8a50 |
comparison
equal
deleted
inserted
replaced
23953:c8cdb4e487cb | 23954:7a8677cdf2bd |
---|---|
705 #endif | 705 #endif |
706 | 706 |
707 clearerr (stdin); | 707 clearerr (stdin); |
708 | 708 |
709 #ifndef SYSTEM_MALLOC | 709 #ifndef SYSTEM_MALLOC |
710 if (! initialized) | 710 /* Arrange to get warning messages as memory fills up. */ |
711 { | 711 memory_warnings (0, malloc_warning); |
712 /* Arrange to get warning messages as memory fills up. */ | 712 |
713 memory_warnings (0, malloc_warning); | 713 /* Call malloc at least once, to run the initial __malloc_hook. */ |
714 | 714 malloc (4); |
715 /* Arrange to disable interrupt input while malloc and friends are | 715 |
716 running. */ | 716 /* Arrange to disable interrupt input inside malloc etc. */ |
717 uninterrupt_malloc (); | 717 uninterrupt_malloc (); |
718 } | |
719 #endif /* not SYSTEM_MALLOC */ | 718 #endif /* not SYSTEM_MALLOC */ |
720 | 719 |
721 #ifdef MSDOS | 720 #ifdef MSDOS |
722 /* We do all file input/output as binary files. When we need to translate | 721 /* We do all file input/output as binary files. When we need to translate |
723 newlines, we do that manually. */ | 722 newlines, we do that manually. */ |