Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
1a6e50ce
Commit
1a6e50ce
authored
Aug 08, 2017
by
Nikolay Sivov
Committed by
Alexandre Julliard
Aug 12, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Added _ismbcl0().
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
75ec559b
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
47 additions
and
9 deletions
+47
-9
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+1
-1
msvcr110.spec
dlls/msvcr110/msvcr110.spec
+1
-1
msvcr120.spec
dlls/msvcr120/msvcr120.spec
+1
-1
msvcr70.spec
dlls/msvcr70/msvcr70.spec
+1
-1
msvcr71.spec
dlls/msvcr71/msvcr71.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
-0
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
string.c
dlls/msvcrt/tests/string.c
+24
-0
ucrtbase.spec
dlls/ucrtbase/ucrtbase.spec
+1
-1
No files found.
dlls/msvcr100/msvcr100.spec
View file @
1a6e50ce
...
...
@@ -986,7 +986,7 @@
@ stub _ismbchira_l
@ cdecl _ismbckata(long)
@ stub _ismbckata_l
@
stub
_ismbcl0(long)
@
cdecl
_ismbcl0(long)
@ stub _ismbcl0_l
@ stub _ismbcl1(long)
@ stub _ismbcl1_l
...
...
dlls/msvcr110/msvcr110.spec
View file @
1a6e50ce
...
...
@@ -1332,7 +1332,7 @@
@ stub _ismbchira_l
@ cdecl _ismbckata(long)
@ stub _ismbckata_l
@
stub
_ismbcl0(long)
@
cdecl
_ismbcl0(long)
@ stub _ismbcl0_l
@ stub _ismbcl1(long)
@ stub _ismbcl1_l
...
...
dlls/msvcr120/msvcr120.spec
View file @
1a6e50ce
...
...
@@ -1337,7 +1337,7 @@
@ stub _ismbchira_l
@ cdecl _ismbckata(long)
@ stub _ismbckata_l
@
stub
_ismbcl0(long)
@
cdecl
_ismbcl0(long)
@ stub _ismbcl0_l
@ stub _ismbcl1(long)
@ stub _ismbcl1_l
...
...
dlls/msvcr70/msvcr70.spec
View file @
1a6e50ce
...
...
@@ -381,7 +381,7 @@
@ cdecl _ismbcgraph(long)
@ cdecl _ismbchira(long)
@ cdecl _ismbckata(long)
@
stub
_ismbcl0(long)
@
cdecl
_ismbcl0(long)
@ stub _ismbcl1(long)
@ stub _ismbcl2(long)
@ cdecl _ismbclegal(long)
...
...
dlls/msvcr71/msvcr71.spec
View file @
1a6e50ce
...
...
@@ -376,7 +376,7 @@
@ cdecl _ismbcgraph(long)
@ cdecl _ismbchira(long)
@ cdecl _ismbckata(long)
@
stub
_ismbcl0(long)
@
cdecl
_ismbcl0(long)
@ stub _ismbcl1(long)
@ stub _ismbcl2(long)
@ cdecl _ismbclegal(long)
...
...
dlls/msvcr80/msvcr80.spec
View file @
1a6e50ce
...
...
@@ -658,7 +658,7 @@
@ stub _ismbchira_l
@ cdecl _ismbckata(long)
@ stub _ismbckata_l
@
stub
_ismbcl0(long)
@
cdecl
_ismbcl0(long)
@ stub _ismbcl0_l
@ stub _ismbcl1(long)
@ stub _ismbcl1_l
...
...
dlls/msvcr90/msvcr90.spec
View file @
1a6e50ce
...
...
@@ -636,7 +636,7 @@
@ stub _ismbchira_l
@ cdecl _ismbckata(long)
@ stub _ismbckata_l
@
stub
_ismbcl0(long)
@
cdecl
_ismbcl0(long)
@ stub _ismbcl0_l
@ stub _ismbcl1(long)
@ stub _ismbcl1_l
...
...
dlls/msvcrt/mbcs.c
View file @
1a6e50ce
...
...
@@ -2443,3 +2443,17 @@ unsigned int CDECL _mbctokata(unsigned int c)
return
(
c
-
0x829f
)
+
0x8340
+
(
c
>=
0x82de
?
1
:
0
);
return
c
;
}
/*********************************************************************
* _ismbcl0 (MSVCRT.@)
*/
int
CDECL
_ismbcl0
(
unsigned
int
c
)
{
if
(
get_mbcinfo
()
->
mbcodepage
==
932
)
{
/* JIS non-Kanji */
return
(
c
>=
0x8140
&&
c
<=
0x889e
);
}
return
0
;
}
dlls/msvcrt/msvcrt.spec
View file @
1a6e50ce
...
...
@@ -604,7 +604,7 @@
# stub _ismbchira_l(long ptr)
@ cdecl _ismbckata(long)
# stub _ismbckata_l(long ptr)
@
stub
_ismbcl0(long)
@
cdecl
_ismbcl0(long)
# stub _ismbcl0_l(long ptr)
@ stub _ismbcl1(long)
# stub _ismbcl1_l(long ptr)
...
...
dlls/msvcrt/tests/string.c
View file @
1a6e50ce
...
...
@@ -3193,6 +3193,29 @@ static void test__mbscmp(void)
ok
(
ret
==
1
,
"got %d
\n
"
,
ret
);
}
static
void
test__ismbclx
(
void
)
{
int
cp
,
ret
;
ret
=
_ismbcl0
(
0
);
ok
(
!
ret
,
"got %d
\n
"
,
ret
);
cp
=
_setmbcp
(
1252
);
ret
=
_ismbcl0
(
0x8140
);
ok
(
!
ret
,
"got %d
\n
"
,
ret
);
_setmbcp
(
932
);
ret
=
_ismbcl0
(
0
);
ok
(
!
ret
,
"got %d
\n
"
,
ret
);
ret
=
_ismbcl0
(
0x8140
);
ok
(
ret
,
"got %d
\n
"
,
ret
);
_setmbcp
(
cp
);
}
START_TEST
(
string
)
{
char
mem
[
100
];
...
...
@@ -3308,4 +3331,5 @@ START_TEST(string)
test__strnset_s
();
test__wcsset_s
();
test__mbscmp
();
test__ismbclx
();
}
dlls/ucrtbase/ucrtbase.spec
View file @
1a6e50ce
...
...
@@ -476,7 +476,7 @@
@ stub _ismbchira_l
@ cdecl _ismbckata(long)
@ stub _ismbckata_l
@
stub
_ismbcl0(long)
@
cdecl
_ismbcl0(long)
@ stub _ismbcl0_l
@ stub _ismbcl1(long)
@ stub _ismbcl1_l
...
...
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