]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #5023 : mitsuhiko/rust/make-absolute-refactor, r=catamorphism
authorbors <bors@rust-lang.org>
Tue, 26 Feb 2013 22:03:52 +0000 (14:03 -0800)
committerbors <bors@rust-lang.org>
Tue, 26 Feb 2013 22:03:52 +0000 (14:03 -0800)
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.

1  2 
src/libcore/os.rs

Simple merge