Subject: Re: Line & file debugging info for vnode locking.
To: None <proff@suburbia.net, wrstuden@nas.nasa.gov>
From: Ross Harvey <ross@ghs.com>
List: tech-kern
Date: 08/11/1999 10:24:00
> From: Bill Studenmund <wrstuden@nas.nasa.gov>
>
> On Wed, 11 Aug 1999, Julian Assange wrote:
>
> > > 	VOP_UNLOCK macros which pass in __FILE__ & __LINE__ directives to the
> > 
> > and __FUNCTION__
>
> Doh. Actually __FUNCTION__ and __LINE__ would be sufficient.
>
> Thanks for reminding me.

If it were me, I would stick with __FILE__ and __LINE__ because, very much
unlike __FUNCTION__, they are part of the ISO/IEC 9899 "C89" standard.

Now, if you had said ``__func__'', at least that's in the C9X draft, so
we could wrap it in cdefs.h and use __FUNCTION__ if __GNUC__, etc... but
why bother?

        ross.harvey@computer.org