cvs commit: src/lib/libc/gen check_utility_compat.c confstr.c
fmtmsg.c getgrent.c getpwent.c src/lib/libc/include namespace.h
un-namespace.h src/lib/libc/locale setlocale.c src/lib/libc/net
getaddrinfo.c gethostbydns.c getnameinfo.c hesiod.c ...
dev-null at NUXI.com
Tue Apr 29 17:20:21 PDT 2003
On Tue, Apr 29, 2003 at 11:49:09PM +0200, Dag-Erling Smorgrav wrote:
> Jacques Vidrine <nectar at FreeBSD.org> writes:
> > Log:
> > `Hide' strlcpy and strlcat (using the namespace.h / __weak_reference
> > technique) so that we don't wind up calling into an application's
> > version if the application defines them.
> We should probably do this for every libc function that is used within
No we shouldn't. If I understand you correctly, it prevents me from
linking in my own malloc()/free() and having the entire system use it.
Being able to replace the use of a libc function for *all* running of a
program is a very useful thing.
-- David (obrien at FreeBSD.org)
More information about the cvs-all