Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
5af20ef1
Commit
5af20ef1
authored
Mar 31, 2013
by
Jactry Zeng
Committed by
Alexandre Julliard
Apr 01, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Added _wcsnicoll_l implementation.
parent
d2763e43
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
7 deletions
+23
-7
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
+1
-1
wcs.c
dlls/msvcrt/wcs.c
+18
-2
No files found.
dlls/msvcr100/msvcr100.spec
View file @
5af20ef1
...
...
@@ -1495,7 +1495,7 @@
@ cdecl _wcsnicmp(wstr wstr long) msvcrt._wcsnicmp
@ stub _wcsnicmp_l
@ cdecl _wcsnicoll(wstr wstr long) msvcrt._wcsnicoll
@
stub
_wcsnicoll_l
@
cdecl _wcsnicoll_l(wstr wstr long ptr) msvcrt.
_wcsnicoll_l
@ cdecl _wcsnset(wstr long long) msvcrt._wcsnset
@ stub _wcsnset_s
@ cdecl _wcsrev(wstr) msvcrt._wcsrev
...
...
dlls/msvcr110/msvcr110.spec
View file @
5af20ef1
...
...
@@ -1858,7 +1858,7 @@
@ cdecl _wcsnicmp(wstr wstr long) msvcrt._wcsnicmp
@ stub _wcsnicmp_l
@ cdecl _wcsnicoll(wstr wstr long) msvcrt._wcsnicoll
@
stub
_wcsnicoll_l
@
cdecl _wcsnicoll_l(wstr wstr long ptr) msvcrt.
_wcsnicoll_l
@ cdecl _wcsnset(wstr long long) msvcrt._wcsnset
@ stub _wcsnset_s
@ cdecl _wcsrev(wstr) msvcrt._wcsrev
...
...
dlls/msvcr80/msvcr80.spec
View file @
5af20ef1
...
...
@@ -1155,7 +1155,7 @@
@ cdecl _wcsnicmp(wstr wstr long) msvcrt._wcsnicmp
@ stub _wcsnicmp_l
@ cdecl _wcsnicoll(wstr wstr long) msvcrt._wcsnicoll
@
stub
_wcsnicoll_l
@
cdecl _wcsnicoll_l(wstr wstr long ptr) msvcrt.
_wcsnicoll_l
@ cdecl _wcsnset(wstr long long) msvcrt._wcsnset
@ stub _wcsnset_s
@ cdecl _wcsrev(wstr) msvcrt._wcsrev
...
...
dlls/msvcr90/msvcr90.spec
View file @
5af20ef1
...
...
@@ -1149,7 +1149,7 @@
@ cdecl _wcsnicmp(wstr wstr long) msvcrt._wcsnicmp
@ stub _wcsnicmp_l
@ cdecl _wcsnicoll(wstr wstr long) msvcrt._wcsnicoll
@
stub
_wcsnicoll_l
@
cdecl _wcsnicoll_l(wstr wstr long ptr) msvcrt.
_wcsnicoll_l
@ cdecl _wcsnset(wstr long long) msvcrt._wcsnset
@ stub _wcsnset_s
@ cdecl _wcsrev(wstr) msvcrt._wcsrev
...
...
dlls/msvcrt/msvcrt.spec
View file @
5af20ef1
...
...
@@ -1114,7 +1114,7 @@
@ cdecl _wcsnicmp(wstr wstr long) ntdll._wcsnicmp
# stub _wcsnicmp_l(wstr wstr long ptr)
@ cdecl _wcsnicoll(wstr wstr long) MSVCRT__wcsnicoll
# stub _wcsnicoll_l(wstr wstr long ptr)
@ cdecl _wcsnicoll_l(wstr wstr long ptr) MSVCRT__wcsnicoll_l
@ cdecl _wcsnset(wstr long long) MSVCRT__wcsnset
# stub _wcsnset_s(wstr long long)
@ cdecl _wcsrev(wstr) MSVCRT__wcsrev
...
...
dlls/msvcrt/wcs.c
View file @
5af20ef1
...
...
@@ -102,12 +102,28 @@ INT CDECL MSVCRT__wcsicoll( const MSVCRT_wchar_t* str1, const MSVCRT_wchar_t* st
}
/*********************************************************************
* _wcsnicoll_l (MSVCRT.@)
*/
int
CDECL
MSVCRT__wcsnicoll_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
],
NORM_IGNORECASE
,
str1
,
count
,
str2
,
count
)
-
CSTR_EQUAL
;
}
/*********************************************************************
* _wcsnicoll (MSVCRT.@)
*/
INT
CDECL
MSVCRT__wcsnicoll
(
const
MSVCRT_wchar_t
*
str1
,
const
MSVCRT_wchar_t
*
str2
,
MSVCRT_size_t
count
)
{
return
CompareStringW
(
get_locinfo
()
->
lc_handle
[
MSVCRT_LC_COLLATE
],
NORM_IGNORECASE
,
str1
,
count
,
str2
,
count
)
-
CSTR_EQUAL
;
return
MSVCRT__wcsnicoll_l
(
str1
,
str2
,
count
,
NULL
);
}
/*********************************************************************
...
...
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