cvs commit: src/tools/test/malloc Makefile main.c

[ Available lists | Index of cvs-all | Month of Jan 2002 | Week of 1 Jan 2002 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Kelly Yancey <kbyanc@FreeBSD.org>
Date
1 Jan 2002 22:42:38
Subject
cvs commit: src/tools/test/malloc Makefile main.c
Message-ID
200201020642.g026gYF47830@freefall.freebsd.org


[ Hide this part ]
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



Elapsed time: 0.077 seconds