[Avida-SVN] r1655 - development/source/analyze

matt at myxo.css.msu.edu matt at myxo.css.msu.edu
Thu Jun 7 09:24:19 PDT 2007


Author: matt
Date: 2007-06-07 12:24:19 -0400 (Thu, 07 Jun 2007)
New Revision: 1655

Modified:
   development/source/analyze/cAnalyze.cc
Log:
Closing analyze mode's detail files when we're done writing them... the right way.

Modified: development/source/analyze/cAnalyze.cc
===================================================================
--- development/source/analyze/cAnalyze.cc	2007-06-07 16:19:19 UTC (rev 1654)
+++ development/source/analyze/cAnalyze.cc	2007-06-07 16:24:19 UTC (rev 1655)
@@ -1758,7 +1758,7 @@
     ofstream& fp = m_world->GetDataFileOFStream(filename);
     CommandDetail_Header(fp, file_type, output_it);
     CommandDetail_Body(fp, file_type, output_it);
-		fp.close();
+		m_world->GetDataFileManager().Remove(filename);
 	}
   
   // And clean up...




More information about the Avida-cvs mailing list