stdlib: added getcwd and a convenience function to make relative paths absolute. This will be helpful for #441.

This commit is contained in:
Eric Holk
2011-06-17 11:12:51 -07:00
parent 175fd8ee73
commit a40116b398
7 changed files with 69 additions and 2 deletions

View File

@@ -7,7 +7,6 @@ native "rust" mod rustrt {
fn list_dir(str path) -> vec[str] { ret rustrt::rust_list_files(path + "*"); }
/* FIXME: win32 path handling actually accepts '/' or '\' and has subtly
* different semantics for each. Since we build on mingw, we are usually
* dealing with /-separated paths. But the whole interface to splitting and