On 08/02/16 13:37, Iván Matellanes wrote:
@@ -3514,7 +3514,28 @@ istream* __thiscall istream_read_char(istream *this, char *ch) DEFINE_THISCALL_WRAPPER(istream_read_str, 8) istream* __thiscall istream_read_str(istream *this, char *str) {
- FIXME("(%p %p) stub\n", this, str);
- ios *base = istream_get_ios(this);
- int ch, count = 0;
- TRACE("(%p %p)\n", this, str);
- if (istream_ipfx(this, 0)) {
for (ch = streambuf_sgetc(base->sb);
str && count < (unsigned int) base->width - 1 && !isspace(ch);
ch = streambuf_snextc(base->sb)) {
streambuf_sgetc shouldn't be called if str == NULL.
Thanks, Piotr