From: Benjamin Kosnik Date: Tue, 30 Apr 2002 08:28:04 +0000 (+0000) Subject: re PR libstdc++/5820 (EOF not handled correctly on input) X-Git-Tag: releases/gcc-3.1.0~107 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d3d0741fd9d0b38f56a6bb8daeda7e7c35fc583;p=thirdparty%2Fgcc.git re PR libstdc++/5820 (EOF not handled correctly on input) 2002-04-29 Benjamin Kosnik PR libstdc++/5820 * 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: r52936 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 95c5b24c6196..6970448eab22 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -71,11 +71,6 @@ * config/cpu/mmix/bits/cpu_limits.h: New file. * configure.target (CPULIMITSH): Use it. -2002-04-22 Benjamin Kosnik - - * include/bits/istream.tcc (istream::read): Fix. - * testsuite/27_io/istream_unformatted.cc (main): Add. - 2002-04-20 Jason Merrill PR libstdc++/4150