From owner-cvs-all Tue Jan 1 22:42:38 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8C8AC37B417; Tue, 1 Jan 2002 22:42:34 -0800 (PST) Received: (from kbyanc@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g026gYF47830; Tue, 1 Jan 2002 22:42:34 -0800 (PST) (envelope-from kbyanc) Message-Id: <200201020642.g026gYF47830@freefall.freebsd.org> From: Kelly Yancey Date: Tue, 1 Jan 2002 22:42:34 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/tools/test/malloc Makefile main.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG kbyanc 2002/01/01 22:42:34 PST Modified files: tools/test/malloc Makefile main.c Log: Remove broken attempt to compile libc's malloc source directly; this allows this tool to compile again. Albeit, now to test a new malloc implementation one has to install the new libc which may have bad consequences (i.e. if the new malloc implementation were buggy). Add logic to workaround malloc's current behaviour of returning an invalid non-NULL pointer for 0 byte allocation requests; this prevents the tool from coring during the NOPS loop. Add $FreeBSD$ tags. Revision Changes Path 1.3 +2 -1 src/tools/test/malloc/Makefile 1.2 +10 -2 src/tools/test/malloc/main.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message