comparison src/alloc.c @ 90185:5b029ff3b08d

Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-55 Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 320-323) - Update from CVS
author Miles Bader <miles@gnu.org>
date Thu, 26 May 2005 05:42:19 +0000
parents f042e7c0fe20 d140f1408030
children f9a65d7ebd29
comparison
equal deleted inserted replaced
90184:9e5e2f01c7ab 90185:5b029ff3b08d
1682 1682
1683 #ifdef GC_CHECK_STRING_OVERRUN 1683 #ifdef GC_CHECK_STRING_OVERRUN
1684 1684
1685 /* We check for overrun in string data blocks by appending a small 1685 /* We check for overrun in string data blocks by appending a small
1686 "cookie" after each allocated string data block, and check for the 1686 "cookie" after each allocated string data block, and check for the
1687 presense of this cookie during GC. */ 1687 presence of this cookie during GC. */
1688 1688
1689 #define GC_STRING_OVERRUN_COOKIE_SIZE 4 1689 #define GC_STRING_OVERRUN_COOKIE_SIZE 4
1690 static char string_overrun_cookie[GC_STRING_OVERRUN_COOKIE_SIZE] = 1690 static char string_overrun_cookie[GC_STRING_OVERRUN_COOKIE_SIZE] =
1691 { 0xde, 0xad, 0xbe, 0xef }; 1691 { 0xde, 0xad, 0xbe, 0xef };
1692 1692