[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] bug
From: |
Gunnar Farneback |
Subject: |
Re: [gnugo-devel] bug |
Date: |
Wed, 20 Feb 2002 17:40:10 +0100 |
User-agent: |
EMH/1.14.1 SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (sparc-sun-solaris2.7) (with unibyte mode) |
Dan wrote:
> Board sizes smaller than 9x9 are not really supported. GNU Go
> should decline to play with sizes smaller than 9x9 and I thought
> we had fixed that.
I'm not sure I agree about that, but I see no good reason to actively
ask for bug reports on unusual board sizes. Fixed by this patch.
- revised "stepped on a bug" message
/Gunnar
Index: engine/printutils.c
===================================================================
RCS file: /cvsroot/gnugo/gnugo/engine/printutils.c,v
retrieving revision 1.15
diff -u -r1.15 printutils.c
--- engine/printutils.c 19 Feb 2002 16:58:52 -0000 1.15
+++ engine/printutils.c 20 Feb 2002 15:22:31 -0000
@@ -295,10 +295,13 @@
}
#endif
- fprintf(stderr, "\n\
-gnugo %s: You stepped on a bug.\n\
-Please save this game as an sgf file \
-and mail it to address@hidden", gg_version());
+ fprintf(stderr, "\ngnugo %s: You stepped on a bug.\n", gg_version());
+ if (board_size >= 9 && board_size <= 19) {
+ fprintf(stderr, "\
+Please save this game as an sgf file and mail it to address@hidden
+If you can, please also include the debug output above this message.\n");
+ }
+ fprintf(stderr, "\n");
fflush(stderr);
fflush(stdout);