From 2c660e90708ff7d1cfb6205685ab15839cee3b90 Mon Sep 17 00:00:00 2001 From: dg Date: Sun, 16 Apr 1995 11:25:15 +0000 Subject: [PATCH] Make vegetarian and animal rights people happy and use 0xdeadc0de instead of 0xdeadbeef as the fill pattern. Decreased MAX_COPY to 64 (256 was a bit overzealous in most cases). --- sys/kern/kern_malloc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c index edb358e11c70..ad0929d3af29 100644 --- a/sys/kern/kern_malloc.c +++ b/sys/kern/kern_malloc.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)kern_malloc.c 8.3 (Berkeley) 1/4/94 - * $Id: kern_malloc.c,v 1.9 1995/03/11 22:28:16 davidg Exp $ + * $Id: kern_malloc.c,v 1.10 1995/03/19 14:28:52 davidg Exp $ */ #include @@ -64,8 +64,8 @@ long addrmask[] = { 0, * The WEIRD_ADDR is used as known text to copy into free objects so * that modifications after frees can be detected. */ -#define WEIRD_ADDR 0xdeadbeef -#define MAX_COPY 256 +#define WEIRD_ADDR 0xdeadc0de +#define MAX_COPY 64 /* * Normally the first word of the structure is used to hold the list