We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa0381d commit a7fc5deCopy full SHA for a7fc5de
src/lib/win32_os.rs
@@ -61,8 +61,8 @@ fn pipe() -> {in: int, out: int} {
61
let fds = {mutable in: 0, mutable out: 0};
62
let res =
63
os::libc::_pipe(ptr::mut_addr_of(fds.in), 1024u,
64
- libc_constants::O_BINARY() |
65
- libc_constants::O_NOINHERIT());
+ libc_constants::O_BINARY |
+ libc_constants::O_NOINHERIT);
66
assert (res == 0);
67
assert (fds.in != -1 && fds.in != 0);
68
assert (fds.out != -1 && fds.in != 0);
0 commit comments