JuliaLang/julia — pull request #1396 by staticfloat (2012-10-16 21:16:32+00:00)
Title: Replace multiple contiguous forward-slash characters with a single one

So that naive functions such as split_path don't end up with empty substrings in their pathnames

I'm not sure which other functions this should be a part of, this was to address https://github.com/JuliaLang/julia/pull/1387