Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
bf7f4e90
Commit
bf7f4e90
authored
Dec 29, 1998
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(main): Call memory_warnings and uninterrupt_malloc
even when starting the dumped Emacs.
parent
5c9c2c3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
src/emacs.c
src/emacs.c
+7
-8
No files found.
src/emacs.c
View file @
bf7f4e90
...
@@ -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. */
{
memory_warnings
(
0
,
malloc_warning
);
/* Arrange to get warning messages as memory fills up. */
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
);
uninterrupt_malloc
();
}
/* Arrange to disable interrupt input inside malloc etc. */
uninterrupt_malloc
();
#endif
/* not SYSTEM_MALLOC */
#endif
/* not SYSTEM_MALLOC */
#ifdef MSDOS
#ifdef MSDOS
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment