Closing stdout

Gilad Benjamini yaelgilad@yahoo.com
Thu Feb 28 06:31:00 GMT 2002


This simple piece of sample code causes a segmentation fault:

cout.close() ;
cout.flush() ;

Same happens if the flush is replaced by a second "close".
Is this something that could be posted as a bug ?

RH7.1
libstdc++  Version: 2.96 Release:81

P.S. The real scenario is not as stupid as this code. This is just an
example.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20020228/5dfd5f7a/attachment.htm>


More information about the Libstdc++ mailing list