From: Eli Zaretskii Date: Fri, 8 Jun 2012 09:58:43 +0000 (+0300) Subject: Fix BLOCK_INPUT/UNBLOCK_INPUT mismatch in 2012-06-08T08:44:30Z!dmantipov@yandex.ru. X-Git-Tag: emacs-24.2.90~1199^2~474^2~91 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8bbbc977a78162c24462d49b76fbf012ca8e7c6d;p=emacs.git Fix BLOCK_INPUT/UNBLOCK_INPUT mismatch in 2012-06-08T08:44:30Z!dmantipov@yandex.ru. src/alloc.c (allocate_vectorlike): Fix last change. --- diff --git a/src/ChangeLog b/src/ChangeLog index bebb36b50a8..8bc7d6d24a4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2012-06-08 Eli Zaretskii + + * alloc.c (allocate_vectorlike): Fix last change. + 2012-06-08 Dmitry Antipov Block-based vector allocation of small vectors. diff --git a/src/alloc.c b/src/alloc.c index 958da1dbbb0..da2b7ac4330 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -3254,7 +3254,10 @@ allocate_vectorlike (ptrdiff_t len) /* eassert (!handling_signal); */ if (len == 0) - return zero_vector; + { + MALLOC_UNBLOCK_INPUT; + return zero_vector; + } nbytes = header_size + len * word_size;