Merge ChangeLog from trunk better.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Jun 2011 08:40:41 +0000 (01:40 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Jun 2011 08:40:41 +0000 (01:40 -0700)
ChangeLog
src/ChangeLog

index 76bd252..c0e5329 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,13 +4,6 @@
 
 2011-05-30  Paul Eggert  <eggert@cs.ucla.edu>
 
-       Malloc failure behavior now depends on size of allocation.
-       * lib/allocator.h (struct allocator.die): New size arg.
-       * lib/careadlinkat.c (careadlinkat): Pass size to 'die' function.
-       If the actual problem is an ssize_t limitation, not a size_t or
-       malloc failure, fail with errno == ENAMETOOLONG instead of calling
-       'die'.  (Bug#8762)
-
        Use 'inline', not 'INLINE'.
        * configure.in (INLINE): Remove.
 
index 7d372e0..45d8e38 100644 (file)
@@ -1,5 +1,21 @@
 2011-06-02  Paul Eggert  <eggert@cs.ucla.edu>
 
+       Malloc failure behavior now depends on size of allocation.
+       * alloc.c (buffer_memory_full, memory_full): New arg NBYTES.
+       * lisp.h: Change signatures accordingly.
+       * alloc.c, buffer.c, editfns.c, menu.c, minibuf.c, xterm.c:
+       All callers changed.  (Bug#8762)
+
+       * 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.
+
        Remove arbitrary limit of 2**31 entries in hash tables.  (Bug#8771)
        * category.c (hash_get_category_set):
        * ccl.c (ccl_driver):
 
 2011-05-31  Paul Eggert  <eggert@cs.ucla.edu>
 
-       Malloc failure behavior now depends on size of allocation.
-       * alloc.c (buffer_memory_full, memory_full): New arg NBYTES.
-       * lisp.h: Change signatures accordingly.
-       * alloc.c, buffer.c, editfns.c, menu.c, minibuf.c, xterm.c:
-       All callers changed.  (Bug#8762)
-
-       * 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.
-
        Use 'inline', not 'INLINE'.
        <http://lists.gnu.org/archive/html/emacs-devel/2011-05/msg00914.html>
        * alloc.c, fontset.c (INLINE): Remove.