From 744c46225e09bad815b7807ca660cbdbcf187443 Mon Sep 17 00:00:00 2001 From: Jeff Olson Date: Thu, 22 Aug 2013 16:33:59 -0700 Subject: [PATCH] make check appeasement --- src/libstd/rt/uv/file.rs | 3 ++- src/rt/rust_uv.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libstd/rt/uv/file.rs b/src/libstd/rt/uv/file.rs index 1a20ae82f17f..405dfe0a7f09 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 f90931dbea92..8ef4572f8108 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(); }