Skip to content

Commit c9b9215

Browse files
committed
---
yaml --- r: 833 b: refs/heads/master c: dd0d255 h: refs/heads/master i: 831: b3e7c8b v: v3
1 parent eb1f0ec commit c9b9215

File tree

4 files changed

+26
-1
lines changed

4 files changed

+26
-1
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: 05c9d885dd8793b507fad9aaf7d89a113d1b2389
2+
refs/heads/master: dd0d25573787b921b4b28487b228f1963965be6e

trunk/src/lib/linux_os.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ mod libc_constants {
3939
fn S_IWUSR() -> uint { ret 0x0080u; }
4040
}
4141

42+
fn path_sep() -> str {
43+
ret "/";
44+
}
45+
46+
fn exec_suffix() -> str {
47+
ret "";
48+
}
49+
4250

4351
// Local Variables:
4452
// mode: rust;

trunk/src/lib/macos_os.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ mod libc_constants {
3939
fn S_IWUSR() -> uint { ret 0x0200u; }
4040
}
4141

42+
fn path_sep() -> str {
43+
ret "/";
44+
}
45+
46+
fn exec_suffix() -> str {
47+
ret "";
48+
}
49+
4250
// Local Variables:
4351
// mode: rust;
4452
// fill-column: 78;

trunk/src/lib/win32_os.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ mod libc_constants {
2929
fn S_IWUSR() -> uint { ret 0x0080u; } // really _S_IWRITE in win32
3030
}
3131

32+
33+
fn path_sep() -> str {
34+
ret "\\";
35+
}
36+
37+
fn exec_suffix() -> str {
38+
ret ".exe";
39+
}
40+
3241
// Local Variables:
3342
// mode: rust;
3443
// fill-column: 78;

0 commit comments

Comments
 (0)