stdlib: Use the right upcall in win32_fs. Maybe puts out burning tinderbox?

This commit is contained in:
Patrick Walton 2011-07-12 16:53:16 -07:00
parent a3add84909
commit f06fdd5ca1
1 changed files with 3 additions and 1 deletions

View File

@ -6,7 +6,9 @@ native "rust" mod rustrt {
fn rust_file_is_dir(str path) -> int;
}
fn list_dir(str path) -> str[] { ret *rustrt::rust_list_files(path + "*"); }
fn list_dir(str path) -> str[] {
ret *rustrt::rust_list_files_ivec(path + "*");
}
fn path_is_absolute(str p) -> bool {
ret str::char_at(p, 0u) == '/'