diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-06-18 19:49:31 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-06-18 19:49:31 +0000 |
commit | 7cd3655e2e3edc630b21e495438c4b324c50c759 (patch) | |
tree | 53de1076fc4b2099d421e33b399c24601b0e6540 /src/functiongetmakedeps.cpp | |
parent | e6d580738288c85a7eb50182aed4e7dba49d32f2 (diff) | |
download | build-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.cpp | 3 |
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 | ||