Fix Linux sigint problem
authorH.G. Muller <h.g.muller@hccnet.nl>
Sat, 14 Sep 2013 09:27:18 +0000 (11:27 +0200)
committerH.G. Muller <h.g.muller@hccnet.nl>
Sat, 14 Sep 2013 09:27:18 +0000 (11:27 +0200)
Bonanza does not disable signals, and would thus be killed by XBoard
sending SIGINT. The sigint=0 feature now pervents that.

proce.c

diff --git a/proce.c b/proce.c
index 30ccacb..e94c973 100644 (file)
--- 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; }