Skip to content
Snippets Groups Projects
Commit defba51a authored by rswindell's avatar rswindell
Browse files

Ignore broken pipe/socket (SIGPIPE) signal.

parent 9eec98c1
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,7 @@
#include "sbbs.h"
#include "conwrap.h" /* this has to go BEFORE curses.h so getkey() can be macroed around */
#include <curses.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/time.h>
#ifdef __QNX__
......@@ -382,6 +383,8 @@ int main(int argc, char** argv) {
}
}
signal(SIGPIPE, SIG_IGN);
uifc.size=sizeof(uifc);
i=uifcinic(&uifc); /* curses */
if(i!=0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment