Hi tech@,

Update inaccurate comment: rasops_copycols() doesn't use bcopy()
anymore, but either memmove() or slow_bcopy().

Comments? OK?

Index: sys/dev/rasops/rasops.c
===================================================================
RCS file: /cvs/src/sys/dev/rasops/rasops.c,v
retrieving revision 1.45
diff -u -p -r1.45 rasops.c
--- sys/dev/rasops/rasops.c     16 May 2017 02:22:51 -0000      1.45
+++ sys/dev/rasops/rasops.c     1 Aug 2017 21:32:14 -0000
@@ -660,8 +660,8 @@ rasops_copyrows(void *cookie, int src, i
 /*
  * Copy columns. This is slow, and hard to optimize due to alignment,
  * and the fact that we have to copy both left->right and right->left.
- * We simply cop-out here and use bcopy(), since it handles all of
- * these cases anyway.
+ * We simply cop-out here and use either memmove() or slow_bcopy(),
+ * since they handle all of these cases anyway.
  */
 int
 rasops_copycols(void *cookie, int row, int src, int dst, int num)

Reply via email to