[Bug libstdc++/26181] istream::operator>>(streambuf*) fails to set eofbit

2006-02-10 Thread pcarlini at suse dot de
--- Comment #9 from pcarlini at suse dot de 2006-02-10 18:30 --- Fixed for 4.2.0. -- pcarlini at suse dot de changed: What|Removed |Added Status|ASSIGNED

[Bug libstdc++/26181] istream::operator>>(streambuf*) fails to set eofbit

2006-02-10 Thread paolo at gcc dot gnu dot org
--- Comment #8 from paolo at gcc dot gnu dot org 2006-02-10 18:29 --- Subject: Bug 26181 Author: paolo Date: Fri Feb 10 18:29:04 2006 New Revision: 110841 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110841 Log: 2006-10-02 Paolo Carlini <[EMAIL PROTECTED]> PR libstd

[Bug libstdc++/26181] istream::operator>>(streambuf*) fails to set eofbit

2006-02-09 Thread sebor at roguewave dot com
--- Comment #7 from sebor at roguewave dot com 2006-02-09 17:43 --- Sure, whatever works for you :) FWIW, I find the current behavior in this specific case quite reasonable (i.e., it seems reasonable to expect to be able to get the current position even when the stream has reached the E

[Bug libstdc++/26181] istream::operator>>(streambuf*) fails to set eofbit

2006-02-09 Thread pcarlini at suse dot de
--- Comment #6 from pcarlini at suse dot de 2006-02-09 17:35 --- (In reply to comment #5) > Here's my analysis copied from the post on the Sun C++ Forum. [snip] Ah, now I remember thanks! It's a very old issue, unrelated to the present one, I remember discussing it briefly with Benjami

[Bug libstdc++/26181] istream::operator>>(streambuf*) fails to set eofbit

2006-02-09 Thread sebor at roguewave dot com
--- Comment #5 from sebor at roguewave dot com 2006-02-09 17:29 --- Here's my analysis copied from the post on the Sun C++ Forum. According to 27.6.1.3, p36a, tellg() behaves as an unformatted input function (as described in 27.6.1.3, p1). >From 27.6.1.3, p1: Each unformatted input fun

[Bug libstdc++/26181] istream::operator>>(streambuf*) fails to set eofbit

2006-02-09 Thread pcarlini at suse dot de
--- Comment #4 from pcarlini at suse dot de 2006-02-09 17:24 --- Martin, I have a patch in the making which is supposed to fix the problem. However, with that patch applied, your testcase still fails the third assertion, that is 'assert (-1 == ifs.tellg ());' at line 15, because tellg r

[Bug libstdc++/26181] istream::operator>>(streambuf*) fails to set eofbit

2006-02-09 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2006-02-09 11:53 --- Working on it. -- pcarlini at suse dot de changed: What|Removed |Added AssignedTo|unassigned at g

[Bug libstdc++/26181] istream::operator>>(streambuf*) fails to set eofbit

2006-02-08 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2006-02-09 00:10 --- Confirmed, thanks a lot! -- pcarlini at suse dot de changed: What|Removed |Added Status|UNCON

[Bug libstdc++/26181] istream::operator>>(streambuf*) fails to set eofbit

2006-02-08 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-02-09 00:07 --- It also fails with "4.1.0 20051026". -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26181