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?a=commitdiff_plain;h=c0f427f1ea412d14eac9f7282694a801ecd16f94;p=bonanza.git 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 e385b91..58b8cd4 100644 --- a/proce.c +++ b/proce.c @@ -206,7 +206,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; }