in fics.c, the line:
if (sscanf(line, "Creating: %s (%s) %s (%s) %*s %s %c",
will not parse correctly using the standard C library with ubuntu 7.04, gcc 4.2.1. In order to work correctly, it must be changed to:
if (sscanf(line, "Creating: %s (%[-+0-9]) %s (%[-+0-9]) %*s %s %c",
I'm assuming that the (%s) syntax does work on some compiler/environment setup, otherwise it would never have worked. So, what needs to be done is some conditional compilation depending on which syntax sscanf() uses. I don't know how to determine that.
The symptoms of this problem include:
Engine unable to play when assigned white.
Engine won't even start unless '-killEngine false' and '-haveCmdNew true' are specified.
fix game detection
Logged In: YES
user_id=1861893
Originator: YES
File Added: detect.patch