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
5b425baf
Commit
5b425baf
authored
Oct 20, 2022
by
Bartosz Kosiorek
Committed by
Alexandre Julliard
Oct 24, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Add _ismbstrail_l implementation.
parent
80c97dc3
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
22 additions
and
11 deletions
+22
-11
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+1
-1
msvcr110.spec
dlls/msvcr110/msvcr110.spec
+1
-1
msvcr120.spec
dlls/msvcr120/msvcr120.spec
+1
-1
msvcr80.spec
dlls/msvcr80/msvcr80.spec
+1
-1
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+1
-1
mbcs.c
dlls/msvcrt/mbcs.c
+14
-3
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
ucrtbase.spec
dlls/ucrtbase/ucrtbase.spec
+2
-2
No files found.
dlls/msvcr100/msvcr100.spec
View file @
5b425baf
...
...
@@ -1009,7 +1009,7 @@
@ cdecl _ismbslead(ptr ptr)
@ cdecl _ismbslead_l(ptr ptr ptr)
@ cdecl _ismbstrail(ptr ptr)
@
stub
_ismbstrail_l(ptr ptr ptr)
@
cdecl
_ismbstrail_l(ptr ptr ptr)
@ cdecl _isnan(double)
@ cdecl -arch=x86_64 _isnanf(float)
@ cdecl _isprint_l(long ptr)
...
...
dlls/msvcr110/msvcr110.spec
View file @
5b425baf
...
...
@@ -1355,7 +1355,7 @@
@ cdecl _ismbslead(ptr ptr)
@ cdecl _ismbslead_l(ptr ptr ptr)
@ cdecl _ismbstrail(ptr ptr)
@
stub _ismbstrail_l
@
cdecl _ismbstrail_l(ptr ptr ptr)
@ cdecl _isnan(double)
@ cdecl -arch=x86_64 _isnanf(float)
@ cdecl _isprint_l(long ptr)
...
...
dlls/msvcr120/msvcr120.spec
View file @
5b425baf
...
...
@@ -1361,7 +1361,7 @@
@ cdecl _ismbslead(ptr ptr)
@ cdecl _ismbslead_l(ptr ptr ptr)
@ cdecl _ismbstrail(ptr ptr)
@
stub _ismbstrail_l
@
cdecl _ismbstrail_l(ptr ptr ptr)
@ cdecl _isnan(double)
@ cdecl -arch=x86_64 _isnanf(float)
@ cdecl _isprint_l(long ptr)
...
...
dlls/msvcr80/msvcr80.spec
View file @
5b425baf
...
...
@@ -681,7 +681,7 @@
@ cdecl _ismbslead(ptr ptr)
@ cdecl _ismbslead_l(ptr ptr ptr)
@ cdecl _ismbstrail(ptr ptr)
@
stub _ismbstrail_l
@
cdecl _ismbstrail_l(ptr ptr ptr)
@ cdecl _isnan(double)
@ cdecl -arch=x86_64 _isnanf(float)
@ cdecl _isprint_l(long ptr)
...
...
dlls/msvcr90/msvcr90.spec
View file @
5b425baf
...
...
@@ -659,7 +659,7 @@
@ cdecl _ismbslead(ptr ptr)
@ cdecl _ismbslead_l(ptr ptr ptr)
@ cdecl _ismbstrail(ptr ptr)
@
stub _ismbstrail_l
@
cdecl _ismbstrail_l(ptr ptr ptr)
@ cdecl _isnan(double)
@ cdecl -arch=x86_64 _isnanf(float)
@ cdecl _isprint_l(long ptr)
...
...
dlls/msvcrt/mbcs.c
View file @
5b425baf
...
...
@@ -1848,18 +1848,29 @@ int CDECL _ismbslead(const unsigned char* start, const unsigned char* str)
}
/*********************************************************************
* _ismbstrail(MSVCRT.@)
* _ismbstrail
_l
(MSVCRT.@)
*/
int
CDECL
_ismbstrail
(
const
unsigned
char
*
start
,
const
unsigned
char
*
str
)
int
CDECL
_ismbstrail
_l
(
const
unsigned
char
*
start
,
const
unsigned
char
*
str
,
_locale_t
locale
)
{
if
(
!
MSVCRT_CHECK_PMT
(
start
&&
str
))
return
0
;
/* Note: this function doesn't check _ismbbtrail */
if
((
str
>
start
)
&&
_ismbslead
(
start
,
str
-
1
))
if
((
str
>
start
)
&&
_ismbslead
_l
(
start
,
str
-
1
,
locale
))
return
-
1
;
else
return
0
;
}
/*********************************************************************
* _ismbstrail(MSVCRT.@)
*/
int
CDECL
_ismbstrail
(
const
unsigned
char
*
start
,
const
unsigned
char
*
str
)
{
return
_ismbstrail_l
(
start
,
str
,
NULL
);
}
/*********************************************************************
* _mbbtype_l(MSVCRT.@)
*/
int
CDECL
_mbbtype_l
(
unsigned
char
c
,
int
type
,
_locale_t
locale
)
...
...
dlls/msvcrt/msvcrt.spec
View file @
5b425baf
...
...
@@ -630,7 +630,7 @@
@ cdecl _ismbslead(ptr ptr)
@ cdecl _ismbslead_l(ptr ptr ptr)
@ cdecl _ismbstrail(ptr ptr)
# stub _ismbstrail_l(long
ptr)
@ cdecl _ismbstrail_l(ptr ptr
ptr)
@ cdecl _isnan(double)
@ cdecl -arch=x86_64 _isnanf(float)
@ cdecl _isprint_l(long ptr)
...
...
dlls/ucrtbase/ucrtbase.spec
View file @
5b425baf
...
...
@@ -501,7 +501,7 @@
@ cdecl _ismbslead(ptr ptr)
@ cdecl _ismbslead_l(ptr ptr ptr)
@ cdecl _ismbstrail(ptr ptr)
@
stub _ismbstrail_l
@
cdecl _ismbstrail_l(ptr ptr ptr)
@ cdecl _isnan(double)
@ cdecl -arch=x86_64 _isnanf(float)
@ cdecl _isprint_l(long ptr)
...
...
@@ -1100,7 +1100,7 @@
@ cdecl _o__ismbslead(ptr ptr) _ismbslead
@ cdecl _o__ismbslead_l(ptr ptr ptr) _ismbslead_l
@ cdecl _o__ismbstrail(ptr ptr) _ismbstrail
@
stub _o_
_ismbstrail_l
@
cdecl _o__ismbstrail_l(ptr ptr ptr)
_ismbstrail_l
@ cdecl _o__iswctype_l(long long ptr) _iswctype_l
@ cdecl _o__itoa(long ptr long) _itoa
@ cdecl _o__itoa_s(long ptr long long) _itoa_s
...
...
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