Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 1995 11:54:27 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        davidg@root.com
Cc:        terry@lambert.org, hackers@freefall.freebsd.org
Subject:   Re: why is this not a bug in namei?
Message-ID:  <199509191854.LAA10331@phaeton.artisoft.com>
In-Reply-To: <199509190607.XAA03876@corbin.Root.COM> from "David Greenman" at Sep 18, 95 11:07:03 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> >What if I only want to instrument malloc() and free() in one source file?
> 
>    That's a silly argument. The namespace will already be messed up with the
> global macros - I'd hardly call that an "improvement".

#undef FREE
#define	FREE(x,y)	myfree(x,y)

...

#undef free		<--- Bzzzzzzt


					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?199509191854.LAA10331>