Merge from trunk.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 30 May 2011 16:12:16 +0000 (09:12 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 30 May 2011 16:12:16 +0000 (09:12 -0700)
1  2 
src/ChangeLog

diff --cc src/ChangeLog
@@@ -1,17 -1,7 +1,19 @@@
 +2011-05-30  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * gnutls.c: Use Emacs's memory allocators.
 +      Without this change, the gnutls library would invoke malloc etc.
 +      directly, which causes problems on non-SYNC_INPUT hosts, and which
 +      runs afoul of improving memory_full behavior.  (Bug#8761)
 +      (fn_gnutls_global_set_mem_functions): New macro or function pointer.
 +      (emacs_gnutls_global_init): Use it to specify xmalloc, xrealloc,
 +      xfree instead of the default malloc, realloc, free.
 +      (Fgnutls_boot): No need to check for memory allocation failure,
 +      since xmalloc does that for us.
 +
  2011-05-30  Paul Eggert  <eggert@cs.ucla.edu>
  
+       * alloc.c (lisp_align_malloc): Omit unnecessary val==NULL tests.
        * eval.c (Qdebug): Now static.
        * lisp.h (Qdebug): Remove decl.  This reverts a part of the
        2011-04-26T11:26:05Z!dan.colascione@gmail.com that inadvertently undid part of