aboutsummaryrefslogtreecommitdiff
path: root/src/process.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-12-12 01:07:10 +0000
committerMike Buland <eichlan@xagasoft.com>2007-12-12 01:07:10 +0000
commit42e91b48b003dae34edd8f41b82ba0d7ffa67d16 (patch)
tree714355824329b2c0cd8bff2e1bdb3f8b0002b1b6 /src/process.cpp
parentbc4bf91165b4f32fd5a956f9c5164d3c2af8cd98 (diff)
downloadlibbu++-42e91b48b003dae34edd8f41b82ba0d7ffa67d16.tar.gz
libbu++-42e91b48b003dae34edd8f41b82ba0d7ffa67d16.tar.bz2
libbu++-42e91b48b003dae34edd8f41b82ba0d7ffa67d16.tar.xz
libbu++-42e91b48b003dae34edd8f41b82ba0d7ffa67d16.zip
Added more tracey goodness, this is incomplete, but cool looking.
Also removed some debugging from Process, it needs a helper to clear a buffer, or an option to ignore stderr.
Diffstat (limited to 'src/process.cpp')
-rw-r--r--src/process.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/process.cpp b/src/process.cpp
index 5dab243..719996b 100644
--- a/src/process.cpp
+++ b/src/process.cpp
@@ -87,7 +87,6 @@ size_t Bu::Process::read( void *pBuf, size_t nBytes )
87 size_t iRet = ::read( iStdOut, (char *)pBuf+iTotal, nBytes-iTotal ); 87 size_t iRet = ::read( iStdOut, (char *)pBuf+iTotal, nBytes-iTotal );
88 if( iRet == 0 ) 88 if( iRet == 0 )
89 return iTotal; 89 return iTotal;
90 printf("--read=%d / %d--\n", iRet, iTotal+iRet );
91 iTotal += iRet; 90 iTotal += iRet;
92 if( iTotal == nBytes ) 91 if( iTotal == nBytes )
93 return iTotal; 92 return iTotal;