diff --git a/src/libstd/rt/uv/file.rs b/src/libstd/rt/uv/file.rs index 1a20ae82f17..405dfe0a7f0 100644 --- a/src/libstd/rt/uv/file.rs +++ b/src/libstd/rt/uv/file.rs @@ -59,7 +59,8 @@ impl FsRequest { FsRequest::open_common(loop_, path, flags, mode, Some(cb)); } - pub fn open_sync(loop_: &Loop, path: &P, flags: int, mode: int) -> Result { + pub fn open_sync(loop_: &Loop, path: &P, flags: int, mode: int) + -> Result { let result = FsRequest::open_common(loop_, path, flags, mode, None); sync_cleanup(loop_, result) } diff --git a/src/rt/rust_uv.cpp b/src/rt/rust_uv.cpp index f90931dbea9..8ef4572f810 100644 --- a/src/rt/rust_uv.cpp +++ b/src/rt/rust_uv.cpp @@ -27,7 +27,7 @@ rust_uv_loop_new() { // XXX libuv doesn't always ignore SIGPIPE even though we don't need it. #ifndef __WIN32__ signal(SIGPIPE, SIG_IGN); -#endif +#endif return (void*)uv_loop_new(); }