aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-30 16:50:01 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-30 16:50:01 +0000
commit52bf7e5fde9d27590d5c8a7e2485fbe39da53db8 (patch)
treed69d763444506ad6b3787120f781a27870405b3a
parent91a72e05f165e8230d510df90e896c4a25b681e3 (diff)
downloadpaludis-52bf7e5fde9d27590d5c8a7e2485fbe39da53db8.tar.gz
paludis-52bf7e5fde9d27590d5c8a7e2485fbe39da53db8.tar.xz
Add pstream debug output for now
-rw-r--r--paludis/pstream.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/paludis/pstream.cc b/paludis/pstream.cc
index 25bef9a..f2f6311 100644
--- a/paludis/pstream.cc
+++ b/paludis/pstream.cc
@@ -21,6 +21,9 @@
#include <errno.h>
#include <cstring>
+/// \bug VV debug log
+#include <iostream>
+
using namespace paludis;
PStreamError::PStreamError(const std::string & message) throw () :
@@ -57,6 +60,9 @@ PStreamInBuf::PStreamInBuf(const std::string & command) :
_command(command),
fd(popen(command.c_str(), "r"))
{
+ /// \bug VV debug log
+ std::cerr << "DEBUG: popen " << command << std::endl;
+
if (0 == fd)
throw PStreamError("popen('" + _command + "', 'r') failed: " +
strerror(errno));