[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnugo-devel] a bug (insignificant) - v3.2
From: |
Paul Pogonyshev |
Subject: |
[gnugo-devel] a bug (insignificant) - v3.2 |
Date: |
Wed, 19 Jun 2002 19:21:01 +0300 |
command
boardsize n
where n is 2-4 or 20-25 leads to abnormal program termination
reason:
file interface/play_ascii.c contains lines
[663] if (num < 2 || num > 25) {
[664] printf("\nInvalid board size: %d\n", num);
...
which fail the assert in gnugo_clear_board and should be changed to
if (num < MIN_BOARD || num > MAX_BOARD) {
printf("\nInvalid board size: %d\n", num);
...
regards,
Paul Pogonyshev
- [gnugo-devel] a bug (insignificant) - v3.2,
Paul Pogonyshev <=