Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
2a192064
Commit
2a192064
authored
Jan 24, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: memcpy should behave like memmove in ntdll too.
parent
a1544e0d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
ntdll.spec
dlls/ntdll/ntdll.spec
+1
-1
string.c
dlls/ntdll/string.c
+13
-0
No files found.
dlls/msvcrt/msvcrt.spec
View file @
2a192064
...
...
@@ -666,7 +666,7 @@
@ cdecl mbtowc(wstr str long) MSVCRT_mbtowc
@ cdecl memchr(ptr long long) ntdll.memchr
@ cdecl memcmp(ptr ptr long) ntdll.memcmp
@ cdecl memcpy(ptr ptr long) ntdll.mem
move #sic
@ cdecl memcpy(ptr ptr long) ntdll.mem
cpy
@ cdecl memmove(ptr ptr long) ntdll.memmove
@ cdecl memset(ptr long long) ntdll.memset
@ cdecl mktime(ptr) MSVCRT_mktime
...
...
dlls/ntdll/ntdll.spec
View file @
2a192064
...
...
@@ -1308,7 +1308,7 @@
@ cdecl -private mbstowcs(ptr str long) NTDLL_mbstowcs
@ cdecl -private memchr(ptr long long)
@ cdecl -private memcmp(ptr ptr long)
@ cdecl -private memcpy(ptr ptr long)
@ cdecl -private memcpy(ptr ptr long)
NTDLL_memcpy
@ cdecl -private memmove(ptr ptr long)
@ cdecl -private memset(ptr long long)
@ cdecl -private pow(double double)
...
...
dlls/ntdll/string.c
View file @
2a192064
...
...
@@ -21,6 +21,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <ctype.h>
#include <stdarg.h>
...
...
@@ -62,6 +63,18 @@ INT __cdecl NTDLL__memicmp( LPCSTR s1, LPCSTR s2, DWORD len )
/*********************************************************************
* memcpy (NTDLL.@)
*
* NOTES
* Behaves like memmove.
*/
void
*
__cdecl
NTDLL_memcpy
(
void
*
dst
,
const
void
*
src
,
size_t
n
)
{
return
memmove
(
dst
,
src
,
n
);
}
/*********************************************************************
* _strupr (NTDLL.@)
*
* Convert a string to upper case.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment