Piotr Caban : msvcrt: Don't forward memmove to ntdll.
Alexandre Julliard
julliard at winehq.org
Tue Sep 17 15:25:54 CDT 2013
Module: wine
Branch: master
Commit: 5b1f7f85494fb6ad4c2e781558864bd9018641eb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5b1f7f85494fb6ad4c2e781558864bd9018641eb
Author: Piotr Caban <piotr at codeweavers.com>
Date: Tue Sep 17 14:45:11 2013 +0200
msvcrt: Don't forward memmove to ntdll.
---
dlls/msvcrt/msvcrt.spec | 2 +-
dlls/msvcrt/string.c | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/dlls/msvcrt/msvcrt.spec b/dlls/msvcrt/msvcrt.spec
index 93c09ce..79124c5 100644
--- a/dlls/msvcrt/msvcrt.spec
+++ b/dlls/msvcrt/msvcrt.spec
@@ -1373,7 +1373,7 @@
@ cdecl memcmp(ptr ptr long) MSVCRT_memcmp
@ cdecl memcpy(ptr ptr long) MSVCRT_memcpy
@ cdecl memcpy_s(ptr long ptr long)
-@ cdecl memmove(ptr ptr long) ntdll.memmove
+@ cdecl memmove(ptr ptr long) MSVCRT_memmove
@ cdecl memmove_s(ptr long ptr long)
@ cdecl memset(ptr long long) MSVCRT_memset
@ cdecl mktime(ptr) MSVCRT_mktime
diff --git a/dlls/msvcrt/string.c b/dlls/msvcrt/string.c
index b6a51b6..645cc03 100644
--- a/dlls/msvcrt/string.c
+++ b/dlls/msvcrt/string.c
@@ -1610,6 +1610,14 @@ void * __cdecl MSVCRT_memcpy(void *dst, const void *src, MSVCRT_size_t n)
}
/*********************************************************************
+ * memmove (MSVCRT.@)
+ */
+void * __cdecl MSVCRT_memmove(void *dst, const void *src, MSVCRT_size_t n)
+{
+ return memmove(dst, src, n);
+}
+
+/*********************************************************************
* memset (MSVCRT.@)
*/
void* __cdecl MSVCRT_memset(void *dst, int c, MSVCRT_size_t n)
More information about the wine-cvs
mailing list