]> git.eshelyaron.com Git - emacs.git/commitdiff
*** empty log message ***
authorKim F. Storm <storm@cua.dk>
Wed, 1 Dec 2004 14:09:49 +0000 (14:09 +0000)
committerKim F. Storm <storm@cua.dk>
Wed, 1 Dec 2004 14:09:49 +0000 (14:09 +0000)
src/ChangeLog

index aae03029dc44b1731824abfdf52a190a99e961d7..0eca89ab0c68a967fde1c932391f94ff009c7b94 100644 (file)
@@ -1,3 +1,14 @@
+2004-12-01  Kim F. Storm  <storm@cua.dk>
+
+       * alloc.c: 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.
+
 2004-12-01  Andreas Schwab  <schwab@suse.de>
 
        * lisp.h: Declare string_to_multibyte.