projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
275a5dd
)
* alloc.c (allocate_vectorlike): Adjust to memory_full API change.
author
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 2 Jun 2011 08:35:28 +0000
(
01:35
-0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 2 Jun 2011 08:35:28 +0000
(
01:35
-0700)
src/alloc.c
patch
|
blob
|
history
diff --git
a/src/alloc.c
b/src/alloc.c
index 4449dd989de69c883473c129b99a31c0978e7e5f..0c18fca1755b11474aebdbe1cdd17ff12c76b434 100644
(file)
--- a/
src/alloc.c
+++ b/
src/alloc.c
@@
-2793,7
+2793,7
@@
allocate_vectorlike (EMACS_INT len)
int word_size = sizeof p->contents[0];
if ((SIZE_MAX - header_size) / word_size < len)
- memory_full ();
+ memory_full (
SIZE_MAX
);
MALLOC_BLOCK_INPUT;