kripken/emscripten — pull request #661 by Blechhirn (2012-10-26 13:06:07+00:00)
Title: Fixed splitting issue on file systems that are not case sensitive.

The code was aggregating functions by their source file name (case sensitive) as provided by the compiler (via -g flag). For some reasons there occurred differences in the case of those source file comments (/xyz/testfile.h vs /xyz/TestFile.h).

When subsequently the buckets where written to disk a case-insensitive file system would just materialize the last of such buckets.

The fix is to resort to lower case for all filenames when adding functions to buckets.

I added my self to authors in this pull request: https://github.com/kripken/emscripten/pull/657