Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
@@ -93,7 +93,8 @@ public:
if (sizeRead < chunkSize)
{
buf.setLength(buf.length() - (chunkSize - sizeRead));
- break;
+ if (!sizeRead)
+ break;
}
pipe->closeOutput();
@@ -620,7 +620,6 @@ protected:
if (resolved)
files.append(*const_cast<IResolvedFile *>(resolved));
- doPreload(0, resolved);
Owned<IPropertyTreeIterator> it = ccdChannels->getElements("RoxieSlaveProcess");
ForEach(*it)