Commit 36ea6f02 authored by Bartosz Kosiorek's avatar Bartosz Kosiorek Committed by Alexandre Julliard

msvcrt: Add _mbctoupper_l partial implementation.

parent 0998dfe0
...@@ -1092,7 +1092,7 @@ ...@@ -1092,7 +1092,7 @@
@ cdecl _mbctombb(long) @ cdecl _mbctombb(long)
@ stub _mbctombb_l @ stub _mbctombb_l
@ cdecl _mbctoupper(long) @ cdecl _mbctoupper(long)
@ stub _mbctoupper_l @ cdecl _mbctoupper_l(long ptr)
@ extern _mbctype MSVCRT_mbctype @ extern _mbctype MSVCRT_mbctype
@ stub _mblen_l @ stub _mblen_l
@ cdecl _mbsbtype(str long) @ cdecl _mbsbtype(str long)
......
...@@ -1449,7 +1449,7 @@ ...@@ -1449,7 +1449,7 @@
@ cdecl _mbctombb(long) @ cdecl _mbctombb(long)
@ stub _mbctombb_l @ stub _mbctombb_l
@ cdecl _mbctoupper(long) @ cdecl _mbctoupper(long)
@ stub _mbctoupper_l @ cdecl _mbctoupper_l(long ptr)
@ extern _mbctype MSVCRT_mbctype @ extern _mbctype MSVCRT_mbctype
@ stub _mblen_l @ stub _mblen_l
@ cdecl _mbsbtype(str long) @ cdecl _mbsbtype(str long)
......
...@@ -1460,7 +1460,7 @@ ...@@ -1460,7 +1460,7 @@
@ cdecl _mbctombb(long) @ cdecl _mbctombb(long)
@ stub _mbctombb_l @ stub _mbctombb_l
@ cdecl _mbctoupper(long) @ cdecl _mbctoupper(long)
@ stub _mbctoupper_l @ cdecl _mbctoupper_l(long ptr)
@ extern _mbctype MSVCRT_mbctype @ extern _mbctype MSVCRT_mbctype
@ stub _mblen_l @ stub _mblen_l
@ cdecl _mbsbtype(str long) @ cdecl _mbsbtype(str long)
......
...@@ -764,7 +764,7 @@ ...@@ -764,7 +764,7 @@
@ cdecl _mbctombb(long) @ cdecl _mbctombb(long)
@ stub _mbctombb_l @ stub _mbctombb_l
@ cdecl _mbctoupper(long) @ cdecl _mbctoupper(long)
@ stub _mbctoupper_l @ cdecl _mbctoupper_l(long ptr)
@ extern _mbctype MSVCRT_mbctype @ extern _mbctype MSVCRT_mbctype
@ stub _mblen_l @ stub _mblen_l
@ cdecl _mbsbtype(str long) @ cdecl _mbsbtype(str long)
......
...@@ -742,7 +742,7 @@ ...@@ -742,7 +742,7 @@
@ cdecl _mbctombb(long) @ cdecl _mbctombb(long)
@ stub _mbctombb_l @ stub _mbctombb_l
@ cdecl _mbctoupper(long) @ cdecl _mbctoupper(long)
@ stub _mbctoupper_l @ cdecl _mbctoupper_l(long ptr)
@ extern _mbctype MSVCRT_mbctype @ extern _mbctype MSVCRT_mbctype
@ stub _mblen_l @ stub _mblen_l
@ cdecl _mbsbtype(str long) @ cdecl _mbsbtype(str long)
......
...@@ -468,16 +468,24 @@ unsigned int CDECL _mbctolower(unsigned int c) ...@@ -468,16 +468,24 @@ unsigned int CDECL _mbctolower(unsigned int c)
} }
/********************************************************************* /*********************************************************************
* _mbctoupper(MSVCRT.@) * _mbctoupper_l(MSVCRT.@)
*/ */
unsigned int CDECL _mbctoupper(unsigned int c) unsigned int CDECL _mbctoupper_l(unsigned int c, _locale_t locale)
{ {
if (_ismbblead(c)) if (_ismbblead_l(c, locale))
{ {
FIXME("Handle MBC chars\n"); FIXME("Handle MBC chars\n");
return c; return c;
} }
return _toupper_l(c, NULL); /* ASCII CP or SB char */ return _toupper_l(c, locale); /* ASCII CP or SB char */
}
/*********************************************************************
* _mbctoupper(MSVCRT.@)
*/
unsigned int CDECL _mbctoupper(unsigned int c)
{
return _mbctoupper_l(c, NULL);
} }
/********************************************************************* /*********************************************************************
......
...@@ -709,7 +709,7 @@ ...@@ -709,7 +709,7 @@
@ cdecl _mbctombb(long) @ cdecl _mbctombb(long)
# stub _mbctombb_l(long ptr) # stub _mbctombb_l(long ptr)
@ cdecl _mbctoupper(long) @ cdecl _mbctoupper(long)
# stub _mbctoupper_l(long ptr) @ cdecl _mbctoupper_l(long ptr)
@ extern _mbctype MSVCRT_mbctype @ extern _mbctype MSVCRT_mbctype
# stub _mblen_l(str long ptr) # stub _mblen_l(str long ptr)
@ cdecl _mbsbtype(str long) @ cdecl _mbsbtype(str long)
......
...@@ -607,7 +607,7 @@ ...@@ -607,7 +607,7 @@
@ cdecl _mbctombb(long) @ cdecl _mbctombb(long)
@ stub _mbctombb_l @ stub _mbctombb_l
@ cdecl _mbctoupper(long) @ cdecl _mbctoupper(long)
@ stub _mbctoupper_l @ cdecl _mbctoupper_l(long ptr)
@ stub _mblen_l @ stub _mblen_l
@ cdecl _mbsbtype(str long) @ cdecl _mbsbtype(str long)
@ stub _mbsbtype_l @ stub _mbsbtype_l
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment