ignore SIGPIPE in tests
This commit is contained in:
parent
2640aae125
commit
f00a5e6503
@ -65,6 +65,8 @@ void platform_init(int argc, char **argv) {
|
|||||||
#else
|
#else
|
||||||
strcpy(executable_path, argv[0]);
|
strcpy(executable_path, argv[0]);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
signal(SIGPIPE, SIG_IGN);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user