Skip to content

Commit 5ee802e

Browse files
committed
---
yaml --- r: 2444 b: refs/heads/master c: 4b5b96c h: refs/heads/master v: v3
1 parent 6c89d51 commit 5ee802e

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: 7e8b57d1bba8974b21718724f760f547b3b48799
2+
refs/heads/master: 4b5b96c51101a02e18eb2bb27e742ef0b3e74537

trunk/src/lib/macos_OS.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ fn dylib_filename(str base) -> str {
6262
}
6363

6464
fn pipe() -> tup(int, int) {
65-
let vec[mutable int] fds = vec(mutable 0, 0);
65+
let vec[mutable int] fds = vec(0, 0);
6666
assert (OS.libc.pipe(Vec.buf[mutable int](fds)) == 0);
6767
ret tup(fds.(0), fds.(1));
6868
}
@@ -72,7 +72,7 @@ fn fd_FILE(int fd) -> libc.FILE {
7272
}
7373

7474
fn waitpid(int pid) -> int {
75-
let vec[mutable int] status = vec(mutable 0);
75+
let vec[mutable int] status = vec(0);
7676
assert (OS.libc.waitpid(pid, Vec.buf[mutable int](status), 0) != -1);
7777
ret status.(0);
7878
}

0 commit comments

Comments
 (0)