[Avida-SVN] r1463 - trunk/source/analyze
matt at myxo.css.msu.edu
matt at myxo.css.msu.edu
Thu Apr 5 14:05:56 PDT 2007
Author: matt
Date: 2007-04-05 17:05:56 -0400 (Thu, 05 Apr 2007)
New Revision: 1463
Modified:
trunk/source/analyze/cAnalyze.cc
Log:
Close the file pointer in MapTask analyze command.
Modified: trunk/source/analyze/cAnalyze.cc
===================================================================
--- trunk/source/analyze/cAnalyze.cc 2007-04-05 16:36:13 UTC (rev 1462)
+++ trunk/source/analyze/cAnalyze.cc 2007-04-05 21:05:56 UTC (rev 1463)
@@ -4044,6 +4044,7 @@
filename.Set("%stasksites.%s.html", static_cast<const char*>(directory), static_cast<const char*>(genotype->GetName()));
}
ofstream& fp = m_world->GetDataFileOFStream(filename);
+
// Construct linked filenames...
cString next_file("");
@@ -4246,6 +4247,7 @@
delete [] col_pass_count;
delete [] col_fail_count;
+ fp.close(); //Close file pointer
}
}
More information about the Avida-cvs
mailing list