On Sat, Dec 17, 2011 at 01:19:07AM +0000, Dimitry Andric wrote:
> Log:
>   In sbin/dhclient, work around warnings about the size argument to
>   strlcpy appearing to be the size of the source buffer, instead of the
>   destination.

If you touch this and don't want to use strdup-like functions, at least
make it a memcpy. strlcpy is very crappy from a performance PoV...

Joerg
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to