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
7cd91b64
Commit
7cd91b64
authored
Apr 29, 2013
by
Jactry Zeng
Committed by
Alexandre Julliard
Apr 29, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Fixed typo of _strncoll and _strncoll_l.
parent
6668a641
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
mbcs.c
dlls/msvcrt/mbcs.c
+1
-1
msvcrt.h
dlls/msvcrt/msvcrt.h
+1
-1
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+2
-2
string.c
dlls/msvcrt/string.c
+4
-4
No files found.
dlls/msvcrt/mbcs.c
View file @
7cd91b64
...
...
@@ -819,7 +819,7 @@ int CDECL _mbsnbcoll_l(const unsigned char *str1, const unsigned char *str2, MSV
mbcinfo
=
locale
->
mbcinfo
;
if
(
!
mbcinfo
->
ismbcodepage
)
return
MSVCRT_strncoll_l
((
const
char
*
)
str1
,
(
const
char
*
)
str2
,
len
,
locale
);
return
MSVCRT_
_
strncoll_l
((
const
char
*
)
str1
,
(
const
char
*
)
str2
,
len
,
locale
);
return
CompareStringA
(
mbcinfo
->
mblcid
,
0
,
(
const
char
*
)
str1
,
len
,
(
const
char
*
)
str2
,
len
)
-
CSTR_EQUAL
;
}
...
...
dlls/msvcrt/msvcrt.h
View file @
7cd91b64
...
...
@@ -987,7 +987,7 @@ void __cdecl MSVCRT__invalid_parameter(const MSVCRT_wchar_t *expr, const MSVCRT_
int
__cdecl
MSVCRT__toupper_l
(
int
,
MSVCRT__locale_t
);
int
__cdecl
MSVCRT__tolower_l
(
int
,
MSVCRT__locale_t
);
int
__cdecl
MSVCRT__strnicoll_l
(
const
char
*
,
const
char
*
,
MSVCRT_size_t
,
MSVCRT__locale_t
);
int
__cdecl
MSVCRT_strncoll_l
(
const
char
*
,
const
char
*
,
MSVCRT_size_t
,
MSVCRT__locale_t
);
int
__cdecl
MSVCRT_
_
strncoll_l
(
const
char
*
,
const
char
*
,
MSVCRT_size_t
,
MSVCRT__locale_t
);
unsigned
int
__cdecl
_get_output_format
(
void
);
/* Maybe one day we'll enable the invalid parameter handlers with the full set of information (msvcrXXd)
...
...
dlls/msvcrt/msvcrt.spec
View file @
7cd91b64
...
...
@@ -963,8 +963,8 @@
@ cdecl _strlwr_l(str ptr)
@ cdecl _strlwr_s(ptr long)
@ cdecl _strlwr_s_l(ptr long ptr)
@ cdecl _strncoll(str str long) MSVCRT_
strncoll_
l
@ cdecl _strncoll_l(str str long ptr) MSVCRT_
strncol
l
@ cdecl _strncoll(str str long) MSVCRT_
_strncol
l
@ cdecl _strncoll_l(str str long ptr) MSVCRT_
_strncoll_
l
@ cdecl _strnicmp(str str long) MSVCRT__strnicmp
@ cdecl _strnicmp_l(str str long ptr) MSVCRT__strnicmp_l
@ cdecl _strnicoll(str str long) MSVCRT__strnicoll
...
...
dlls/msvcrt/string.c
View file @
7cd91b64
...
...
@@ -527,7 +527,7 @@ int CDECL MSVCRT__stricoll( const char* str1, const char* str2 )
/*********************************************************************
* _strncoll_l (MSVCRT.@)
*/
int
CDECL
MSVCRT_strncoll_l
(
const
char
*
str1
,
const
char
*
str2
,
MSVCRT_size_t
count
,
MSVCRT__locale_t
locale
)
int
CDECL
MSVCRT_
_
strncoll_l
(
const
char
*
str1
,
const
char
*
str2
,
MSVCRT_size_t
count
,
MSVCRT__locale_t
locale
)
{
MSVCRT_pthreadlocinfo
locinfo
;
...
...
@@ -540,11 +540,11 @@ int CDECL MSVCRT_strncoll_l( const char* str1, const char* str2, MSVCRT_size_t c
}
/*********************************************************************
* strncoll (MSVCRT.@)
*
_
strncoll (MSVCRT.@)
*/
int
CDECL
MSVCRT_strncoll
(
const
char
*
str1
,
const
char
*
str2
,
MSVCRT_size_t
count
)
int
CDECL
MSVCRT_
_
strncoll
(
const
char
*
str1
,
const
char
*
str2
,
MSVCRT_size_t
count
)
{
return
MSVCRT_strncoll_l
(
str1
,
str2
,
count
,
NULL
);
return
MSVCRT_
_
strncoll_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