about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorEric Reed <ecreed@cs.washington.edu>2013-08-08 17:04:19 -0700
committerEric Reed <ecreed@cs.washington.edu>2013-08-19 16:26:50 -0700
commit88f718341ec279738c07f83289058aadf7c5d235 (patch)
tree6f6b3b771f2b211c293aaa6ea83a0000056d1985 /src/libstd
parentf68514c128e536c5868368861871cb665ed9fdd3 (diff)
downloadrust-88f718341ec279738c07f83289058aadf7c5d235.tar.gz
rust-88f718341ec279738c07f83289058aadf7c5d235.zip
Instruct event loops to ignore SIGPIPE when constructed.
libuv does not always catch SIGPIPE.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/rt/uv/uvll.rs1
1 files changed, 1 insertions, 0 deletions
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)];