svn commit: r185690 - head/lib/libc/string

Giorgos Keramidas keramida at ceid.upatras.gr
Sat Dec 6 06:55:32 PST 2008


On Sat, 6 Dec 2008 09:37:54 +0000 (UTC), Konstantin Belousov <kib at 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 :)



More information about the svn-src-head mailing list