Skip to content

Commit 522c580

Browse files
committed
---
yaml --- r: 3439 b: refs/heads/master c: d79330d h: refs/heads/master i: 3437: dbec683 3435: ffb9ff6 3431: 41a8ba5 3423: fafd452 v: v3
1 parent 300ac0d commit 522c580

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-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: 83b7215366b72184320580e562370010576de47f
2+
refs/heads/master: d79330de26b325747dedf3f04b7fdb0194029015

trunk/src/lib/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fn dirname(path p) -> path {
1515
let int i = str::rindex(p, os_fs::path_sep as u8);
1616
if (i == -1) {
1717
i = str::rindex(p, os_fs::alt_path_sep as u8);
18-
if (i == -1) { ret p; }
18+
if (i == -1) { ret "."; }
1919
}
2020
ret str::substr(p, 0u, i as uint);
2121
}

0 commit comments

Comments
 (0)