Author: ion
Date: Fri Sep 1 07:15:32 2006
New Revision: 23853
URL:
http://svn.reactos.org/svn/reactos?rev=23853&view=rev
Log:
- Fix bug in RtlZero, Fill, Move memory where the last 1-3 bytes weren't being
copied.
Modified:
trunk/reactos/lib/rtl/i386/rtlmem.s
Modified: trunk/reactos/lib/rtl/i386/rtlmem.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/i386/rtlmem.s?rev=…
==============================================================================
--- trunk/reactos/lib/rtl/i386/rtlmem.s (original)
+++ trunk/reactos/lib/rtl/i386/rtlmem.s Fri Sep 1 07:15:32 2006
@@ -122,7 +122,7 @@
/* Do the fill */
rep stosd
- or ecx, ecx
+ or ecx, edx
jnz ByteFill
/* Return */
@@ -200,7 +200,7 @@
/* Do the fill */
rep stosd
- or ecx, ecx
+ or ecx, edx
jnz ByteZero
/* Return */
@@ -239,7 +239,7 @@
/* Do the move */
rep movsd
- or ecx, ecx
+ or ecx, edx
jnz ByteMove
/* Return */