make check appeasement
This commit is contained in:
parent
8d997fba1a
commit
744c46225e
@ -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)
|
||||
}
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user