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
ff7cf637
Commit
ff7cf637
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 _stricoll_l implementation.
parent
e07dbe2c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
11 deletions
+21
-11
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
string.c
dlls/msvcrt/string.c
+20
-10
No files found.
dlls/msvcrt/msvcrt.spec
View file @
ff7cf637
...
...
@@ -929,7 +929,7 @@
@ cdecl _stricmp(str str) ntdll._stricmp
# stub _stricmp_l(str str ptr)
@ cdecl _stricoll(str str) MSVCRT__stricoll
# stub _stricoll_l(str str ptr)
@ cdecl _stricoll_l(str str ptr) MSVCRT__stricoll_l
@ cdecl _strlwr(str)
@ cdecl _strlwr_l(str ptr)
@ cdecl _strlwr_s(ptr long)
...
...
dlls/msvcrt/string.c
View file @
ff7cf637
...
...
@@ -547,6 +547,26 @@ int CDECL MSVCRT_strcoll( const char* str1, const char* str2 )
}
/*********************************************************************
* _stricoll_l (MSVCRT.@)
*/
int
CDECL
MSVCRT__stricoll_l
(
const
char
*
str1
,
const
char
*
str2
,
MSVCRT__locale_t
locale
)
{
if
(
!
locale
)
locale
=
get_locale
();
return
CompareStringA
(
locale
->
locinfo
->
lc_handle
[
MSVCRT_LC_CTYPE
],
NORM_IGNORECASE
,
str1
,
-
1
,
str2
,
-
1
)
-
2
;
}
/*********************************************************************
* _stricoll (MSVCRT.@)
*/
int
CDECL
MSVCRT__stricoll
(
const
char
*
str1
,
const
char
*
str2
)
{
return
MSVCRT__stricoll_l
(
str1
,
str2
,
NULL
);
}
/*********************************************************************
* strcpy_s (MSVCRT.@)
*/
int
CDECL
MSVCRT_strcpy_s
(
char
*
dst
,
MSVCRT_size_t
elem
,
const
char
*
src
)
...
...
@@ -644,16 +664,6 @@ MSVCRT_size_t CDECL MSVCRT_strxfrm( char *dest, const char *src, MSVCRT_size_t l
return
strxfrm
(
dest
,
src
,
len
);
}
/*********************************************************************
* _stricoll (MSVCRT.@)
*/
int
CDECL
MSVCRT__stricoll
(
const
char
*
str1
,
const
char
*
str2
)
{
/* FIXME: handle collates */
TRACE
(
"str1 %s str2 %s
\n
"
,
debugstr_a
(
str1
),
debugstr_a
(
str2
));
return
lstrcmpiA
(
str1
,
str2
);
}
/********************************************************************
* _atoldbl (MSVCRT.@)
*/
...
...
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