Commit defba51a authored by rswindell's avatar rswindell
Browse files

Ignore broken pipe/socket (SIGPIPE) signal.

parent 9eec98c1
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment