`Hiding' libc symbols (was Re: cvs commit: src/lib/libc/gen ...)

Paul Richards paul at freebsd-services.com
Thu May 1 08:45:51 PDT 2003


On Thu, May 01, 2003 at 09:53:45AM -0500, Jacques A. Vidrine wrote:
> On Thu, May 01, 2003 at 03:46:00PM +0100, Paul Richards wrote:
> [...]
> > > No, it is done for some 150+ functions.  If the technique didn't have
> > 
> > 150+? I must have missed that in the commit and subsequent discussion.
> 
> See src/lib/libc/include/namespace.h .
> 
> [...]
> > Hmm, perhaps a more correct implementation of our libc would not
> > use the exported interface to implement the exported interface
> > (thinking aloud).
> > 
> > i.e. there'd be a _strlcpy that strlcpy was just a wrapper for
> > and internally the _strlcpy would be used.
> 
> Oh, Paul.  That is exactly what we are doing today.

(me wanders off to study the code instead of speaking from a very
old recollection of how things used to be).

-- 
Paul Richards


More information about the freebsd-arch mailing list