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
7782e723
Commit
7782e723
authored
Aug 08, 2005
by
Saulius Krasuckas
Committed by
Alexandre Julliard
Aug 08, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment out VarDateFromStr() calls that generate exceptions on WinME.
parent
94defee5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
vartype.c
dlls/oleaut32/tests/vartype.c
+9
-0
No files found.
dlls/oleaut32/tests/vartype.c
View file @
7782e723
...
...
@@ -3275,9 +3275,15 @@ static const char *BadDateStrings[] =
"1.2.3 4.5 6"
,
"1.2.3 4 5.6"
,
"1.2 3.4.5.6"
,
"1.2 3.4.5 6"
,
"1.2 3.4 5.6"
,
"1.2 3.4 5 6"
,
"1.2 3 4.5.6"
,
"1.2 3 4.5 6"
,
"1.2 3 4 5.6"
,
"1.2 3 4 5 6"
,
"1 2.3.4.5.6"
,
"1 2.3.4.5 6"
,
"1 2.3.4 5.6"
,
"1 2.3.4 5 6"
,
"1 2.3 4.5.6"
,
#if 0
/* following throws an exception on winME */
"1 2.3 4.5 6", "1 2.3 4 5.6", "1 2.3 4 5 6", "1 2 3.4.5.6", "1 2 3.4.5 6",
#endif
"1 2 3.4 5.6"
,
"1 2 3.4 5 6"
,
"1 2 3 4.5 6"
,
"1 2 3 4 5.6"
,
"1 2 3 4 5 6"
,
#if 0
/* following throws an exception on winME */
"1.2.3 4 am 5 6", "1.2.3 4 5 am 6", "1.2.3 4 5 6 am", "1 am 2 3 4.5.6",
#endif
"1 2 am 3 4.5.6"
,
"1 2 3 am 4.5.6"
};
...
...
@@ -3382,7 +3388,10 @@ static void test_VarDateFromStr(void)
/* 5 elements - interpreted as 2 & 3 digit date/times */
DFS
(
"1.2.3 4 5"
);
MKRELDATE
(
5
,
4
);
relative
+=
0
.
0430
9027778
;
EXPECT_DBL
(
relative
);
DFS
(
"1.2 3 4 5"
);
EXPECT_DBL
(
38415
.
04305555556
);
#if 0
/* following throws an exception on winME */
DFS("1 2 3.4.5"); MKRELDATE(2,1); relative += 0.12783564815; EXPECT_DBL(relative);
#endif
DFS
(
"1 2 3 4.5"
);
EXPECT_DBL
(
37623
.
17013888889
);
/* 6 elements - interpreted as 3 digit date/times */
DFS
(
"1.2.3 4 5 6"
);
EXPECT_DBL
(
38812
.
0430
9027778
);
...
...
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