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
d36c6452
Commit
d36c6452
authored
Mar 05, 2013
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 05, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcr90: Check more fields in _getptd tests.
parent
d989e92c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
msvcr90.c
dlls/msvcr90/tests/msvcr90.c
+5
-1
No files found.
dlls/msvcr90/tests/msvcr90.c
View file @
d36c6452
...
@@ -117,6 +117,7 @@ static int (__cdecl *p_feof)(FILE*);
...
@@ -117,6 +117,7 @@ static int (__cdecl *p_feof)(FILE*);
static
int
(
__cdecl
*
p_ferror
)(
FILE
*
);
static
int
(
__cdecl
*
p_ferror
)(
FILE
*
);
static
int
(
__cdecl
*
p_flsbuf
)(
int
,
FILE
*
);
static
int
(
__cdecl
*
p_flsbuf
)(
int
,
FILE
*
);
static
unsigned
long
(
__cdecl
*
p_byteswap_ulong
)(
unsigned
long
);
static
unsigned
long
(
__cdecl
*
p_byteswap_ulong
)(
unsigned
long
);
static
void
**
(
__cdecl
*
p__pxcptinfoptrs
)(
void
);
/* make sure we use the correct errno */
/* make sure we use the correct errno */
#undef errno
#undef errno
...
@@ -302,6 +303,7 @@ static BOOL init(void)
...
@@ -302,6 +303,7 @@ static BOOL init(void)
SET
(
p_ferror
,
"ferror"
);
SET
(
p_ferror
,
"ferror"
);
SET
(
p_flsbuf
,
"_flsbuf"
);
SET
(
p_flsbuf
,
"_flsbuf"
);
SET
(
p_byteswap_ulong
,
"_byteswap_ulong"
);
SET
(
p_byteswap_ulong
,
"_byteswap_ulong"
);
SET
(
p__pxcptinfoptrs
,
"__pxcptinfoptrs"
);
if
(
sizeof
(
void
*
)
==
8
)
if
(
sizeof
(
void
*
)
==
8
)
{
{
SET
(
p_type_info_name_internal_method
,
"?_name_internal_method@type_info@@QEBAPEBDPEAU__type_info_node@@@Z"
);
SET
(
p_type_info_name_internal_method
,
"?_name_internal_method@type_info@@QEBAPEBDPEAU__type_info_node@@@Z"
);
...
@@ -1015,7 +1017,8 @@ struct __thread_data {
...
@@ -1015,7 +1017,8 @@ struct __thread_data {
struct
tm
*
time_buffer
;
struct
tm
*
time_buffer
;
char
*
efcvt_buffer
;
char
*
efcvt_buffer
;
int
unk3
[
2
];
int
unk3
[
2
];
void
*
unk4
[
4
];
void
*
unk4
[
3
];
EXCEPTION_POINTERS
*
xcptinfo
;
int
fpecode
;
int
fpecode
;
pthreadmbcinfo
mbcinfo
;
pthreadmbcinfo
mbcinfo
;
pthreadlocinfo
locinfo
;
pthreadlocinfo
locinfo
;
...
@@ -1060,6 +1063,7 @@ static void test_getptd(void)
...
@@ -1060,6 +1063,7 @@ static void test_getptd(void)
ok
(
p_wasctime
(
&
time
)
==
ptd
->
wasctime_buffer
,
"ptd->wasctime_buffer is incorrect
\n
"
);
ok
(
p_wasctime
(
&
time
)
==
ptd
->
wasctime_buffer
,
"ptd->wasctime_buffer is incorrect
\n
"
);
ok
(
p_localtime64
(
&
secs
)
==
ptd
->
time_buffer
,
"ptd->time_buffer is incorrect
\n
"
);
ok
(
p_localtime64
(
&
secs
)
==
ptd
->
time_buffer
,
"ptd->time_buffer is incorrect
\n
"
);
ok
(
p_ecvt
(
3
.
12
,
1
,
&
dec
,
&
sign
)
==
ptd
->
efcvt_buffer
,
"ptd->efcvt_buffer is incorrect
\n
"
);
ok
(
p_ecvt
(
3
.
12
,
1
,
&
dec
,
&
sign
)
==
ptd
->
efcvt_buffer
,
"ptd->efcvt_buffer is incorrect
\n
"
);
ok
(
p__pxcptinfoptrs
()
==
(
void
**
)
&
ptd
->
xcptinfo
,
"ptd->xcptinfo is incorrect
\n
"
);
ok
(
p_fpecode
()
==
&
ptd
->
fpecode
,
"ptd->fpecode is incorrect
\n
"
);
ok
(
p_fpecode
()
==
&
ptd
->
fpecode
,
"ptd->fpecode is incorrect
\n
"
);
mbcinfo
=
ptd
->
mbcinfo
;
mbcinfo
=
ptd
->
mbcinfo
;
locinfo
=
ptd
->
locinfo
;
locinfo
=
ptd
->
locinfo
;
...
...
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