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
b5d1d8e2
Commit
b5d1d8e2
authored
May 12, 2011
by
Piotr Caban
Committed by
Alexandre Julliard
May 12, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Added _strnicoll_l implementation.
parent
d32bc75a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
2 deletions
+22
-2
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+2
-2
string.c
dlls/msvcrt/string.c
+20
-0
No files found.
dlls/msvcrt/msvcrt.spec
View file @
b5d1d8e2
...
@@ -938,8 +938,8 @@
...
@@ -938,8 +938,8 @@
@ cdecl _strncoll_l(str str long ptr) MSVCRT_strncoll
@ cdecl _strncoll_l(str str long ptr) MSVCRT_strncoll
@ cdecl _strnicmp(str str long) ntdll._strnicmp
@ cdecl _strnicmp(str str long) ntdll._strnicmp
# stub _strnicmp_l(str str long ptr)
# stub _strnicmp_l(str str long ptr)
@
stub _strnicoll(str str long)
@
cdecl _strnicoll(str str long) MSVCRT__strnicoll
# stub _strnicoll_l(str str long ptr)
@ cdecl _strnicoll_l(str str long ptr) MSVCRT__strnicoll_l
@ cdecl _strnset(str long long) MSVCRT__strnset
@ cdecl _strnset(str long long) MSVCRT__strnset
# stub _strnset_s(str long long long)
# stub _strnset_s(str long long long)
@ cdecl _strrev(str)
@ cdecl _strrev(str)
...
...
dlls/msvcrt/string.c
View file @
b5d1d8e2
...
@@ -586,6 +586,26 @@ int CDECL MSVCRT_strncoll( const char* str1, const char* str2, MSVCRT_size_t cou
...
@@ -586,6 +586,26 @@ int CDECL MSVCRT_strncoll( const char* str1, const char* str2, MSVCRT_size_t cou
}
}
/*********************************************************************
/*********************************************************************
* _strnicoll_l (MSVCRT.@)
*/
int
CDECL
MSVCRT__strnicoll_l
(
const
char
*
str1
,
const
char
*
str2
,
MSVCRT_size_t
count
,
MSVCRT__locale_t
locale
)
{
if
(
!
locale
)
locale
=
get_locale
();
return
CompareStringA
(
locale
->
locinfo
->
lc_handle
[
MSVCRT_LC_CTYPE
],
NORM_IGNORECASE
,
str1
,
count
,
str2
,
count
)
-
2
;
}
/*********************************************************************
* _strnicoll (MSVCRT.@)
*/
int
CDECL
MSVCRT__strnicoll
(
const
char
*
str1
,
const
char
*
str2
,
MSVCRT_size_t
count
)
{
return
MSVCRT__strnicoll_l
(
str1
,
str2
,
count
,
NULL
);
}
/*********************************************************************
* strcpy_s (MSVCRT.@)
* strcpy_s (MSVCRT.@)
*/
*/
int
CDECL
MSVCRT_strcpy_s
(
char
*
dst
,
MSVCRT_size_t
elem
,
const
char
*
src
)
int
CDECL
MSVCRT_strcpy_s
(
char
*
dst
,
MSVCRT_size_t
elem
,
const
char
*
src
)
...
...
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