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
97782484
Commit
97782484
authored
Jan 25, 2013
by
Piotr Caban
Committed by
Alexandre Julliard
Jan 25, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Fixed _Gettnames test on Win8.
parent
8304bf4d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
locale.c
dlls/msvcrt/tests/locale.c
+4
-1
No files found.
dlls/msvcrt/tests/locale.c
View file @
97782484
...
...
@@ -656,6 +656,7 @@ static void test__Gettnames(void)
char
data
[
1
];
}
*
ret
;
int
size
;
char
buf
[
64
];
if
(
!
setlocale
(
LC_ALL
,
"english"
))
return
;
...
...
@@ -712,7 +713,9 @@ static void test__Gettnames(void)
ok
(
!
strcmp
(
ret
->
str
[
39
],
"PM"
),
"ret->str[39] = %s
\n
"
,
ret
->
str
[
39
]);
ok
(
!
strcmp
(
ret
->
str
[
40
],
"M/d/yyyy"
)
||
broken
(
!
strcmp
(
ret
->
str
[
40
],
"M/d/yy"
))
/*NT*/
,
"ret->str[40] = %s
\n
"
,
ret
->
str
[
40
]);
ok
(
!
strcmp
(
ret
->
str
[
41
],
"dddd, MMMM dd, yyyy"
),
"ret->str[41] = %s
\n
"
,
ret
->
str
[
41
]);
ok
(
GetLocaleInfoA
(
MAKELCID
(
LANG_ENGLISH
,
SORT_DEFAULT
),
LOCALE_SLONGDATE
|
LOCALE_NOUSEROVERRIDE
,
buf
,
sizeof
(
buf
))
!=
0
,
"GetLocaleInfo failed: %x
\n
"
,
GetLastError
());
ok
(
!
strcmp
(
ret
->
str
[
41
],
buf
),
"ret->str[41] = %s, expected %s
\n
"
,
ret
->
str
[
41
],
buf
);
free
(
ret
);
if
(
!
setlocale
(
LC_TIME
,
"german"
))
...
...
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