OliverUwira wrote:You caught me. That is really evil, the abyss of the C standard library...
Ok, I can't test it now (no compiler at hand) but if you'd like to fix it right away, in the file uci.c, line 110
if(!strncmp(cmd, uciCode: Select all
, [b]strlen(uci[code][/b]))) is the culprit... if(!strcmp(cmd, uci[code])) should fix the problem.[/quote] That fixes it! :) Jim.
New Version: Kurt 0.9.2 beta
Moderators: hgm, Rebel, chrisw
-
- Posts: 1417
- Joined: Fri Jul 14, 2006 7:56 am
- Location: London, England
- Full name: Jim Ablett
Re: New Version: Kurt 0.9.2 beta
-
- Posts: 170
- Joined: Mon Sep 13, 2010 9:57 am
- Location: Frankfurt am Main
Re: New Version: Kurt 0.9.2 beta
I thought so...Jim Ablett wrote: That fixes it!
Jim.
Well, I'll replace all strncmp() uses by strcmp(). Even though the mantra goes "Thou shalt use strncmp() for it is safer than strcmp()!".
Unfortunately it is not safer if you test for "moves" before "movestogo"...
Maybe if(!strncmp(cmd, uci
Code: Select all
, strlen(cmd))) would also help. We'll see tonight.
-
- Posts: 170
- Joined: Mon Sep 13, 2010 9:57 am
- Location: Frankfurt am Main
Re: New Version: Kurt 0.9.2 beta
OliverUwira wrote: Maybe if(!strncmp(cmd, uciCode: Select all
, strlen(cmd))) would also help.[/quote] It did. Corrected version uploaded. This time, the x64 binary is statically linked, too. :oops: [url]http://home.arcor.de/steve-o13/kurt/kurt_0_9_2_beta_update.zip[/url] Many thanks to all of you for the feedback. I shouldn't have rushed releasing before I went to that tourney (see OP).
-
- Posts: 1417
- Joined: Fri Jul 14, 2006 7:56 am
- Location: London, England
- Full name: Jim Ablett
Re: New Version: Kurt 0.9.2 beta
Kurt 0.9.2 beta JA builds - Windows/Linux 64/32 bit pgo compiles.
Also added a few small changes/snippets to the src code so it can compile under Linux.
Download:
http://dl.dropbox.com/u/5047625/kurt-092-beta-ja.zip
Mirror:
http://www.mediafire.com/?j553jurlz99y0jm
Jim.
Also added a few small changes/snippets to the src code so it can compile under Linux.
Download:
http://dl.dropbox.com/u/5047625/kurt-092-beta-ja.zip
Mirror:
http://www.mediafire.com/?j553jurlz99y0jm
Jim.
-
- Posts: 170
- Joined: Mon Sep 13, 2010 9:57 am
- Location: Frankfurt am Main
Re: New Version: Kurt 0.9.2 beta
Nice, that was on my to-do list, work saved now, many thanks.Jim Ablett wrote: Also added a few small changes/snippets to the src code so it can compile under Linux.
Also, another problem turned up, as my "fix" created problems with the other commands - ponderhit and ponder got confused.
So I simply made it strcmp everywhere in the protocol handling...
http://home.arcor.de/steve-o13/kurt/kur ... update.zip
I'm now going to start on the reading of PGNs for Winboard tournaments and evaluation rewrite and tuning, both of which will become a new version.
-
- Posts: 41600
- Joined: Sun Feb 26, 2006 10:52 am
- Location: Auckland, NZ
Re: New Version: Kurt 0.9.2 beta
Hi Oliver,OliverUwira wrote:Nice, that was on my to-do list, work saved now, many thanks.Jim Ablett wrote: Also added a few small changes/snippets to the src code so it can compile under Linux.
Also, another problem turned up, as my "fix" created problems with the other commands - ponderhit and ponder got confused.
So I simply made it strcmp everywhere in the protocol handling...
http://home.arcor.de/steve-o13/kurt/kur ... update.zip
I'm now going to start on the reading of PGNs for Winboard tournaments and evaluation rewrite and tuning, both of which will become a new version.
for some reason that link doesn't work here?
Cheers,
Graham.
gbanksnz at gmail.com
-
- Posts: 170
- Joined: Mon Sep 13, 2010 9:57 am
- Location: Frankfurt am Main
-
- Posts: 8
- Joined: Sat Feb 18, 2023 3:19 pm
- Full name: Murat Çiçek
Re: New Version: Kurt 0.9.2 beta
Its impossible I know but. I am wondering anyone have Kurt_0.9.3b ?
-
- Posts: 8
- Joined: Sat Feb 18, 2023 3:19 pm
- Full name: Murat Çiçek
Re: New Version: Kurt 0.9.2 beta
OliverUwira wrote: ↑Sat Oct 23, 2010 9:47 am Sorry, a typo - the "beta" was missing:
http://home.arcor.de/steve-o13/kurt/kur ... update.zip
-
- Posts: 1301
- Joined: Sun Mar 12, 2006 6:46 pm
- Location: Kelowna
- Full name: Tony Mokonen
Re: New Version: Kurt 0.9.2 beta
You can download various versions of Kurt here:
http://kirr.homeunix.org/chess/engines/ ... lett/KURT/
It includes a few different 0.9.2 beta updates. I don't think there was a 0.9.3 version. As far as I know the latest version is 0.9.2.2.
http://kirr.homeunix.org/chess/engines/ ... lett/KURT/
It includes a few different 0.9.2 beta updates. I don't think there was a 0.9.3 version. As far as I know the latest version is 0.9.2.2.