hpcc-systems/HPCC-Platform — pull request #1289 by rengolin (2012-01-18 16:04:39+00:00)
Title: Superfile to self 3.4

If the file lookup is successful (one way or another), we have a super file.
Thus, we can compare its name to the sub-file name and make sure we're not
adding the super-file to itself. The queryFileName returns a null terminated
string, so strcmp does not incurr in buffer overflow.