ignore SIGPIPE in tests

This commit is contained in:
Ryan Dahl 2011-09-16 15:36:35 -07:00
parent 2640aae125
commit f00a5e6503

View File

@ -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);
} }