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
24a2b625
Commit
24a2b625
authored
Jun 08, 2023
by
Victor Chiletto
Committed by
Alexandre Julliard
Jul 12, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Use snames instead of LCIDs in create_locinfo.
parent
969e3626
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
msvcr110.c
dlls/msvcr110/tests/msvcr110.c
+6
-6
locale.c
dlls/msvcrt/locale.c
+0
-0
No files found.
dlls/msvcr110/tests/msvcr110.c
View file @
24a2b625
...
...
@@ -170,7 +170,7 @@ static void test_setlocale(void)
ret
=
p_setlocale
(
LC_ALL
,
"chinese"
);
ok
(
ret
!=
NULL
,
"expected success, but got NULL
\n
"
);
if
(
ret
)
todo_wine
ok
((
!
strcmp
(
ret
,
"Chinese_China.936"
)
ok
((
!
strcmp
(
ret
,
"Chinese_China.936"
)
||
broken
(
!
strcmp
(
ret
,
"Chinese (Simplified)_People's Republic of China.936"
))
/* Vista */
||
broken
(
!
strcmp
(
ret
,
"Chinese_People's Republic of China.936"
))),
/* 7 */
"setlocale chinese failed, got %s
\n
"
,
ret
);
...
...
@@ -179,7 +179,7 @@ static void test_setlocale(void)
ret
=
p_setlocale
(
LC_ALL
,
"Chinese_China.936"
);
ok
(
ret
!=
NULL
,
"expected success, but got NULL
\n
"
);
if
(
ret
)
todo_wine
ok
((
!
strcmp
(
ret
,
"Chinese_China.936"
)
ok
((
!
strcmp
(
ret
,
"Chinese_China.936"
)
||
broken
(
!
strcmp
(
ret
,
"Chinese (Simplified)_People's Republic of China.936"
))
/* Vista */
||
broken
(
!
strcmp
(
ret
,
"Chinese_People's Republic of China.936"
))),
/* 7 */
"setlocale Chinese_China.936 failed, got %s
\n
"
,
ret
);
...
...
@@ -188,7 +188,7 @@ static void test_setlocale(void)
ret
=
p_setlocale
(
LC_ALL
,
"chinese-simplified"
);
ok
(
ret
!=
NULL
,
"expected success, but got NULL
\n
"
);
if
(
ret
)
todo_wine
ok
((
!
strcmp
(
ret
,
"Chinese_China.936"
)
ok
((
!
strcmp
(
ret
,
"Chinese_China.936"
)
||
broken
(
!
strcmp
(
ret
,
"Chinese (Simplified)_People's Republic of China.936"
))),
/* Vista */
"setlocale chinese-simplified failed, got %s
\n
"
,
ret
);
...
...
@@ -196,7 +196,7 @@ static void test_setlocale(void)
ret
=
p_setlocale
(
LC_ALL
,
"chs"
);
ok
(
ret
!=
NULL
,
"expected success, but got NULL
\n
"
);
if
(
ret
)
todo_wine
ok
((
!
strcmp
(
ret
,
"Chinese_China.936"
)
ok
((
!
strcmp
(
ret
,
"Chinese_China.936"
)
||
broken
(
!
strcmp
(
ret
,
"Chinese (Simplified)_People's Republic of China.936"
))),
/* Vista */
"setlocale chs failed, got %s
\n
"
,
ret
);
...
...
@@ -219,14 +219,14 @@ static void test_setlocale(void)
ret
=
p_setlocale
(
LC_ALL
,
"norwegian-nynorsk"
);
ok
(
ret
!=
NULL
,
"expected success, but got NULL
\n
"
);
if
(
ret
)
todo_wine
ok
((
!
strcmp
(
ret
,
"Norwegian Nynorsk_Norway.1252"
)
ok
((
!
strcmp
(
ret
,
"Norwegian Nynorsk_Norway.1252"
)
||
broken
(
!
strcmp
(
ret
,
"Norwegian (Nynorsk)_Norway.1252"
))),
/* Vista - 7 */
"setlocale norwegian-nynorsk failed, got %s
\n
"
,
ret
);
ret
=
p_setlocale
(
LC_ALL
,
"non"
);
ok
(
ret
!=
NULL
,
"expected success, but got NULL
\n
"
);
if
(
ret
)
todo_wine
ok
((
!
strcmp
(
ret
,
"Norwegian Nynorsk_Norway.1252"
)
ok
((
!
strcmp
(
ret
,
"Norwegian Nynorsk_Norway.1252"
)
||
broken
(
!
strcmp
(
ret
,
"Norwegian (Nynorsk)_Norway.1252"
))),
/* Vista - 7 */
"setlocale norwegian-nynorsk failed, got %s
\n
"
,
ret
);
...
...
dlls/msvcrt/locale.c
View file @
24a2b625
This diff is collapsed.
Click to expand it.
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