[Avida-SVN] r1990 - branches/uml/source/main

hjg at myxo.css.msu.edu hjg at myxo.css.msu.edu
Thu Aug 23 09:27:18 PDT 2007


Author: hjg
Date: 2007-08-23 12:27:18 -0400 (Thu, 23 Aug 2007)
New Revision: 1990

Modified:
   branches/uml/source/main/cTaskLib.cc
Log:
fixed copy bug

Modified: branches/uml/source/main/cTaskLib.cc
===================================================================
--- branches/uml/source/main/cTaskLib.cc	2007-08-23 15:51:30 UTC (rev 1989)
+++ branches/uml/source/main/cTaskLib.cc	2007-08-23 16:27:18 UTC (rev 1990)
@@ -3114,7 +3114,8 @@
 
 // Commented out to remove overhead...	
 	std::ostringstream strstrm;
-	strstrm << "cp " << file_name << " "  << neverclaimFile << "." << m_world->GetStats().GetUpdate() << "." << ctx.getOrganism()->GetID();
+//	strstrm << "cp " << file_name << " "  << neverclaimFile << "." << m_world->GetStats().GetUpdate() << "." << ctx.getOrganism()->GetID();
+	strstrm << "cp tmp.xmi "  << neverclaimFile << "." << m_world->GetStats().GetUpdate() << "." << ctx.getOrganism()->GetID();
 	strstrm << ".xml";	
 	if(system(strstrm.str().c_str())!=0) return 0.0;
 			




More information about the Avida-cvs mailing list