This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/2913: iostreams ignore No space left on device condition
- From: bkoz at gcc dot gnu dot org
- To: donut at azstarnet dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, pme at gcc dot gnu dot org
- Date: 11 Jan 2002 05:38:56 -0000
- Subject: Re: libstdc++/2913: iostreams ignore No space left on device condition
- Reply-to: bkoz at gcc dot gnu dot org, donut at azstarnet dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, pme at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: iostreams ignore No space left on device condition
State-Changed-From-To: analyzed->feedback
State-Changed-By: bkoz
State-Changed-When: Thu Jan 10 21:38:54 2002
State-Changed-Why:
Fixed in mainline with this, please confirm:
2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2913
libstdc++/4879
* include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
return value of _M_file->sync().
(filebuf::showmanyc): Check for is_open.
* include/std/fstream (filebuf::sync): Tweak.
* testsuite/27_io/filebuf.cc: Tweak.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=2913