[Cluster-devel] conga/ricci Changelog common/executils.cpp
kupcevic at sourceware.org
kupcevic at sourceware.org
Mon Jul 17 22:45:37 UTC 2006
CVSROOT: /cvs/cluster
Module name: conga
Changes by: kupcevic at sourceware.org 2006-07-17 22:45:36
Modified files:
ricci : Changelog
ricci/common : executils.cpp
Log message:
ricci: clear stdout/stderr buffers before executing external commands
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/Changelog.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/common/executils.cpp.diff?cvsroot=cluster&r1=1.4&r2=1.5
--- conga/ricci/Changelog 2006/07/12 19:47:50 1.2
+++ conga/ricci/Changelog 2006/07/17 22:45:36 1.3
@@ -1,4 +1,7 @@
+2006-07-17 Stanko Kupcevic <kupcevic at redhat.com>
+ * common/executils.cpp: clear stdout/stderr buffers before executing external commands
+
2006-07-12 Stanko Kupcevic <kupcevic at redhat.com>
* ricci: unauthenticate() should always succeed
* storage module: remove snapshot_usage from state_ind (snapshot usage shouldn't affect state_ind)
--- conga/ricci/common/executils.cpp 2006/03/30 19:48:42 1.4
+++ conga/ricci/common/executils.cpp 2006/07/17 22:45:36 1.5
@@ -54,6 +54,8 @@
if (access(path.c_str(), X_OK))
return 1;
+ out = err = "";
+
int _stdout_pipe[2];
int _stderr_pipe[2];
if (pipe(_stdout_pipe) == -1)
More information about the Cluster-devel
mailing list