]> gcc.gnu.org Git - gcc.git/commit - libstdc++-v3/ChangeLog
re PR libstdc++/12297 (istream::sentry::sentry() handles eof() incorrectly.)
authorBenjamin Kosnik <bkoz@redhat.com>
Wed, 26 Nov 2003 22:45:56 +0000 (22:45 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Wed, 26 Nov 2003 22:45:56 +0000 (22:45 +0000)
commit48f499cf81387cc10cc5045519b1bab9ccf40d83
tree61eeb4755c2a89ce526968f83572aff8eafeb13e
parentaef81a9acb17a9eadc5df75007b4364fbfa3a9de
re PR libstdc++/12297 (istream::sentry::sentry() handles eof() incorrectly.)

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.
* testsuite/27_io/basic_istream/sentry/char/12297.cc: New.

From-SVN: r73968
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/istream.tcc
libstdc++-v3/testsuite/27_io/basic_istream/sentry/char/12297.cc [new file with mode: 0644]
This page took 0.052645 seconds and 5 git commands to generate.