From: H.G. Muller Date: Sat, 14 Sep 2013 09:27:18 +0000 (+0200) Subject: Fix Linux sigint problem X-Git-Url: http://winboard.nl/cgi-bin?p=bonanza.git;a=commitdiff_plain;h=68fbef80b4cff5f70326d9c3136ca90ad524fce1 Fix Linux sigint problem Bonanza does not disable signals, and would thus be killed by XBoard sending SIGINT. The sigint=0 feature now pervents that. --- diff --git a/proce.c b/proce.c index 30ccacb..e94c973 100644 --- a/proce.c +++ b/proce.c @@ -173,7 +173,7 @@ Out("# command = '%s'\n", line); Out("feature option=\"centi-Pawn margin -spin 200 0 25000\"\n"); #endif Out("feature variants=\"shogi\" usermove=1 myname=\"Bonanza " BNZ_VER - "\" memory=1 smp=1 debug=1 colors=0 setboard=1 ping=1 done=1\n"); + "\" memory=1 smp=1 debug=1 colors=0 setboard=1 ping=1 sigint=0 done=1\n"); } IF("new") { forceMode = plyNr = 0; SetTimes(); return 0; } IF("easy") { strcpy(line, "ponder off"); return 0; }