diff options
| author | Eric Reed <ecreed@cs.washington.edu> | 2013-08-08 17:04:19 -0700 |
|---|---|---|
| committer | Eric Reed <ecreed@cs.washington.edu> | 2013-08-19 16:26:50 -0700 |
| commit | 88f718341ec279738c07f83289058aadf7c5d235 (patch) | |
| tree | 6f6b3b771f2b211c293aaa6ea83a0000056d1985 /src/libstd | |
| parent | f68514c128e536c5868368861871cb665ed9fdd3 (diff) | |
| download | rust-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.rs | 1 |
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)]; |
