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

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


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

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

Modified: development/source/analyze/cAnalyze.cc
===================================================================
--- development/source/analyze/cAnalyze.cc	2007-06-07 02:24:12 UTC (rev 1653)
+++ development/source/analyze/cAnalyze.cc	2007-06-07 16:19:19 UTC (rev 1654)
@@ -1758,7 +1758,8 @@
     ofstream& fp = m_world->GetDataFileOFStream(filename);
     CommandDetail_Header(fp, file_type, output_it);
     CommandDetail_Body(fp, file_type, output_it);
-  }
+		fp.close();
+	}
   
   // And clean up...
   while (output_list.GetSize() != 0) delete output_list.Pop();




More information about the Avida-cvs mailing list