git: strlcpy.3: Use OpenBSD's revamped description of strlcpy and strlcat.
Sascha Wildner
swildner at crater.dragonflybsd.org
Mon Nov 4 11:34:31 PST 2013
commit 2689585aac97314fe18dbf2b045cf2e30254da18
Author: Sascha Wildner <saw at online.de>
Date: Mon Nov 4 20:21:30 2013 +0100
strlcpy.3: Use OpenBSD's revamped description of strlcpy and strlcat.
This is FreeBSD's r257646.
Submitted-by: Eitan Adler <eadler at freebsd.org>
From their commit msg:
This explanation is supposed to be simpler and better. In particular
"comparing it to the snprintf API provides lots of value, since it raises the
bar on understanding, so that programmers/auditors will a better job calling
all 3 of these functions."
Summary of changes:
lib/libc/string/strlcpy.3 | 131 ++++++++++++++++++++++------------------------
1 file changed, 63 insertions(+), 68 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2689585aac97314fe18dbf2b045cf2e30254da18
--
DragonFly BSD source repository
More information about the Commits
mailing list