Skip to content

Commit c5b789f

Browse files
committed
---
yaml --- r: 1745 b: refs/heads/master c: 0c7545c h: refs/heads/master i: 1743: e7bd4a1 v: v3
1 parent e7ace42 commit c5b789f

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
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: 460d89156f1fcfc9613a578a7c2218308236d212
2+
refs/heads/master: 0c7545c1ceb96dce7e4ace1718dcb3077f877135

trunk/src/lib/win32_fs.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@ impure fn list_dir(str path) -> vec[str] {
77
ret rustrt.rust_list_files(path+"*");
88
}
99

10-
const char path_sep = '\\';
10+
/* FIXME: win32 path handling actually accepts '/' or '\' and has subtly
11+
* different semantics for each. Since we build on mingw, we are usually
12+
* dealing with /-separated paths. But the whole interface to splitting and
13+
* joining pathnames needs a bit more abstraction on win32. Possibly a vec or
14+
* tag type.
15+
*/
16+
const char path_sep = '/';
1117

1218
// Local Variables:
1319
// mode: rust;

0 commit comments

Comments
 (0)