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 OpenBSD, strcpy causes an error message output that recommends the
use of strlcpy[0]. Here, the result was that this output became part of
the generated program code, causing gofmt to fail and create an empty
zerrors_openbsd_GOARCH.go file.
An ifdef guard has been added within the C code which uses the desired
strlcpy function under OpenBSD. Other operating systems continue to use
strcpy.
[0] https://github.com/openbsd/src/blob/958bc3ae91838214c6d3bb7efc272663a5df7b01/lib/libc/string/strcpy.c#L34-L37
0 commit comments