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
5d07f809
Commit
5d07f809
authored
Nov 18, 2020
by
Chip Davis
Committed by
Alexandre Julliard
Nov 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ucrtbase: Sync __lc_time_data definitions.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
898abfc1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
time.c
dlls/msvcrt/tests/time.c
+4
-3
misc.c
dlls/ucrtbase/tests/misc.c
+3
-2
No files found.
dlls/msvcrt/tests/time.c
View file @
5d07f809
...
...
@@ -47,7 +47,8 @@ typedef struct {
const
char
*
date
;
const
char
*
time
;
LCID
lcid
;
int
unk
[
2
];
int
unk
;
int
refcount
;
}
__lc_time_data
;
static
__time32_t
(
__cdecl
*
p_mkgmtime32
)(
struct
tm
*
);
...
...
@@ -824,8 +825,8 @@ static void test_strftime(void)
return
;
}
/* TODO: find meaning of unk
[0]
*/
time_data
.
unk
[
0
]
=
1
;
/* TODO: find meaning of unk */
time_data
.
unk
=
1
;
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
tests_td
);
i
++
)
{
time_data
.
short_date
=
tests_td
[
i
].
short_date
;
...
...
dlls/ucrtbase/tests/misc.c
View file @
5d07f809
...
...
@@ -87,7 +87,8 @@ typedef struct {
const
char
*
short_date
;
const
char
*
date
;
const
char
*
time
;
int
unk
[
2
];
int
unk
;
int
refcount
;
const
wchar_t
*
short_wdayW
[
7
];
const
wchar_t
*
wdayW
[
7
];
const
wchar_t
*
short_monW
[
12
];
...
...
@@ -1037,7 +1038,7 @@ static void test_strftime(void)
{
"day1"
,
"day2"
,
"day3"
,
"day4"
,
"day5"
,
"day6"
,
"day7"
},
{
"m1"
,
"m2"
,
"m3"
,
"m4"
,
"m5"
,
"m6"
,
"m7"
,
"m8"
,
"m9"
,
"m10"
,
"m11"
,
"m12"
},
{
"mon1"
,
"mon2"
,
"mon3"
,
"mon4"
,
"mon5"
,
"mon6"
,
"mon7"
,
"mon8"
,
"mon9"
,
"mon10"
,
"mon11"
,
"mon12"
},
"tam"
,
"tpm"
,
0
,
0
,
0
,
{
1
,
0
}
,
"tam"
,
"tpm"
,
0
,
0
,
0
,
1
,
0
,
{
L"D1"
,
L"D2"
,
L"D3"
,
L"D4"
,
L"D5"
,
L"D6"
,
L"D7"
},
{
L"Day1"
,
L"Day2"
,
L"Day3"
,
L"Day4"
,
L"Day5"
,
L"Day6"
,
L"Day7"
},
{
L"M1"
,
L"M2"
,
L"M3"
,
L"M4"
,
L"M5"
,
L"M6"
,
L"M7"
,
L"M8"
,
L"M9"
,
L"M10"
,
L"M11"
,
L"M12"
},
...
...
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