diff options
| author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-29 10:31:06 +0000 |
|---|---|---|
| committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-29 10:31:06 +0000 |
| commit | 8730644903566c31a3dcbb3cb2f29581969a6922 (patch) | |
| tree | 6f65ac3f8687860abce0bc6e4289795aa9d7496a | |
| parent | 78379bd9541e9b5ce55d7cc767cd21ce210872a5 (diff) | |
| download | ppe42-gcc-8730644903566c31a3dcbb3cb2f29581969a6922.tar.gz ppe42-gcc-8730644903566c31a3dcbb3cb2f29581969a6922.zip | |
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().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68664 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
| -rw-r--r-- | libstdc++-v3/include/std/std_streambuf.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 0304542596f..b2907b383d7 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +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> PR libstdc++/9875 diff --git a/libstdc++-v3/include/std/std_streambuf.h b/libstdc++-v3/include/std/std_streambuf.h index bf6aa428280..f29fea5f5b7 100644 --- a/libstdc++-v3/include/std/std_streambuf.h +++ b/libstdc++-v3/include/std/std_streambuf.h @@ -692,7 +692,7 @@ namespace std int_type __ret = traits_type::eof(); const bool __testeof = traits_type::eq_int_type(this->underflow(), __ret); - if (!__testeof && this->gptr() < this->egptr()) + if (!__testeof) { __ret = traits_type::to_int_type(*this->gptr()); this->gbump(1); |

