Refactor code to find the full file path before comparing against existing items in the list so that we stop adding duplicate entries for all the files in the system include path and with larger amounts of code hitting the MAXFILES limit.
Fixes: 3dc64b0b ("Add test case for bug #1 (closed) + proposed fix.")
Closes: #2 (closed)
Signed-off-by: Alan Coopersmith alan.coopersmith@oracle.com