msvcp90: Fix basic_istream<wchar>::read implementation.
This commit is contained in:
parent
1a13012605
commit
75bcbece56
|
@ -7156,7 +7156,7 @@ static basic_istream_char* basic_istream_char__Read_s(basic_istream_char *this,
|
||||||
DEFINE_THISCALL_WRAPPER(basic_istream_char_read, 12)
|
DEFINE_THISCALL_WRAPPER(basic_istream_char_read, 12)
|
||||||
basic_istream_char* __thiscall basic_istream_char_read(basic_istream_char *this, char *str, streamsize count)
|
basic_istream_char* __thiscall basic_istream_char_read(basic_istream_char *this, char *str, streamsize count)
|
||||||
{
|
{
|
||||||
return basic_istream_char__Read_s(this, str, count, count);
|
return basic_istream_char__Read_s(this, str, -1, count);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ?_Readsome_s@?$basic_istream@DU?$char_traits@D@std@@@std@@QAEHPADIH@Z */
|
/* ?_Readsome_s@?$basic_istream@DU?$char_traits@D@std@@@std@@QAEHPADIH@Z */
|
||||||
|
@ -8397,7 +8397,7 @@ static basic_istream_wchar* basic_istream_wchar__Read_s(basic_istream_wchar *thi
|
||||||
DEFINE_THISCALL_WRAPPER(basic_istream_wchar_read, 12)
|
DEFINE_THISCALL_WRAPPER(basic_istream_wchar_read, 12)
|
||||||
basic_istream_wchar* __thiscall basic_istream_wchar_read(basic_istream_wchar *this, wchar_t *str, streamsize count)
|
basic_istream_wchar* __thiscall basic_istream_wchar_read(basic_istream_wchar *this, wchar_t *str, streamsize count)
|
||||||
{
|
{
|
||||||
return basic_istream_wchar__Read_s(this, str, count, count);
|
return basic_istream_wchar__Read_s(this, str, -1, count);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ?_Readsome_s@?$basic_istream@_WU?$char_traits@_W@std@@@std@@QAEHPA_WIH@Z */
|
/* ?_Readsome_s@?$basic_istream@_WU?$char_traits@_W@std@@@std@@QAEHPA_WIH@Z */
|
||||||
|
|
|
@ -8111,7 +8111,7 @@ DEFINE_THISCALL_WRAPPER(basic_istream_char_read, 12)
|
||||||
#endif
|
#endif
|
||||||
basic_istream_char* __thiscall basic_istream_char_read(basic_istream_char *this, char *str, streamsize count)
|
basic_istream_char* __thiscall basic_istream_char_read(basic_istream_char *this, char *str, streamsize count)
|
||||||
{
|
{
|
||||||
return basic_istream_char__Read_s(this, str, count, count);
|
return basic_istream_char__Read_s(this, str, -1, count);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ?_Readsome_s@?$basic_istream@DU?$char_traits@D@std@@@std@@QAEHPADIH@Z */
|
/* ?_Readsome_s@?$basic_istream@DU?$char_traits@D@std@@@std@@QAEHPADIH@Z */
|
||||||
|
@ -9418,7 +9418,7 @@ DEFINE_THISCALL_WRAPPER(basic_istream_wchar_read, 12)
|
||||||
#endif
|
#endif
|
||||||
basic_istream_wchar* __thiscall basic_istream_wchar_read(basic_istream_wchar *this, wchar_t *str, streamsize count)
|
basic_istream_wchar* __thiscall basic_istream_wchar_read(basic_istream_wchar *this, wchar_t *str, streamsize count)
|
||||||
{
|
{
|
||||||
return basic_istream_wchar__Read_s(this, str, count, count);
|
return basic_istream_wchar__Read_s(this, str, -1, count);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ?_Readsome_s@?$basic_istream@_WU?$char_traits@_W@std@@@std@@QAEHPA_WIH@Z */
|
/* ?_Readsome_s@?$basic_istream@_WU?$char_traits@_W@std@@@std@@QAEHPA_WIH@Z */
|
||||||
|
|
Loading…
Reference in New Issue