Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
cc5f52cb
Commit
cc5f52cb
authored
Nov 01, 1994
by
Richard M. Stallman
Browse files
(Fdump_emacs): Don't reset the data start address by
invoking memory_warnings just before unexec-ing.
parent
0b39d75d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/emacs.c
src/emacs.c
+4
-0
No files found.
src/emacs.c
View file @
cc5f52cb
...
...
@@ -1037,7 +1037,11 @@ 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
#ifndef WINDOWSNT
/* On Windows, this was done before dumping, and that once suffices.
Meanwhile, my_edata is not valid on Windows. */
memory_warnings
(
&
my_edata
,
malloc_warning
);
#endif
/* not WINDOWSNT */
#endif
unexec
(
XSTRING
(
intoname
)
->
data
,
!
NILP
(
symname
)
?
XSTRING
(
symname
)
->
data
:
0
,
&
my_edata
,
0
,
0
);
...
...
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