Author: Eiko Bleicher
Date: 08:41:16 10/25/03
Go up one level in this thread
Hello Tord,
>After spending a few hours debugging, I found that the crash occurs in the
>following
>innocent-looking function:
>
>void uci_wait_for_command() {
> char command[10000];
>
> fgets(command, 10000, stdin);
> uci_handle_command(command); }
does this help?
char *command = new char[10000];
fgets(command, 10000, stdin);
uci_handle_command(command);
// ...
delete command;
Eiko
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.