Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 1995 19:54:56 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        davidg@root.com
Cc:        terry@lambert.org, kuku@gilberto.physik.rwth-aachen.de, julian@freefall.freebsd.org, hackers@freefall.freebsd.org
Subject:   Re: why is this not a bug in namei?
Message-ID:  <199509190254.TAA09115@phaeton.artisoft.com>
In-Reply-To: <199509182321.QAA03724@corbin.Root.COM> from "David Greenman" at Sep 18, 95 04:21:46 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> >> Is this just a typo? Shouldn't it be a FREE() macro like below?
> ...
> >The code should still be cleaned up, however.
> >
> >I prefer the macroized version to allow later instrumentation.
> 
>    I prefer the non macroized version. The instrumentation of malloc/free
> belongs in malloc() & free(). Macros are ugly and usually evil. They
> unnecessarily obscure the code.

???

What if I only want to instrument malloc() and free() in one source file?

What if I want to share code with NetBSD and BSDI?


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509190254.TAA09115>