This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/12875] Weird behaviour in basic_filebuf::setbuf()
- From: "peturr02 at ru dot is" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Nov 2003 08:48:56 -0000
- Subject: [Bug libstdc++/12875] Weird behaviour in basic_filebuf::setbuf()
- References: <20031102113858.12875.peturr02@ru.is>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12875
------- Additional Comments From peturr02 at ru dot is 2003-11-04 08:48 -------
> Will work on it: basically, seems to me we have only to adjust the docs,
> since the current behavior is standard conforming.
The current behaviour is conforming, but that doesn't make it OK. IMHO
basic_filebuf should never discard data unless a serious error has occured.