This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.
 
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]