msvcp90: Fix EOF handling in basic_filebuf<char>::underflow.
This commit is contained in:
parent
3adb3a3c28
commit
0d3dcd23f4
|
@ -2513,7 +2513,7 @@ int __thiscall basic_filebuf_char_underflow(basic_filebuf_char *this)
|
|||
return *basic_streambuf_char_gptr(&this->base);
|
||||
|
||||
ret = call_basic_filebuf_char_uflow(this);
|
||||
if(ret)
|
||||
if(ret != EOF)
|
||||
ret = call_basic_filebuf_char_pbackfail(this, ret);
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue