[Bug libstdc++/12412] <fstream>: file opened but no data are written

kouptsov at wsu dot edu gcc-bugzilla@gcc.gnu.org
Fri Sep 26 02:45:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12412



------- Additional Comments From kouptsov at wsu dot edu  2003-09-26 00:44 -------
Adding os.clear() before os.open() worked. But there is no "reopening" the stream. 
It is opened only when t==2, i.e. only once.

Does close() for unopened stream "spoils" it?



More information about the Gcc-bugs mailing list