From: Paul Eggert <eggert@cs.ucla.edu> Date: Thu, 2 Jun 2011 08:35:28 +0000 (-0700) Subject: * alloc.c (allocate_vectorlike): Adjust to memory_full API change. X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~45^2~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7f5efba80e3643683eb050205054b7896342aa2d;p=emacs.git * alloc.c (allocate_vectorlike): Adjust to memory_full API change. --- diff --git a/src/alloc.c b/src/alloc.c index 4449dd989de..0c18fca1755 100644 --- 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;