Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Dec 2008 16:55:20 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Konstantin Belousov <kib@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r185690 - head/lib/libc/string
Message-ID:  <87iqpxl5ev.fsf@kobe.laptop>
In-Reply-To: <200812060937.mB69bs2w089432@svn.freebsd.org> (Konstantin Belousov's message of "Sat, 6 Dec 2008 09:37:54 %2B0000 (UTC)")
References:  <200812060937.mB69bs2w089432@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 6 Dec 2008 09:37:54 +0000 (UTC), Konstantin Belousov <kib@freebsd.org> 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 :)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87iqpxl5ev.fsf>