Skip to content

Commit 3410c52

Browse files
committed
---
yaml --- r: 4639 b: refs/heads/master c: 4fc0848 h: refs/heads/master i: 4637: 1272eaa 4635: 514b5bd 4631: 234f7fa 4623: 0271a7a 4607: 90c3a45 v: v3
1 parent f6b60fc commit 3410c52

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 8561f7654cdf86d2d48d4c0fcf6f9a1bb5f117f0
2+
refs/heads/master: 4fc0848a497ca24dd8626b6c409cb8ffce98001f

trunk/src/lib/posix_fs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

22
native "rust" mod rustrt {
3-
fn rust_list_files_ivec(path: str) -> @[str];
3+
fn rust_list_files(path: str) -> @[str];
44
fn rust_dirent_filename(ent: os::libc::dirent) -> str;
55
}
66

77
fn list_dir(path: str) -> [str] {
8-
ret *rustrt::rust_list_files_ivec(path);
8+
ret *rustrt::rust_list_files(path);
99
// TODO ensure this is always closed
1010

1111
// FIXME: No idea why, but this appears to corrupt memory on OSX. I

trunk/src/lib/win32_fs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11

22

33
native "rust" mod rustrt {
4-
fn rust_list_files_ivec(path: str) -> @[str];
4+
fn rust_list_files(path: str) -> @[str];
55
fn rust_file_is_dir(path: str) -> int;
66
}
77

88
fn list_dir(path: str) -> [str] {
9-
ret *rustrt::rust_list_files_ivec(path + "*");
9+
ret *rustrt::rust_list_files(path + "*");
1010
}
1111

1212
fn path_is_absolute(p: str) -> bool {

trunk/src/rt/rust_builtin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ rust_str* c_str_to_rust(rust_task *task, char const *str) {
443443
}
444444

445445
extern "C" CDECL rust_box*
446-
rust_list_files_ivec(rust_task *task, rust_str *path) {
446+
rust_list_files(rust_task *task, rust_str *path) {
447447
array_list<rust_str*> strings;
448448
#if defined(__WIN32__)
449449
WIN32_FIND_DATA FindFileData;

trunk/src/rt/rustrt.def.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ rust_dirent_filename
4848
rust_file_is_dir
4949
rust_get_stdin
5050
rust_get_stdout
51-
rust_list_files_ivec
51+
rust_list_files
5252
rust_process_wait
5353
rust_ptr_eq
5454
rust_run_program

0 commit comments

Comments
 (0)