🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.lib.bug
Article #204

possible bug in tFile.cc

#204
From: Peter R. Ham
Date: Wed, 06 Dec 1989 18:11
17 lines
1041 bytes
libg++-1.36.1 on the DecStation 3100

I needed to add the line:

cout.flush();

to the last line of the main program in tFile.cc in order to flush all
of the pending output to the standard output.  I think that this is
not supposed to be necessary because some "\n" 's are output, too. Is
exit() supposed to flush these buffers also? Anyway this flush should
be added or I need to do more debugging to find out why streams don't
work right for me.

--
Peter Ham			PO Box 3430	(h)(415) 322-4390
MS Computer Science Student	Stanford, CA	ham@cs.stanford.edu
Stanford University 		94309		(o)(415) 723-2067
Technical Details
Message-ID: <HAM.89Dec6101157@Neon.Stanford.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!lll-winken!decwrl!shelby!neon!neon.Stanford.EDU!ham

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!lll-winken!decwrl!shelby!neon!neon.Stanford.EDU!ham
From: ham@Neon.Stanford.EDU (Peter R. Ham)
Newsgroups: gnu.g++.lib.bug
Subject: possible bug in tFile.cc
Message-ID: <HAM.89Dec6101157@Neon.Stanford.EDU>
Date: 6 Dec 89 18:11:57 GMT
Sender: USENET News System <news@Neon.Stanford.EDU>
Distribution: gnu
Organization: Stanford University
Lines: 17