re PR libstdc++/5280 (Problems with named locales and iostreams (gnulocale))
authorBenjamin Kosnik <bkoz@redhat.com>
Tue, 30 Apr 2002 07:22:11 +0000 (07:22 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Tue, 30 Apr 2002 07:22:11 +0000 (07:22 +0000)
commit5c352a47a6d4a1a1877ff5fc9e43d42848c05e31
tree12723318288adeb644b70043ed0aa7df5590001f
parent775450350b352ffccc4769689077ed1694dc27ba
re PR libstdc++/5280 (Problems with named locales and iostreams (gnulocale))

2002-04-29  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/5280
* include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
Check for eof.
* include/bits/streambuf_iterator.h: Match stream_iterator.h.
(istreambuf_iterator::operator++): Invalidate on eof.
(istreambuf_iterator::operator++(int)): Same.
(istreambuf_iterator::operator*): Same.

From-SVN: r52933
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/fstream.tcc
libstdc++-v3/include/bits/streambuf_iterator.h