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
1177ecf6
Commit
1177ecf6
authored
May 16, 1997
by
Kenichi Handa
Browse files
(BYTES_USED): Put # at the beginning of line.
(emacs_blocked_malloc): Likewise.
parent
d02eeab3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/alloc.c
src/alloc.c
+5
-5
No files found.
src/alloc.c
View file @
1177ecf6
...
...
@@ -214,9 +214,9 @@ display_malloc_warning ()
}
#ifdef DOUG_LEA_MALLOC
#
define BYTES_USED (mallinfo ().arena)
#
define BYTES_USED (mallinfo ().arena)
#else
#
define BYTES_USED _bytes_used
#
define BYTES_USED _bytes_used
#endif
/* Called if malloc returns zero */
...
...
@@ -374,11 +374,11 @@ emacs_blocked_malloc (size)
BLOCK_INPUT
;
__malloc_hook
=
old_malloc_hook
;
#ifdef DOUG_LEA_MALLOC
#ifdef DOUG_LEA_MALLOC
mallopt
(
M_TOP_PAD
,
malloc_hysteresis
*
4096
);
#else
#else
__malloc_extra_blocks
=
malloc_hysteresis
;
#endif
#endif
value
=
(
void
*
)
malloc
(
size
);
__malloc_hook
=
emacs_blocked_malloc
;
UNBLOCK_INPUT
;
...
...
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