joyent/node — pull request #8145 by misterdjules (2014-08-12 02:16:43+00:00)
Title: module: normalize path when computing cache key.

When adding a new module to the cache, and also when querying the cache,
normalize the path so that modules don't get loaded more than once when
they are referenced by the same file name but with different case.

Tested on Windows, Ubuntu 12.04, MacOS X and SmartOS.

Fixes #7031.