diff options
author | Paul Eggert <[email protected]> | 2011-09-30 10:07:40 -0700 |
---|---|---|
committer | Paul Eggert <[email protected]> | 2011-09-30 10:07:40 -0700 |
commit | f701dc2abbcfb64c0c4d02ac899dccb03ee2b246 (patch) | |
tree | 6d2cfa91e42aeaa89763a4c938fe7347431d5cca /ChangeLog | |
parent | cbc5ee224e558a2ee11c7abab293b2f2084852cd (diff) |
Remove dependency on glibc malloc internals.
* alloc.c (XMALLOC_OVERRUN_CHECK_OVERHEAD, XMALLOC_OVERRUN_CHECK_SIZE):
Move back here from lisp.h, but with their new implementations.
(XMALLOC_BASE_ALIGNMENT, COMMON_MULTIPLE, XMALLOC_HEADER_ALIGNMENT)
(XMALLOC_OVERRUN_SIZE_SIZE): Move these new lisp.h macros here.
* charset.c (charset_table_init): New static var.
(syms_of_charset): Use it instead of xmalloc. This removes a
dependency on glibc malloc internals. See Eli Zaretskii's comment in
<http://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00815.html>.
* lisp.h (XMALLOC_OVERRUN_CHECK_OVERHEAD, XMALLOC_OVERRUN_CHECK_SIZE):
Move back to alloc.c.
(XMALLOC_BASE_ALIGNMENT, COMMON_MULTIPLE, XMALLOC_HEADER_ALIGNMENT)
(XMALLOC_OVERRUN_SIZE_SIZE): Move to alloc.c.
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions