Skip to content

Commit f06fdd5

Browse files
committed
stdlib: Use the right upcall in win32_fs. Maybe puts out burning tinderbox?
1 parent a3add84 commit f06fdd5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib/win32_fs.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ native "rust" mod rustrt {
66
fn rust_file_is_dir(str path) -> int;
77
}
88

9-
fn list_dir(str path) -> str[] { ret *rustrt::rust_list_files(path + "*"); }
9+
fn list_dir(str path) -> str[] {
10+
ret *rustrt::rust_list_files_ivec(path + "*");
11+
}
1012

1113
fn path_is_absolute(str p) -> bool {
1214
ret str::char_at(p, 0u) == '/'

0 commit comments

Comments
 (0)