Add commentary for last change.
commitbdbed949970b828b02ef8746543337968d89f83b
authorKim F. Storm <storm@cua.dk>
Wed, 1 Dec 2004 14:10:23 +0000 (1 14:10 +0000)
committerKim F. Storm <storm@cua.dk>
Wed, 1 Dec 2004 14:10:23 +0000 (1 14:10 +0000)
treed4a0f480a3057479e21ddd6d8fa2cf395a10ae5d
parent1cae6d39e6c10cc785dff977039294a8971d7de9
Add commentary for last change.
(XMALLOC_PUT_SIZE, XMALLOC_GET_SIZE): New macros to handle
sizeof(size_t) != 4.
(overrun_check_malloc, overrun_check_realloc, overrun_check_free):
Use them.  Also clear header and trailer of freed memory.
(GC_STRING_OVERRUN_COOKIE_SIZE): Rename from GC_STRING_EXTRA.
(string_overrun_cookie): Rename from string_overrun_pattern.
(GC_STRING_EXTRA): Define from GC_STRING_OVERRUN_COOKIE_SIZE.
src/alloc.c