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
d2763e43
Commit
d2763e43
authored
Mar 30, 2013
by
Jactry Zeng
Committed by
Alexandre Julliard
Apr 01, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Added _wcsicoll_l implementation.
parent
dafa7611
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
7 deletions
+22
-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
+17
-2
No files found.
dlls/msvcr100/msvcr100.spec
View file @
d2763e43
...
...
@@ -1485,7 +1485,7 @@
@ cdecl _wcsicmp(wstr wstr) msvcrt._wcsicmp
@ stub _wcsicmp_l
@ cdecl _wcsicoll(wstr wstr) msvcrt._wcsicoll
@
stub
_wcsicoll_l
@
cdecl _wcsicoll_l(wstr wstr ptr) msvcrt.
_wcsicoll_l
@ cdecl _wcslwr(wstr) msvcrt._wcslwr
@ stub _wcslwr_l
@ cdecl _wcslwr_s(wstr long) msvcrt._wcslwr_s
...
...
dlls/msvcr110/msvcr110.spec
View file @
d2763e43
...
...
@@ -1848,7 +1848,7 @@
@ cdecl _wcsicmp(wstr wstr) msvcrt._wcsicmp
@ stub _wcsicmp_l
@ cdecl _wcsicoll(wstr wstr) msvcrt._wcsicoll
@
stub
_wcsicoll_l
@
cdecl _wcsicoll_l(wstr wstr ptr) msvcrt.
_wcsicoll_l
@ cdecl _wcslwr(wstr) msvcrt._wcslwr
@ stub _wcslwr_l
@ cdecl _wcslwr_s(wstr long) msvcrt._wcslwr_s
...
...
dlls/msvcr80/msvcr80.spec
View file @
d2763e43
...
...
@@ -1145,7 +1145,7 @@
@ cdecl _wcsicmp(wstr wstr) msvcrt._wcsicmp
@ stub _wcsicmp_l
@ cdecl _wcsicoll(wstr wstr) msvcrt._wcsicoll
@
stub
_wcsicoll_l
@
cdecl _wcsicoll_l(wstr wstr ptr) msvcrt.
_wcsicoll_l
@ cdecl _wcslwr(wstr) msvcrt._wcslwr
@ stub _wcslwr_l
@ cdecl _wcslwr_s(wstr long) msvcrt._wcslwr_s
...
...
dlls/msvcr90/msvcr90.spec
View file @
d2763e43
...
...
@@ -1139,7 +1139,7 @@
@ cdecl _wcsicmp(wstr wstr) msvcrt._wcsicmp
@ stub _wcsicmp_l
@ cdecl _wcsicoll(wstr wstr) msvcrt._wcsicoll
@
stub
_wcsicoll_l
@
cdecl _wcsicoll_l(wstr wstr ptr) msvcrt.
_wcsicoll_l
@ cdecl _wcslwr(wstr) msvcrt._wcslwr
@ stub _wcslwr_l
@ cdecl _wcslwr_s(wstr long) msvcrt._wcslwr_s
...
...
dlls/msvcrt/msvcrt.spec
View file @
d2763e43
...
...
@@ -1104,7 +1104,7 @@
@ cdecl _wcsicmp(wstr wstr) MSVCRT__wcsicmp
# stub _wcsicmp_l(wstr wstr ptr)
@ cdecl _wcsicoll(wstr wstr) MSVCRT__wcsicoll
# stub _wcsicoll_l(wstr wstr ptr)
@ cdecl _wcsicoll_l(wstr wstr ptr) MSVCRT__wcsicoll_l
@ cdecl _wcslwr(wstr) ntdll._wcslwr
# stub _wcslwr_l(wstr ptr)
@ cdecl _wcslwr_s(wstr long) MSVCRT__wcslwr_s
...
...
dlls/msvcrt/wcs.c
View file @
d2763e43
...
...
@@ -78,12 +78,27 @@ INT CDECL MSVCRT__wcsicmp( const MSVCRT_wchar_t* str1, const MSVCRT_wchar_t* str
}
/*********************************************************************
* _wcsicoll_l (MSVCRT.@)
*/
int
CDECL
MSVCRT__wcsicoll_l
(
const
MSVCRT_wchar_t
*
str1
,
const
MSVCRT_wchar_t
*
str2
,
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
,
-
1
,
str2
,
-
1
)
-
CSTR_EQUAL
;
}
/*********************************************************************
* _wcsicoll (MSVCRT.@)
*/
INT
CDECL
MSVCRT__wcsicoll
(
const
MSVCRT_wchar_t
*
str1
,
const
MSVCRT_wchar_t
*
str2
)
{
return
CompareStringW
(
get_locinfo
()
->
lc_handle
[
MSVCRT_LC_COLLATE
],
NORM_IGNORECASE
,
str1
,
-
1
,
str2
,
-
1
)
-
CSTR_EQUAL
;
return
MSVCRT__wcsicoll_l
(
str1
,
str2
,
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