stdlib: Use the right upcall in win32_fs. Maybe puts out burning tinderbox?
This commit is contained in:
parent
a3add84909
commit
f06fdd5ca1
|
@ -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) == '/'
|
||||
|
|
Loading…
Reference in New Issue