Commit 90319d16 by Paolo Carlini Committed by Paolo Carlini

std_streambuf.h (uflow): According to 27.5.2.4.3,p16, don't check gptr() < egptr().

2003-06-29  Paolo Carlini  <pcarlini@unitus.it>

	* include/std/std_streambuf.h (uflow): According to
	27.5.2.4.3,p16, don't check gptr() < egptr().

From-SVN: r68664
parent df7fb8f9
2003-06-29 Paolo Carlini <pcarlini@unitus.it>
* include/std/std_streambuf.h (uflow): According to
27.5.2.4.3,p16, don't check gptr() < egptr().
2003-06-28 Paolo Carlini <pcarlini@unitus.it> 2003-06-28 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/9875 PR libstdc++/9875
......
...@@ -692,7 +692,7 @@ namespace std ...@@ -692,7 +692,7 @@ namespace std
int_type __ret = traits_type::eof(); int_type __ret = traits_type::eof();
const bool __testeof = traits_type::eq_int_type(this->underflow(), const bool __testeof = traits_type::eq_int_type(this->underflow(),
__ret); __ret);
if (!__testeof && this->gptr() < this->egptr()) if (!__testeof)
{ {
__ret = traits_type::to_int_type(*this->gptr()); __ret = traits_type::to_int_type(*this->gptr());
this->gbump(1); this->gbump(1);
......
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