[PATCH] Make strlcpy/strlcat slightly easier to read.
guillem at hadrons.org
Wed May 31 04:44:23 UTC 2017
[ Sorry for the huge delay! See my reply to the libmd patchset for why. ]
On Mon, 2016-06-27 at 09:21:43 +0200, Igor Gnatenko wrote:
> Backport new changes from OpenBSD.
> References: https://svnweb.freebsd.org/base?view=revision&revision=281135
> Signed-off-by: Igor Gnatenko <i.gnatenko.brain at gmail.com>
Thanks, I'll merge this to keep the implementation in sync for now.
And even though the new variables names are indeed a bit more clear,
I think the function could be made much more clear. But I've been
postponing doing that until there are unit tests covering the them. :)
More information about the libbsd