Bug - Introjucer hang due to duplicate file name


#1

If the list of files added to a project through introjucer contains the same filename twice (in different directories, for instance), saving the project will cause a hang as findBestHashMultiplier() is unable to find a non-colliding hash multiplier.

We had a few files across a multi-tier directory system which made spotting this stray file less obvious than it could have been, an early out and warning message might be handy or maybe a call to removeduplicates before the hash mulitplier is found?

Hope that helps,
Myk


#2

Thanks very much, I’ve checked in a fix for this now.