All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] conga/ricci Changelog common/executils.cpp
@ 2006-07-17 22:45 kupcevic
  0 siblings, 0 replies; only message in thread
From: kupcevic @ 2006-07-17 22:45 UTC (permalink / raw)
  To: cluster-devel.redhat.com

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@redhat.com> 
+  * common/executils.cpp: clear stdout/stderr buffers before executing external commands
+
 2006-07-12  Stanko Kupcevic <kupcevic@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)



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-17 22:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-17 22:45 [Cluster-devel] conga/ricci Changelog common/executils.cpp kupcevic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.