Skip to content

Commit 31c62ca

Browse files
committed
---
yaml --- r: 2385 b: refs/heads/master c: 2131f2b h: refs/heads/master i: 2383: 2a470f2 v: v3
1 parent 8dbf0e4 commit 31c62ca

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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: 42109f55b071a8763e9ae615aeff56f4013eb194
2+
refs/heads/master: 2131f2bb6bf654fcbf58a66b815f49cffeefe229

trunk/src/lib/fs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fn dirname(path p) -> path {
1616
// FIXME: the '/' character is a path separator on all 3 platforms we
1717
// support. This should probably be generalized a bit more in the
1818
// future, but for now this should work.
19-
i = _str.rindex(p, '/');
19+
i = _str.rindex(p, '/' as u8);
2020
if (i == -1) {
2121
ret p;
2222
}
@@ -57,5 +57,5 @@ fn list_dir(path p) -> vec[str] {
5757
// indent-tabs-mode: nil
5858
// c-basic-offset: 4
5959
// buffer-file-coding-system: utf-8-unix
60-
// compile-command: "make -k -C .. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
60+
// compile-command: "make -k -C $RBUILD 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
6161
// End:

0 commit comments

Comments
 (0)