From 88f718341ec279738c07f83289058aadf7c5d235 Mon Sep 17 00:00:00 2001 From: Eric Reed Date: Thu, 8 Aug 2013 17:04:19 -0700 Subject: Instruct event loops to ignore SIGPIPE when constructed. libuv does not always catch SIGPIPE. --- src/libstd/rt/uv/uvll.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libstd') diff --git a/src/libstd/rt/uv/uvll.rs b/src/libstd/rt/uv/uvll.rs index 65c0cffe5a0..8ed1287fe01 100644 --- a/src/libstd/rt/uv/uvll.rs +++ b/src/libstd/rt/uv/uvll.rs @@ -172,6 +172,7 @@ fn request_sanity_check() { } } +// XXX Event loops ignore SIGPIPE by default. pub unsafe fn loop_new() -> *c_void { #[fixed_stack_segment]; #[inline(never)]; -- cgit 1.4.1-3-g733a5