Module Name:    src
Committed By:   tsutsui
Date:           Sat Apr 18 16:20:43 UTC 2009

Modified Files:
        src/sys/arch/hp300/dev: itevar.h

Log Message:
bcopy -> memmove (where possibly overwrapped)


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/hp300/dev/itevar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hp300/dev/itevar.h
diff -u src/sys/arch/hp300/dev/itevar.h:1.28 src/sys/arch/hp300/dev/itevar.h:1.29
--- src/sys/arch/hp300/dev/itevar.h:1.28	Wed Mar 18 16:00:11 2009
+++ src/sys/arch/hp300/dev/itevar.h	Sat Apr 18 16:20:43 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: itevar.h,v 1.28 2009/03/18 16:00:11 cegger Exp $	*/
+/*	$NetBSD: itevar.h,v 1.29 2009/04/18 16:20:43 tsutsui Exp $	*/
 
 /*
  * Copyright (c) 1990, 1993
@@ -145,9 +145,9 @@
 	memset(ip->attrbuf + ((sy) * ip->cols) + (sx), 0, (h) * (w))
 
 #define attrmov(ip, sy, sx, dy, dx, h, w) \
-	bcopy(ip->attrbuf + ((sy) * ip->cols) + (sx), \
-	      ip->attrbuf + ((dy) * ip->cols) + (dx), \
-	      (h) * (w))
+	memmove(ip->attrbuf + ((dy) * ip->cols) + (dx), \
+	        ip->attrbuf + ((sy) * ip->cols) + (sx), \
+	        (h) * (w))
 
 #define attrtest(ip, attr) \
 	((* (u_char *) attrloc(ip, ip->cury, ip->curx)) & attr)

Reply via email to