Re: [PATCH] docs: stop suggesting strlcpy

From: Jonathan Corbet
Date: Thu Jun 20 2019 - 16:09:41 EST


On Thu, 13 Jun 2019 18:25:48 +0200
Stephen Kitt <steve@xxxxxxx> wrote:

> Since strlcpy is deprecated, the documentation shouldn't suggest using
> it. This patch fixes the examples to use strscpy instead. It also uses
> sizeof instead of underlying constants as far as possible, to simplify
> future changes to the corresponding data structures.
>
> Signed-off-by: Stephen Kitt <steve@xxxxxxx>

Applied, thanks.

jon