From owner-svn-src-head@FreeBSD.ORG Sat Dec 6 14:55:32 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0679F1065672; Sat, 6 Dec 2008 14:55:32 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 728178FC08; Sat, 6 Dec 2008 14:55:31 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl153-194.kln.forthnet.gr [62.1.244.194]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id mB6EtLaL017234 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 6 Dec 2008 16:55:27 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id mB6EtLhN036922; Sat, 6 Dec 2008 16:55:21 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id mB6EtKf5036921; Sat, 6 Dec 2008 16:55:20 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Konstantin Belousov References: <200812060937.mB69bs2w089432@svn.freebsd.org> Date: Sat, 06 Dec 2008 16:55:20 +0200 In-Reply-To: <200812060937.mB69bs2w089432@svn.freebsd.org> (Konstantin Belousov's message of "Sat, 6 Dec 2008 09:37:54 +0000 (UTC)") Message-ID: <87iqpxl5ev.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: mB6EtLaL017234 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.004, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.40, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r185690 - head/lib/libc/string X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Dec 2008 14:55:32 -0000 On Sat, 6 Dec 2008 09:37:54 +0000 (UTC), Konstantin Belousov wrote: > Author: kib > Date: Sat Dec 6 09:37:54 2008 > New Revision: 185690 > URL: http://svn.freebsd.org/changeset/base/185690 > > Log: > Import the strndup(3) function. > Copyright attribution is kept the same as in original NetBSD source. Varnish has a mostly equivalent function with a slightly more "free" 2-clause BSD copyright: http://varnish.projects.linpro.no/browser/trunk/varnish-cache/lib/libvarnishcompat/strndup.c Maybe it's worth switching to that function, so we can remove the 4th clause some time later :)