make check appeasement

This commit is contained in:
Jeff Olson 2013-08-22 16:33:59 -07:00
parent 8d997fba1a
commit 744c46225e
2 changed files with 3 additions and 2 deletions

View File

@ -59,7 +59,8 @@ impl FsRequest {
FsRequest::open_common(loop_, path, flags, mode, Some(cb));
}
pub fn open_sync<P: PathLike>(loop_: &Loop, path: &P, flags: int, mode: int) -> Result<int, UvError> {
pub fn open_sync<P: PathLike>(loop_: &Loop, path: &P, flags: int, mode: int)
-> Result<int, UvError> {
let result = FsRequest::open_common(loop_, path, flags, mode, None);
sync_cleanup(loop_, result)
}

View File

@ -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();
}