aboutsummaryrefslogtreecommitdiff
path: root/src/functiongetmakedeps.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-06-18 19:49:31 +0000
committerMike Buland <eichlan@xagasoft.com>2010-06-18 19:49:31 +0000
commit7cd3655e2e3edc630b21e495438c4b324c50c759 (patch)
tree53de1076fc4b2099d421e33b399c24601b0e6540 /src/functiongetmakedeps.cpp
parente6d580738288c85a7eb50182aed4e7dba49d32f2 (diff)
downloadbuild-7cd3655e2e3edc630b21e495438c4b324c50c759.tar.gz
build-7cd3655e2e3edc630b21e495438c4b324c50c759.tar.bz2
build-7cd3655e2e3edc630b21e495438c4b324c50c759.tar.xz
build-7cd3655e2e3edc630b21e495438c4b324c50c759.zip
Fixed some things that broke when Process changed it's functionality slightly.
Diffstat (limited to 'src/functiongetmakedeps.cpp')
-rw-r--r--src/functiongetmakedeps.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/functiongetmakedeps.cpp b/src/functiongetmakedeps.cpp
index cc6cbbb..cfe5459 100644
--- a/src/functiongetmakedeps.cpp
+++ b/src/functiongetmakedeps.cpp
@@ -31,12 +31,13 @@ Variable FunctionGetMakeDeps::call( Variable &/*input*/, VarList lParams )
31 31
32 // Gather all data from the command. 32 // Gather all data from the command.
33 Bu::FString sBuf; 33 Bu::FString sBuf;
34 while( !p.isEos() ) 34 do
35 { 35 {
36 char buf[4096]; 36 char buf[4096];
37 int iRead = p.read( buf, 4096 ); 37 int iRead = p.read( buf, 4096 );
38 sBuf.append( buf, iRead ); 38 sBuf.append( buf, iRead );
39 } 39 }
40 while( !p.isEos() );
40 41
41 pContext->getView()->cmdFinished( "", "", p.childExitStatus() ); 42 pContext->getView()->cmdFinished( "", "", p.childExitStatus() );
42 43