You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On NetBSD 9.99.17 with gcc 8, pkgin does not compile:
--- tools.o ---
In file included from /usr/include/string.h:127,
from /scratch/pkgtools/pkgin/work/libnbcompat/nbcompat/string.h:36,
from /scratch/pkgtools/pkgin/work/libnbcompat/nbcompat.h:62,
from tools.h:37,
from tools.c:30:
tools.c: In function 'strreplace':
tools.c:170:4: error: '__builtin___strncat_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Werror=str
ingop-truncation]
strncat(buf, to, tolen);
^~~~~~~
tools.c:166:10: note: length computed here
tolen = strlen(to);
^~~~~~~~~~
Please fix :)
Thanks.
The text was updated successfully, but these errors were encountered:
On NetBSD 9.99.17 with gcc 8, pkgin does not compile:
Please fix :)
Thanks.
The text was updated successfully, but these errors were encountered: