conga/ricci Changelog common/executils.cpp
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
ricci/Changelog +3 -0
@@ -1,4 +1,7 @@ +2006-07-17 Stanko Kupcevic <[email protected]> + * common/executils.cpp: clear stdout/stderr buffers before executing external commands + 2006-07-12 Stanko Kupcevic <[email protected]> * ricci: unauthenticate() should always succeed * storage module: remove snapshot_usage from state_ind (snapshot usage shouldn't affect state_ind)
ricci/common/executils.cpp +2 -0
@@ -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)