Mikolaj Zalewski : msvcrt: Don't test codepage 20932.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Aug 23 07:25:59 CDT 2007
Module: wine
Branch: master
Commit: cf8cf1d7f9a7c3ee8d695ff00f9ce55a81da1aab
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cf8cf1d7f9a7c3ee8d695ff00f9ce55a81da1aab
Author: Mikolaj Zalewski <mikolajz at google.com>
Date: Wed Aug 22 18:41:32 2007 -0700
msvcrt: Don't test codepage 20932.
---
dlls/msvcrt/mbcs.c | 2 +-
dlls/msvcrt/tests/string.c | 4 ----
2 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/dlls/msvcrt/mbcs.c b/dlls/msvcrt/mbcs.c
index e2148e8..9c6d34c 100644
--- a/dlls/msvcrt/mbcs.c
+++ b/dlls/msvcrt/mbcs.c
@@ -50,7 +50,7 @@ static struct cp_extra_info_t g_cpextrainfo[] =
{936, {0x40, 0xfe, 0, 0}},
{949, {0x41, 0xfe, 0, 0}},
{950, {0x40, 0x7e, 0xa1, 0xfe, 0, 0}},
- {20932, {1, 255, 0, 0}},
+ {20932, {1, 255, 0, 0}}, /* seems to give different results on different systems */
{0, {1, 255, 0, 0}} /* match all with FIXME */
};
diff --git a/dlls/msvcrt/tests/string.c b/dlls/msvcrt/tests/string.c
index d400823..698a3af 100644
--- a/dlls/msvcrt/tests/string.c
+++ b/dlls/msvcrt/tests/string.c
@@ -143,12 +143,9 @@ static int result_cp_949_mbctype[] = { 0x0,66, 0x18,26, 0x8,6, 0x28,26, 0x8,6, 0
0,1 };
static int result_cp_950_mbctype[] = { 0x0,65, 0x8,1, 0x18,26, 0x8,6, 0x28,26, 0x8,4,
0x0,2, 0x4,32, 0xc,94, 0,1 };
-static int result_cp_20932_mbctype[] = { 0x0,2, 0x8,64, 0x18,26, 0x8,6, 0x28,26, 0x8,19,
- 0xc,1, 0x8,18, 0xc,94, 0,1 };
static int todo_none[] = { -2 };
static int todo_cp_932[] = { 254, -2 };
-static int todo_cp_20932[] = { 143, -2 };
void test_cp_table(int cp, int *result, int *todo)
{
@@ -197,7 +194,6 @@ static void test_mbcp(void)
test_codepage(936);
test_codepage(949);
test_codepage(950);
- test_codepage_todo(20932, todo_cp_20932);
_setmbcp(936);
ok(__mb_cur_max == mb_orig_max, "__mb_cur_max shouldn't be updated (is %d != %d)\n", __mb_cur_max, mb_orig_max);
More information about the wine-cvs
mailing list