This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Closing stdout
- From: "Gilad Benjamini" <yaelgilad at yahoo dot com>
- To: <libstdc++ at gcc dot gnu dot org>
- Date: Thu, 28 Feb 2002 12:01:18 +0200
- Subject: Closing stdout
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.