File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 25ed29a0edb3d48fef843a0b818ee68faf2252da
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 60fba4d7d677ec098e6a43014132fe99f7547363
5
- refs/heads/try: 10ff5355b3668cb14ffde844abd49457a61c87cc
5
+ refs/heads/try: c0fba3c4acc52dba67461e485a3798cfa236761b
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
Original file line number Diff line number Diff line change 13
13
#include < malloc.h>
14
14
#endif
15
15
16
+ #ifndef __WIN32__
17
+ // for signal
18
+ #include < signal.h>
19
+ #endif
20
+
16
21
#include " uv.h"
17
22
18
23
#include " rust_globals.h"
19
24
20
25
extern " C" void *
21
26
rust_uv_loop_new () {
27
+ // XXX libuv doesn't always ignore SIGPIPE even though we don't need it.
28
+ #ifndef __WIN32__
29
+ signal (SIGPIPE, SIG_IGN);
30
+ #endif
22
31
return (void *)uv_loop_new ();
23
32
}
24
33
You can’t perform that action at this time.
0 commit comments