diff options
| author | Paul Eggert | 2011-09-29 00:44:58 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-09-29 00:44:58 -0700 |
| commit | 38532ce6ecb33efee5f697886d9fd20a3c2cda01 (patch) | |
| tree | 8782722e143d29b2452a8e4e70bbfadc3c1975d6 /src/ChangeLog | |
| parent | b13f71e2dda86836dc7dea90b385b3791f8ebd01 (diff) | |
| download | emacs-38532ce6ecb33efee5f697886d9fd20a3c2cda01.tar.gz emacs-38532ce6ecb33efee5f697886d9fd20a3c2cda01.zip | |
* alloc.c: Do not assume sizeof (size_t) is a multiple of 8
when debugging.
(alignof, XMALLOC_BASE_ALIGNMENT, XMALLOC_HEADER_ALIGNMENT)
(XMALLOC_OVERRUN_SIZE_SIZE): New macros.
(XMALLOC_OVERRUN_CHECK_OVERHEAD, xmalloc_put_size, xmalloc_get_size)
(overrun_check_malloc, overrun_check_realloc, overrun_check_free):
Replace uses of sizeof (size_t) with XMALLOC_OVERRUN_SIZE_SIZE.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 4f0a0b9ab74..37f2e39848f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2011-09-29 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * alloc.c: Do not assume sizeof (size_t) is a multiple of 8 | ||
| 4 | when debugging. | ||
| 5 | (alignof, XMALLOC_BASE_ALIGNMENT, XMALLOC_HEADER_ALIGNMENT) | ||
| 6 | (XMALLOC_OVERRUN_SIZE_SIZE): New macros. | ||
| 7 | (XMALLOC_OVERRUN_CHECK_OVERHEAD, xmalloc_put_size, xmalloc_get_size) | ||
| 8 | (overrun_check_malloc, overrun_check_realloc, overrun_check_free): | ||
| 9 | Replace uses of sizeof (size_t) with XMALLOC_OVERRUN_SIZE_SIZE. | ||
| 10 | |||
| 1 | 2011-09-28 Paul Eggert <eggert@cs.ucla.edu> | 11 | 2011-09-28 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 12 | ||
| 3 | * alloc.c (pure_bytes_used_lisp, pure_bytes_used_non_lisp): | 13 | * alloc.c (pure_bytes_used_lisp, pure_bytes_used_non_lisp): |