From owner-cvs-all Wed Dec 20 4:30:38 2000 From owner-cvs-all@FreeBSD.ORG Wed Dec 20 04:30:34 2000 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.189]) by hub.freebsd.org (Postfix) with SMTP id 7C23E37B402 for ; Wed, 20 Dec 2000 04:30:30 -0800 (PST) Received: (qmail 6421 invoked by uid 1000); 20 Dec 2000 12:29:34 -0000 Date: Wed, 20 Dec 2000 14:29:34 +0200 From: Peter Pentchev To: Warner Losh , Assar Westerlund , Dag-Erling Smorgrav , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/libkern strlcat.c strlcpy.c src/sys/sys libkern.h src/sys/conf files Message-ID: <20001220142934.I644@ringworld.oblivion.bg> Mail-Followup-To: Warner Losh , Assar Westerlund , Dag-Erling Smorgrav , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200012180408.eBI48wg99879@freefall.freebsd.org> <5l66khluty.fsf@assaris.sics.se> <5lsnnlkcf7.fsf@assaris.sics.se> <5l4s01ka92.fsf@assaris.sics.se> <200012181724.KAA91757@harmony.village.org> <20001219081616.D54775@gsmx07.alcatel.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001219081616.D54775@gsmx07.alcatel.com.au>; from peter.jeremy@alcatel.com.au on Tue, Dec 19, 2000 at 08:16:16AM +1100 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Dec 19, 2000 at 08:16:16AM +1100, Peter Jeremy wrote: > On 2000-Dec-18 10:24:28 -0700, Warner Losh wrote: > > The one in libc is known to > >be good and not have any bugs, so why reinvent it for the kernel? > > I'd go further and say that unless there is a compelling reason > otherwise, libkern should always use the code in libc (or vice versa). > It's a pity that our source structure doesn't allow us to use the > same file (you can checkout and build the kernel without installing ^^^^^^^^^^^^^^^^ > the userland sources). Hmm.. quite off-topic, but - is this so on -current? (I'll be able to test this in a matter of hours, refetching my -current source tree) It most definitely is NOT correct for 4-stable - the kernel build requires 'nm' (IIRC) from /usr/obj; if not 'nm', then something else from the build toolchain. G'luck, Peter -- If I were you, who would be reading this sentence? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message