On Thu, 17 Oct 2024 at 06:41, Thomas Huth <th...@redhat.com> wrote: > > On 16/10/2024 18.22, Daniel P. Berrangé wrote: > > On Wed, Oct 16, 2024 at 06:07:12PM +0200, Thomas Huth wrote: > >> The linker on OpenBSD complains: > >> > >> ld: warning: dirtyrate.c:447 (../src/migration/dirtyrate.c:447)(...): > >> warning: strcpy() is almost always misused, please use strlcpy() > > > > Is that the only place it complains ? We use 'strcpy' in almost > > 100 places across the codebase.... > > There are only a fistful of other warnings. I guess most of the spots are > turned into inlined code by the compiler, so the linker never sees those > other occurrences.
>From my vm-build-openbsd buildlog: $ < /tmp/par0L_eB.par grep 'almost always misused'| wc -l 305 (I've had these in my "ignore this type of warning" filter for grepping the build logs for years.) -- PMM