svn commit: r367689 - head/lib/libutil

Jessica Clarke jrtc27 at freebsd.org
Sat Nov 14 19:46:49 UTC 2020


On 14 Nov 2020, at 19:04, Scott Long <scottl at FreeBSD.org> wrote:
> @@ -66,10 +67,16 @@ getlocalbase(char *path, size_t pathlen)
> #endif
> 
> 	tmplen = strlcpy(path, tmppath, pathlen);
> -	if ((tmplen < 0) || (tmplen >= (ssize_t)pathlen)) {
> +	if ((tmplen < 0) || (tmplen >= pathlen)) {

I'd expect the LHS to give a compiler warning still.

Jess



More information about the svn-src-head mailing list