From mboxrd@z Thu Jan 1 00:00:00 1970 From: kupcevic@sourceware.org Date: 17 Jul 2006 22:45:37 -0000 Subject: [Cluster-devel] conga/ricci Changelog common/executils.cpp Message-ID: <20060717224537.29205.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 + * common/executils.cpp: clear stdout/stderr buffers before executing external commands + 2006-07-12 Stanko Kupcevic * 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)