[Cluster-devel] conga/ricci/modules/cluster ClusterConf.cpp
rmccabe at sourceware.org
rmccabe at sourceware.org
Sun Dec 10 18:58:46 UTC 2006
CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at 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) {
More information about the Cluster-devel
mailing list