[ros-diffs] [cgutman] 45347: - ovbcopy is used when the source address and destination address overlap so defining it to memcpy was a horrible idea

cgutman at svn.reactos.org cgutman at svn.reactos.org
Sat Jan 30 16:18:21 CET 2010


Author: cgutman
Date: Sat Jan 30 16:18:21 2010
New Revision: 45347

URL: http://svn.reactos.org/svn/reactos?rev=45347&view=rev
Log:
 - ovbcopy is used when the source address and destination address overlap so defining it to memcpy was a horrible idea

Modified:
    branches/aicom-network-branch/lib/drivers/oskittcp/include/oskitfreebsd.h

Modified: branches/aicom-network-branch/lib/drivers/oskittcp/include/oskitfreebsd.h
URL: http://svn.reactos.org/svn/reactos/branches/aicom-network-branch/lib/drivers/oskittcp/include/oskitfreebsd.h?rev=45347&r1=45346&r2=45347&view=diff
==============================================================================
--- branches/aicom-network-branch/lib/drivers/oskittcp/include/oskitfreebsd.h [iso-8859-1] (original)
+++ branches/aicom-network-branch/lib/drivers/oskittcp/include/oskitfreebsd.h [iso-8859-1] Sat Jan 30 16:18:21 2010
@@ -14,7 +14,7 @@
 
 #define printf DbgPrint
 #define vprintf DbgVPrint
-#define ovbcopy(x,y,z) bcopy(x,y,z)
+#define ovbcopy(src,dst,n) memmove(dst,src,n)
 #define bzero(x,y) memset(x,0,y)
 #define bcopy(src,dst,n) memcpy(dst,src,n)
 #ifdef _MSC_VER




More information about the Ros-diffs mailing list