On Mon, Sep 28, 2020 at 10:06:55AM -0500, Kyle Evans wrote:
> I would be tempted to just revert the rest of the local modifications
> (sans negative check, maybe) and widen it in the one spot that the
> compiler complains about:
> 
> -                     if (strlcpy(buf, execpath, buflen_) >= buflen_)
> +                     if (strlcpy(buf, execpath, buflen) >= (size_t)buflen)
> 
> I had expressed this in the review, but with no particular conviction.
If this is the only place where the warning occurs, IMO it would be quite
good to reduce the change.
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to