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
111637a3
Commit
111637a3
authored
Apr 03, 2017
by
Daniel Lehman
Committed by
Alexandre Julliard
Apr 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ucrtbase: Add _iswblank_l.
Signed-off-by:
Daniel Lehman
<
dlehman@esri.com
>
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bda232de
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
32 additions
and
8 deletions
+32
-8
api-ms-win-crt-string-l1-1-0.spec
...s-win-crt-string-l1-1-0/api-ms-win-crt-string-l1-1-0.spec
+2
-2
msvcr120.spec
dlls/msvcr120/msvcr120.spec
+2
-2
msvcr120_app.spec
dlls/msvcr120_app/msvcr120_app.spec
+2
-2
wcs.c
dlls/msvcrt/wcs.c
+16
-0
misc.c
dlls/ucrtbase/tests/misc.c
+8
-0
ucrtbase.spec
dlls/ucrtbase/ucrtbase.spec
+2
-2
No files found.
dlls/api-ms-win-crt-string-l1-1-0/api-ms-win-crt-string-l1-1-0.spec
View file @
111637a3
...
...
@@ -21,7 +21,7 @@
@ cdecl _isupper_l(long ptr) ucrtbase._isupper_l
@ stub _iswalnum_l
@ cdecl _iswalpha_l(long ptr) ucrtbase._iswalpha_l
@
stub
_iswblank_l
@
cdecl _iswblank_l(long ptr) ucrtbase.
_iswblank_l
@ stub _iswcntrl_l
@ stub _iswcsym_l
@ stub _iswcsymf_l
...
...
@@ -113,7 +113,7 @@
@ cdecl iswalnum(long) ucrtbase.iswalnum
@ cdecl iswalpha(long) ucrtbase.iswalpha
@ cdecl iswascii(long) ucrtbase.iswascii
@
stub
iswblank
@
cdecl iswblank(long) ucrtbase.
iswblank
@ cdecl iswcntrl(long) ucrtbase.iswcntrl
@ cdecl iswctype(long long) ucrtbase.iswctype
@ cdecl iswdigit(long) ucrtbase.iswdigit
...
...
dlls/msvcr120/msvcr120.spec
View file @
111637a3
...
...
@@ -1369,7 +1369,7 @@
@ cdecl _isupper_l(long ptr) MSVCRT__isupper_l
@ stub _iswalnum_l
@ cdecl _iswalpha_l(long ptr) MSVCRT__iswalpha_l
@
stub
_iswblank_l
@
cdecl _iswblank_l(long ptr) MSVCRT_
_iswblank_l
@ stub _iswcntrl_l
@ stub _iswcsym_l
@ stub _iswcsymf_l
...
...
@@ -2228,7 +2228,7 @@
@ cdecl iswalnum(long) MSVCRT_iswalnum
@ cdecl iswalpha(long) ntdll.iswalpha
@ cdecl iswascii(long) MSVCRT_iswascii
@
stub
iswblank
@
cdecl iswblank(long) MSVCRT_
iswblank
@ cdecl iswcntrl(long) MSVCRT_iswcntrl
@ cdecl iswctype(long long) ntdll.iswctype
@ cdecl iswdigit(long) MSVCRT_iswdigit
...
...
dlls/msvcr120_app/msvcr120_app.spec
View file @
111637a3
...
...
@@ -1234,7 +1234,7 @@
@ cdecl _isupper_l(long ptr) msvcr120._isupper_l
@ stub _iswalnum_l
@ cdecl _iswalpha_l(long ptr) msvcr120._iswalpha_l
@
stub
_iswblank_l
@
cdecl _iswblank_l(long ptr) msvcr120.
_iswblank_l
@ stub _iswcntrl_l
@ stub _iswcsym_l
@ stub _iswcsymf_l
...
...
@@ -1891,7 +1891,7 @@
@ cdecl iswalnum(long) msvcr120.iswalnum
@ cdecl iswalpha(long) msvcr120.iswalpha
@ cdecl iswascii(long) msvcr120.iswascii
@
stub
iswblank
@
cdecl iswblank(long) msvcr120.
iswblank
@ cdecl iswcntrl(long) msvcr120.iswcntrl
@ cdecl iswctype(long long) msvcr120.iswctype
@ cdecl iswdigit(long) msvcr120.iswdigit
...
...
dlls/msvcrt/wcs.c
View file @
111637a3
...
...
@@ -1866,6 +1866,22 @@ INT CDECL MSVCRT__iswctype_l( MSVCRT_wchar_t wc, MSVCRT_wctype_t type, MSVCRT__l
}
/*********************************************************************
* _iswblank_l (MSVCRT.@)
*/
INT
CDECL
MSVCRT__iswblank_l
(
MSVCRT_wchar_t
wc
,
MSVCRT__locale_t
locale
)
{
return
wc
==
'\t'
||
MSVCRT__iswctype_l
(
wc
,
MSVCRT__BLANK
,
locale
);
}
/*********************************************************************
* iswblank (MSVCRT.@)
*/
INT
CDECL
MSVCRT_iswblank
(
MSVCRT_wchar_t
wc
)
{
return
wc
==
'\t'
||
MSVCRT__iswctype_l
(
wc
,
MSVCRT__BLANK
,
NULL
);
}
/*********************************************************************
* wcscpy_s (MSVCRT.@)
*/
INT
CDECL
MSVCRT_wcscpy_s
(
MSVCRT_wchar_t
*
wcDest
,
MSVCRT_size_t
numElement
,
const
MSVCRT_wchar_t
*
wcSrc
)
...
...
dlls/ucrtbase/tests/misc.c
View file @
111637a3
...
...
@@ -90,6 +90,8 @@ static int (CDECL *p__isctype)(int,int);
static
int
(
CDECL
*
p_isblank
)(
int
);
static
int
(
CDECL
*
p__isblank_l
)(
int
,
_locale_t
);
static
int
(
CDECL
*
p__iswctype_l
)(
int
,
int
,
_locale_t
);
static
int
(
CDECL
*
p_iswblank
)(
int
);
static
int
(
CDECL
*
p__iswblank_l
)(
wint_t
,
_locale_t
);
static
void
test__initialize_onexit_table
(
void
)
{
...
...
@@ -388,6 +390,8 @@ static BOOL init(void)
p_isblank
=
(
void
*
)
GetProcAddress
(
module
,
"isblank"
);
p__isblank_l
=
(
void
*
)
GetProcAddress
(
module
,
"_isblank_l"
);
p__iswctype_l
=
(
void
*
)
GetProcAddress
(
module
,
"_iswctype_l"
);
p_iswblank
=
(
void
*
)
GetProcAddress
(
module
,
"iswblank"
);
p__iswblank_l
=
(
void
*
)
GetProcAddress
(
module
,
"_iswblank_l"
);
return
TRUE
;
}
...
...
@@ -493,9 +497,13 @@ static void test_isblank(void)
todo_wine
ok
(
!
p__iswctype_l
(
c
,
_BLANK
,
NULL
),
"tab shouldn't be blank
\n
"
);
else
ok
(
p__iswctype_l
(
c
,
_BLANK
,
NULL
),
"%d should be blank
\n
"
,
c
);
ok
(
p_iswblank
(
c
),
"%d should be blank
\n
"
,
c
);
ok
(
p__iswblank_l
(
c
,
NULL
),
"%d should be blank
\n
"
,
c
);
}
else
{
todo_wine_if
(
c
==
0xa0
)
{
ok
(
!
p__iswctype_l
(
c
,
_BLANK
,
NULL
),
"%d shouldn't be blank
\n
"
,
c
);
ok
(
!
p_iswblank
(
c
),
"%d shouldn't be blank
\n
"
,
c
);
ok
(
!
p__iswblank_l
(
c
,
NULL
),
"%d shouldn't be blank
\n
"
,
c
);
}
}
}
...
...
dlls/ucrtbase/ucrtbase.spec
View file @
111637a3
...
...
@@ -508,7 +508,7 @@
@ cdecl _isupper_l(long ptr) MSVCRT__isupper_l
@ stub _iswalnum_l
@ cdecl _iswalpha_l(long ptr) MSVCRT__iswalpha_l
@
stub
_iswblank_l
@
cdecl _iswblank_l(long ptr) MSVCRT_
_iswblank_l
@ stub _iswcntrl_l
@ stub _iswcsym_l
@ stub _iswcsymf_l
...
...
@@ -2362,7 +2362,7 @@
@ cdecl iswalnum(long) MSVCRT_iswalnum
@ cdecl iswalpha(long) ntdll.iswalpha
@ cdecl iswascii(long) MSVCRT_iswascii
@
stub
iswblank
@
cdecl iswblank(long) MSVCRT_
iswblank
@ cdecl iswcntrl(long) MSVCRT_iswcntrl
@ cdecl iswctype(long long) ntdll.iswctype
@ cdecl iswdigit(long) MSVCRT_iswdigit
...
...
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