* 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'.
+ malloc failure, fail with errno == ENAMETOOLONG instead of calling
+ 'die'. (Bug#8762)
2011-05-29 Paul Eggert <eggert@cs.ucla.edu>
* 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.
+ All callers changed. (Bug#8762)
* gnutls.c: Use Emacs's memory allocators.
Without this change, the gnutls library would invoke malloc etc.