File: 02_egbb_path.patch

package info (click to toggle)
toga2 3.0.0.1SE1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 832 kB
  • sloc: cpp: 9,954; makefile: 31; sh: 2
file content (36 lines) | stat: -rw-r--r-- 1,131 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Description: Changed windows specific path to /ust/share/egbb
Author: Oliver Korff <ok@xynyx.de>
Last-Update: 2013-06-13
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -22,7 +22,7 @@
 #include "vector.h"
 #include "probe.h"
 
-static char * egbb_path = "c:/egbb/";
+static char * egbb_path = "/usr/share/egbb/";
 static uint32 egbb_cache_size = 16; 
 
 // functions
--- a/src/option.cpp
+++ b/src/option.cpp
@@ -38,7 +38,7 @@
 
    { "OwnBook",  true, "true",           "check",  "", NULL },
    { "BookFile", true, "performance.bin", "string", "", NULL },
-   { "Bitbases Path", true, "c:/egbb/", "string", "", NULL },
+   { "Bitbases Path", true, "/usr/share/egbb/", "string", "", NULL },
    { "Bitbases Cache Size", true, "16", "spin", "min 16 max 1024", NULL },
    { "MultiPV", true, "1", "spin",  "min 1 max 10", NULL },
 
--- a/src/protocol.cpp
+++ b/src/protocol.cpp
@@ -52,7 +52,7 @@
 static bool Infinite; // infinite or ponder mode?
 static bool Delay; // postpone "bestmove" in infinite/ponder mode?
 
-static char * dirptr = "C:/egbb";
+static char * dirptr = "/usr/share/egbb/";
 
 // prototypes