From owner-cvs-all@FreeBSD.ORG Tue Apr 29 17:20:21 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30E8637B408; Tue, 29 Apr 2003 17:20:21 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 751A043FCB; Tue, 29 Apr 2003 17:20:19 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.9/8.12.9) with ESMTP id h3U0KFm2001460; Tue, 29 Apr 2003 17:20:15 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.9/8.12.9/Submit) id h3U0KE7w001459; Tue, 29 Apr 2003 17:20:14 -0700 (PDT) Date: Tue, 29 Apr 2003 17:20:14 -0700 From: "David O'Brien" To: Dag-Erling Smorgrav Message-ID: <20030430002014.GA1190@dragon.nuxi.com> References: <200304292113.h3TLDoGF072965@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: Jacques Vidrine cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: 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 ... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2003 00:20:21 -0000 On Tue, Apr 29, 2003 at 11:49:09PM +0200, Dag-Erling Smorgrav wrote: > Jacques Vidrine 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 > libc... 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@FreeBSD.org)