All of lore.kernel.org
 help / color / mirror / Atom feed
From: kupcevic@sourceware.org <kupcevic@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] conga/ricci Changelog common/executils.cpp
Date: 17 Jul 2006 22:45:37 -0000	[thread overview]
Message-ID: <20060717224537.29205.qmail@sourceware.org> (raw)

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)



                 reply	other threads:[~2006-07-17 22:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060717224537.29205.qmail@sourceware.org \
    --to=kupcevic@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.