Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d36b182f
Commit
d36b182f
authored
May 29, 2003
by
Dave Love
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment.
parent
2794f7ab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
src/alloc.c
src/alloc.c
+7
-1
src/buffer.c
src/buffer.c
+4
-3
No files found.
src/alloc.c
View file @
d36b182f
...
...
@@ -1393,7 +1393,13 @@ allocate_string_data (s, nchars, nbytes)
#ifdef DOUG_LEA_MALLOC
/* Prevent mmap'ing the chunk. Lisp data may not be mmap'ed
because mapped region contents are not preserved in
a dumped Emacs. */
a dumped Emacs.
In case you think of allowing it in a dumped Emacs at the
cost of not being able to re-dump, there's another reason:
mmap'ed data typically have an address towards the top of the
address space, which won't fit into an EMACS_INT (at least on
32-bit systems with the current tagging scheme). --fx */
mallopt
(
M_MMAP_MAX
,
0
);
#endif
...
...
src/buffer.c
View file @
d36b182f
...
...
@@ -420,10 +420,11 @@ The value is never nil. */)
XSETBUFFER
(
buf
,
b
);
Vbuffer_alist
=
nconc2
(
Vbuffer_alist
,
Fcons
(
Fcons
(
name
,
buf
),
Qnil
));
/* Fixme: Protect against errors, which would trigger infinite
regress? */
/* An error in calling the function here (should someone redfine it)
can lead to infinite regress until you run out of stack. rms
says that's not worth protecting against. */
if
(
!
NILP
(
Ffboundp
(
Qucs_set_table_for_input
)))
/* buf
f
is on buffer-alist, so no gcpro */
/* buf is on buffer-alist, so no gcpro
.
*/
call1
(
Qucs_set_table_for_input
,
buf
);
return
buf
;
...
...
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