[Bug libstdc++/12297] istream::sentry::sentry() handles eof() incorrectly.
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Nov 26 22:49:00 GMT 2003
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-11-26 22:49 -------
Subject: Bug 12297
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: bkoz@gcc.gnu.org 2003-11-26 22:49:28
Modified files:
libstdc++-v3 : ChangeLog
libstdc++-v3/include/bits: istream.tcc
Log message:
2003-11-26 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/12297
* include/bits/istream.tcc
(basic_istream::sentry::sentry): Set failbit and eofbit when eof.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.1464.2.155&r2=1.1464.2.156
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/istream.tcc.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.36.4.7&r2=1.36.4.8
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12297
More information about the Gcc-bugs
mailing list