mozilla/rust — pull request #5023 by mitsuhiko (2013-02-19 01:56:02+00:00)
Title: os::make_absolute() and WindowsPath Refactoring and Fixes

This pull request moves the logic from os::make_absolute() into the path module and fixes path joining for Windows. It does this by adding an ``unsafe_join()`` function that implements the operating system's path joining semantics.

Additionally it also adds an ``is_restricted()`` method to the trait which will return true if the path points to a windows device file.