Subject: CVS commit: src/sys/lib/libkern
To: None <source-changes@netbsd.org>
From: Steve Woodford <scw@netbsd.org>
List: source-changes
Date: 04/08/2003 00:04:20
Module Name: src
Committed By: scw
Date: Mon Apr 7 21:04:20 UTC 2003
Modified Files:
src/sys/lib/libkern: bcopy.c
Log Message:
When MEMCOPY is defined, don't bother checking if a backwards-copy is
required. That's what memmove() is for.
This should fix port-powerpc/16889. The backwards copyin can confuse
uiomove/genfs_getpages, resulting in corruption of files written over NFS.
To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/sys/lib/libkern/bcopy.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.