[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga/ricci/modules/cluster ClusterConf.cpp



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe sourceware org	2006-12-10 18:58:46

Modified files:
	ricci/modules/cluster: ClusterConf.cpp 

Log message:
	close the output fd to make sure the data is flushed to disk before attempting to run ccs_tool

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/ClusterConf.cpp.diff?cvsroot=cluster&r1=1.8&r2=1.9

--- conga/ricci/modules/cluster/ClusterConf.cpp	2006/10/06 03:10:13	1.8
+++ conga/ricci/modules/cluster/ClusterConf.cpp	2006/12/10 18:58:46	1.9
@@ -85,6 +85,7 @@
   fstream fs(tmp_path.c_str(), 
 	     ios_base::out | ios_base::trunc);
   fs << generateXML(xml);
+  fs.close();
   
   // propagate/move to proper place
   if (propagate) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]