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
56d2031b
Commit
56d2031b
authored
Mar 20, 1992
by
Jim Blandy
Browse files
*** empty log message ***
parent
b0265c64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
src/alloc.c
src/alloc.c
+7
-2
No files found.
src/alloc.c
View file @
56d2031b
/* Storage allocation and gc for GNU Emacs Lisp interpreter.
Copyright (C) 1985, 1986, 1988 Free Software Foundation, Inc.
Copyright (C) 1985, 1986, 1988
, 1992
Free Software Foundation, Inc.
This file is part of GNU Emacs.
...
...
@@ -163,7 +163,12 @@ xrealloc (block, size)
{
register
long
*
val
;
val
=
(
long
*
)
realloc
(
block
,
size
);
/* We must call malloc explicitly when BLOCK is 0, since some
reallocs don't do this. */
if
(
!
block
)
val
=
(
long
*
)
malloc
(
size
);
ese
val
=
(
long
*
)
realloc
(
block
,
size
);
if
(
!
val
&&
size
)
memory_full
();
return
val
;
...
...
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