Commit Graph

6 Commits

Author SHA1 Message Date
Rebecca Cran
01ded8b942 Fix warnings and style(9) issues.
Set WARNS to 6.

MFC after:	1 week
2011-03-11 17:33:31 +00:00
Ruslan Ermilov
e653b48c80 Start the dreaded NOFOO -> NO_FOO conversion.
OK'ed by:	core
2004-12-21 08:47:35 +00:00
Ruslan Ermilov
a35d88931c For variables that are only checked with defined(), don't provide
any fake value.
2004-10-24 15:33:08 +00:00
Kelly Yancey
adeb92a24c 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.
2002-01-02 06:42:34 +00:00
Poul-Henning Kamp
9ee40678bb Update this to match my version. 1996-10-26 08:22:09 +00:00
Poul-Henning Kamp
953a3198a3 malloc.c A program to benchmark and test malloc. 1995-10-15 12:29:12 +00:00