Address the splint warning due to not recognising strlcat().

This commit is contained in:
Andrew Wood
2026-03-08 11:23:08 +00:00
parent 9566e7d7ea
commit d28d2f3155
+2
View File
@@ -86,7 +86,9 @@ size_t pv_strlcat(char *dst, const char *src, size_t dstsize)
#ifdef HAVE_STRLCAT
size_t result;
/*@-unrecog@ *//* splint doesn't recognise strlcat. */
result = strlcat(dst, src, dstsize);
/*@+unrecog@ */
if ((NULL != dst) && (dstsize > 0))
dst[dstsize - 1] = '\0';