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
dafa7611
Commit
dafa7611
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 _wcscoll_l implementation.
parent
2467c06a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
7 deletions
+21
-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
+16
-2
No files found.
dlls/msvcr100/msvcr100.spec
View file @
dafa7611
...
...
@@ -1477,7 +1477,7 @@
@ cdecl _wchmod(wstr long) msvcrt._wchmod
@ extern _wcmdln msvcrt._wcmdln
@ cdecl _wcreat(wstr long) msvcrt._wcreat
@
stub
_wcscoll_l
@
cdecl _wcscoll_l(wstr wstr ptr) msvcrt.
_wcscoll_l
@ cdecl _wcsdup(wstr) msvcrt._wcsdup
@ cdecl _wcserror(long) msvcrt._wcserror
@ cdecl _wcserror_s(ptr long long) msvcrt._wcserror_s
...
...
dlls/msvcr110/msvcr110.spec
View file @
dafa7611
...
...
@@ -1840,7 +1840,7 @@
@ extern _wcmdln msvcrt._wcmdln
@ cdecl _wcreat(wstr long) msvcrt._wcreat
@ stub _wcreate_locale
@
stub
_wcscoll_l
@
cdecl _wcscoll_l(wstr wstr ptr) msvcrt.
_wcscoll_l
@ cdecl _wcsdup(wstr) msvcrt._wcsdup
@ cdecl _wcserror(long) msvcrt._wcserror
@ cdecl _wcserror_s(ptr long long) msvcrt._wcserror_s
...
...
dlls/msvcr80/msvcr80.spec
View file @
dafa7611
...
...
@@ -1137,7 +1137,7 @@
@ cdecl _wchmod(wstr long) msvcrt._wchmod
@ extern _wcmdln msvcrt._wcmdln
@ cdecl _wcreat(wstr long) msvcrt._wcreat
@
stub
_wcscoll_l
@
cdecl _wcscoll_l(wstr wstr ptr) msvcrt.
_wcscoll_l
@ cdecl _wcsdup(wstr) msvcrt._wcsdup
@ cdecl _wcserror(long) msvcrt._wcserror
@ cdecl _wcserror_s(ptr long long) msvcrt._wcserror_s
...
...
dlls/msvcr90/msvcr90.spec
View file @
dafa7611
...
...
@@ -1131,7 +1131,7 @@
@ cdecl _wchmod(wstr long) msvcrt._wchmod
@ extern _wcmdln msvcrt._wcmdln
@ cdecl _wcreat(wstr long) msvcrt._wcreat
@
stub
_wcscoll_l
@
cdecl _wcscoll_l(wstr wstr ptr) msvcrt.
_wcscoll_l
@ cdecl _wcsdup(wstr) msvcrt._wcsdup
@ cdecl _wcserror(long) msvcrt._wcserror
@ cdecl _wcserror_s(ptr long long) msvcrt._wcserror_s
...
...
dlls/msvcrt/msvcrt.spec
View file @
dafa7611
...
...
@@ -1095,7 +1095,7 @@
@ cdecl _wchmod(wstr long) MSVCRT__wchmod
@ extern _wcmdln MSVCRT__wcmdln
@ cdecl _wcreat(wstr long) MSVCRT__wcreat
# stub _wcscoll_l(wstr wstr ptr)
@ cdecl _wcscoll_l(wstr wstr ptr) MSVCRT__wcscoll_l
@ cdecl _wcsdup(wstr) MSVCRT__wcsdup
# stub _wcsdup_dbg(wstr long str long)
@ cdecl _wcserror(long) MSVCRT__wcserror
...
...
dlls/msvcrt/wcs.c
View file @
dafa7611
...
...
@@ -1038,12 +1038,26 @@ int CDECL MSVCRT_swprintf_p_l(MSVCRT_wchar_t *buffer, MSVCRT_size_t length,
}
/*********************************************************************
* _wcscoll_l (MSVCRT.@)
*/
int
CDECL
MSVCRT__wcscoll_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
],
0
,
str1
,
-
1
,
str2
,
-
1
)
-
CSTR_EQUAL
;
}
/*********************************************************************
* wcscoll (MSVCRT.@)
*/
int
CDECL
MSVCRT_wcscoll
(
const
MSVCRT_wchar_t
*
str1
,
const
MSVCRT_wchar_t
*
str2
)
{
return
CompareStringW
(
get_locinfo
()
->
lc_handle
[
MSVCRT_LC_COLLATE
],
0
,
str1
,
-
1
,
str2
,
-
1
)
-
CSTR_EQUAL
;
return
MSVCRT__wcscoll_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