hpcc-systems/HPCC-Platform — pull request #4317 by afishbeck (2013-04-26 20:30:01+00:00)
Title: HPCC-9214 Include remoteSubFiles when replicating CResolvedFile on slave

Remote sub files were not being serialized/deserialized when
CResolvedFiles were copied to slaves as CSlaveDynamicFile.

subFiles and remoteSubFiles must have the same number of items or
issues will arise when invalid item numbers are accessed. The remote
file descriptors were also not accessible on the slave nodes.

Also move a call to queryMatchingRemotePart to inside the if block where
the result is used.

Signed-off-by: Anthony Fishbeck