Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 2016 09:57:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-standards@FreeBSD.org
Subject:   [Bug 206146] fileno(3) should be implemented as a function; need to check other functions as well
Message-ID:  <bug-206146-15-k456gnX0tC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-206146-15@https.bugs.freebsd.org/bugzilla/>
References:  <bug-206146-15@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206146

David Chisnall <theraven@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |theraven@FreeBSD.org

--- Comment #2 from David Chisnall <theraven@FreeBSD.org> ---
I think that's pretty clear.  It *must* be a function.  It *may* also be a
macro.  It currently is a function and a macro, but the function is external
and so if you #undef the macro you get worse performance.  There are a numb=
er
of cases like this, where we should be defining an inline function instead =
of a
macro.

This also makes building language bridges harder than it needs to be on
FreeBSD.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206146-15-k456gnX0tC>