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
4fbf2462
Commit
4fbf2462
authored
Sep 17, 2013
by
Piotr Caban
Committed by
Alexandre Julliard
Sep 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Don't forward memcmp to ntdll.
parent
208eae73
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
string.c
dlls/msvcrt/string.c
+10
-2
No files found.
dlls/msvcrt/msvcrt.spec
View file @
4fbf2462
...
...
@@ -1370,7 +1370,7 @@
@ cdecl mbstowcs_s(ptr ptr long str long) MSVCRT__mbstowcs_s
@ cdecl mbtowc(ptr str long) MSVCRT_mbtowc
@ cdecl memchr(ptr long long) MSVCRT_memchr
@ cdecl memcmp(ptr ptr long)
ntdll.
memcmp
@ 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
...
...
dlls/msvcrt/string.c
View file @
4fbf2462
...
...
@@ -1594,11 +1594,19 @@ int CDECL MSVCRT_I10_OUTPUT(MSVCRT__LDOUBLE ld80, int prec, int flag, struct _I1
#undef I10_OUTPUT_MAX_PREC
/*********************************************************************
* memcmp (MSVCRT.@)
*/
int
__cdecl
MSVCRT_memcmp
(
const
void
*
ptr1
,
const
void
*
ptr2
,
MSVCRT_size_t
n
)
{
return
memcmp
(
ptr1
,
ptr2
,
n
);
}
/*********************************************************************
* memcpy (MSVCRT.@)
*/
void
*
__cdecl
MSVCRT_memcpy
(
void
*
dst
,
const
void
*
src
,
size_t
n
)
void
*
__cdecl
MSVCRT_memcpy
(
void
*
dst
,
const
void
*
src
,
MSVCRT_size_t
n
)
{
return
memmove
(
dst
,
src
,
n
);
return
memmove
(
dst
,
src
,
n
);
}
/*********************************************************************
...
...
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