patch: fstreams should check results of close()

Nathan Myers ncm@nospam.cantrip.org
Wed Oct 10 13:35:00 GMT 2001


On Wed, Oct 10, 2001 at 04:27:01PM -0400, Phil Edwards wrote:
> There's no way I can think of to write a testsuite entry for this;
> how do we /force/ a call to, say, ofstream::close() to fail?

Can't you close the underlying filebuf manually first?  

Nathan Myers
ncm at cantrip dot org



More information about the Libstdc++ mailing list