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
2f425fb8
Commit
2f425fb8
authored
Mar 29, 2013
by
Jactry Zeng
Committed by
Alexandre Julliard
Mar 29, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Added _wcsncoll and _wcsncoll_l implementation.
parent
95daa45d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
6 deletions
+30
-6
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+1
-1
msvcr110.spec
dlls/msvcr110/msvcr110.spec
+1
-1
msvcr80.spec
dlls/msvcr80/msvcr80.spec
+1
-1
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+1
-1
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+2
-2
wcs.c
dlls/msvcrt/wcs.c
+24
-0
No files found.
dlls/msvcr100/msvcr100.spec
View file @
2f425fb8
...
...
@@ -1491,7 +1491,7 @@
@ cdecl _wcslwr_s(wstr long) msvcrt._wcslwr_s
@ stub _wcslwr_s_l
@ cdecl _wcsncoll(wstr wstr long) msvcrt._wcsncoll
@
stub
_wcsncoll_l
@
cdecl _wcsncoll_l(wstr wstr long ptr) msvcrt.
_wcsncoll_l
@ cdecl _wcsnicmp(wstr wstr long) msvcrt._wcsnicmp
@ stub _wcsnicmp_l
@ cdecl _wcsnicoll(wstr wstr long) msvcrt._wcsnicoll
...
...
dlls/msvcr110/msvcr110.spec
View file @
2f425fb8
...
...
@@ -1854,7 +1854,7 @@
@ cdecl _wcslwr_s(wstr long) msvcrt._wcslwr_s
@ stub _wcslwr_s_l
@ cdecl _wcsncoll(wstr wstr long) msvcrt._wcsncoll
@
stub
_wcsncoll_l
@
cdecl _wcsncoll_l(wstr wstr long ptr) msvcrt.
_wcsncoll_l
@ cdecl _wcsnicmp(wstr wstr long) msvcrt._wcsnicmp
@ stub _wcsnicmp_l
@ cdecl _wcsnicoll(wstr wstr long) msvcrt._wcsnicoll
...
...
dlls/msvcr80/msvcr80.spec
View file @
2f425fb8
...
...
@@ -1151,7 +1151,7 @@
@ cdecl _wcslwr_s(wstr long) msvcrt._wcslwr_s
@ stub _wcslwr_s_l
@ cdecl _wcsncoll(wstr wstr long) msvcrt._wcsncoll
@
stub
_wcsncoll_l
@
cdecl _wcsncoll_l(wstr wstr long ptr) msvcrt.
_wcsncoll_l
@ cdecl _wcsnicmp(wstr wstr long) msvcrt._wcsnicmp
@ stub _wcsnicmp_l
@ cdecl _wcsnicoll(wstr wstr long) msvcrt._wcsnicoll
...
...
dlls/msvcr90/msvcr90.spec
View file @
2f425fb8
...
...
@@ -1145,7 +1145,7 @@
@ cdecl _wcslwr_s(wstr long) msvcrt._wcslwr_s
@ stub _wcslwr_s_l
@ cdecl _wcsncoll(wstr wstr long) msvcrt._wcsncoll
@
stub
_wcsncoll_l
@
cdecl _wcsncoll_l(wstr wstr long ptr) msvcrt.
_wcsncoll_l
@ cdecl _wcsnicmp(wstr wstr long) msvcrt._wcsnicmp
@ stub _wcsnicmp_l
@ cdecl _wcsnicoll(wstr wstr long) msvcrt._wcsnicoll
...
...
dlls/msvcrt/msvcrt.spec
View file @
2f425fb8
...
...
@@ -1109,8 +1109,8 @@
# stub _wcslwr_l(wstr ptr)
@ cdecl _wcslwr_s(wstr long) MSVCRT__wcslwr_s
# stub _wcslwr_s_l(wstr long ptr)
@
stub _wcsncoll(wstr wstr long)
# stub _wcsncoll_l(wstr wstr long ptr)
@
cdecl _wcsncoll(wstr wstr long) MSVCRT__wcsncoll
@ cdecl _wcsncoll_l(wstr wstr long ptr) MSVCRT__wcsncoll_l
@ cdecl _wcsnicmp(wstr wstr long) ntdll._wcsnicmp
# stub _wcsnicmp_l(wstr wstr long ptr)
@ cdecl _wcsnicoll(wstr wstr long) MSVCRT__wcsnicoll
...
...
dlls/msvcrt/wcs.c
View file @
2f425fb8
...
...
@@ -199,6 +199,30 @@ int CDECL MSVCRT__wcslwr_s( MSVCRT_wchar_t* str, MSVCRT_size_t n )
}
/*********************************************************************
* _wcsncoll_l (MSVCRT.@)
*/
int
CDECL
MSVCRT__wcsncoll_l
(
const
MSVCRT_wchar_t
*
str1
,
const
MSVCRT_wchar_t
*
str2
,
MSVCRT_size_t
count
,
MSVCRT__locale_t
locale
)
{
MSVCRT_pthreadlocinfo
locinfo
;
if
(
!
locale
)
locinfo
=
get_locinfo
();
else
locinfo
=
locale
->
locinfo
;
return
CompareStringW
(
locinfo
->
lc_handle
[
MSVCRT_LC_COLLATE
],
0
,
str1
,
count
,
str2
,
count
)
-
CSTR_EQUAL
;
}
/*********************************************************************
* _wcsncoll (MSVCRT.@)
*/
int
CDECL
MSVCRT__wcsncoll
(
const
MSVCRT_wchar_t
*
str1
,
const
MSVCRT_wchar_t
*
str2
,
MSVCRT_size_t
count
)
{
return
MSVCRT__wcsncoll_l
(
str1
,
str2
,
count
,
NULL
);
}
/*********************************************************************
* _wcstod_l (MSVCRT.@)
*/
double
CDECL
MSVCRT__wcstod_l
(
const
MSVCRT_wchar_t
*
str
,
MSVCRT_wchar_t
**
end
,
...
...
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