msvcrt: Return per-thread information also in lc_codepage_func and lc_handle_func.
This commit is contained in:
parent
ae81a130d2
commit
b88630a42d
|
@ -613,7 +613,7 @@ int CDECL __lconv_init(void)
|
||||||
*/
|
*/
|
||||||
LCID* CDECL ___lc_handle_func(void)
|
LCID* CDECL ___lc_handle_func(void)
|
||||||
{
|
{
|
||||||
return MSVCRT___lc_handle;
|
return get_locinfo()->lc_handle;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*********************************************************************
|
/*********************************************************************
|
||||||
|
@ -621,7 +621,7 @@ LCID* CDECL ___lc_handle_func(void)
|
||||||
*/
|
*/
|
||||||
unsigned int CDECL ___lc_codepage_func(void)
|
unsigned int CDECL ___lc_codepage_func(void)
|
||||||
{
|
{
|
||||||
return MSVCRT___lc_codepage;
|
return get_locinfo()->lc_codepage;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*********************************************************************
|
/*********************************************************************
|
||||||
|
|
Loading…
Reference in New Issue