On Sat, 14 May 2016 12:44:33 -0400, "Ted Unangst" wrote:

> Mark Kettenis wrote:
> > CVSROOT:    /cvs
> > Module name:        src
> > Changes by: kette...@cvs.openbsd.org        2016/05/14 08:24:54
> > 
> > Modified files:
> >     lib/libkvm     : kvm.c 
> > 
> > Log message:
> > Revert previous commit.  Converting bcopy into memcpy is never safe when
> > there is a big fat comment saying "Avoid alignment issues" immediately
> > above them.
> 
> what? memcpy works on unaligned memory just fine.

Not when the compiler converts it to word-aligned copies, which
it seems to be doing.

 - todd

Reply via email to