1 |
|
2004-12-01 Kim F. Storm <storm@cua.dk> |
2 |
|
|
3 |
|
* alloc.c: Add commentary for last change. |
4 |
|
(XMALLOC_PUT_SIZE, XMALLOC_GET_SIZE): New macros to handle |
5 |
|
sizeof(size_t) != 4. |
6 |
|
(overrun_check_malloc, overrun_check_realloc, overrun_check_free): |
7 |
|
Use them. Also clear header and trailer of freed memory. |
8 |
|
(GC_STRING_OVERRUN_COOKIE_SIZE): Rename from GC_STRING_EXTRA. |
9 |
|
(string_overrun_cookie): Rename from string_overrun_pattern. |
10 |
|
(GC_STRING_EXTRA): Define from GC_STRING_OVERRUN_COOKIE_SIZE. |
11 |
|
|
12 |
2004-12-01 Andreas Schwab <schwab@suse.de> |
2004-12-01 Andreas Schwab <schwab@suse.de> |
13 |
|
|
14 |
* lisp.h: Declare string_to_multibyte. |
* lisp.h: Declare string_to_multibyte. |