Hi

On 03/06/2011 10:25 AM, h.g. muller wrote:
> [...]It should not matter how this option is set, as long as the Polyglot
> binary is in the path. XBoard changes to the -polyglotDir before issung
> the -adapterCommand. No matter what that is,Polyglot will then change to
> the directory of the engine (given in -fd or-sd) before starting it. It
> could be that it matters for where Polyglot makes the log file, but yo
> would typiclly want that in the directory from which you started XBoard.

hmm, seems as if that option is not doing much... I also did a quick
grep across the source and can't find any place where it is used, apart
from in StartChildProcess as a second argument, which seems to be always
"". The second argument is used for the chdir HGM mentioned. But this
doesn't seem to matter if polyglot will change it's directory again
anyway. Can we get rid of this option (and the second argument to
StartChildProcess)?

Anyway, we should update the manual, at the moment it says:

-polyglotDir filename
     Gives the name of the directory in which the Polyglot adapter for
     UCI engines resides.  Default: "/usr/local/share/polyglot".

cheers
        ARUN

_______________________________________________
Bug-XBoard mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-xboard

Reply via email to