[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnugo-devel] Patch: Current version in CVS doesn't compile
From: |
Inge Wallin |
Subject: |
[gnugo-devel] Patch: Current version in CVS doesn't compile |
Date: |
Wed, 21 Jan 2004 18:38:35 +0100 |
User-agent: |
KMail/1.4.3 |
Here is a quick fix that makes the current Gnu go from CVS compile again.
-Inge
Index: interface/play_gtp.c
===================================================================
RCS file: /cvsroot/gnugo/gnugo/interface/play_gtp.c,v
retrieving revision 1.139
diff -u -r1.139 play_gtp.c
--- interface/play_gtp.c 21 Jan 2004 12:59:07 -0000 1.139
+++ interface/play_gtp.c 21 Jan 2004 17:33:16 -0000
@@ -2201,13 +2201,14 @@
gtp_unconditional_status(char *s)
{
int i, j;
+ enum dragon_status status;
if (!gtp_decode_coord(s, &i, &j))
return gtp_failure("invalid coordinate");
silent_examine_position(BLACK, EXAMINE_WORMS);
- enum dragon_status status = worm[POS(i, j)].unconditional_status;
+ status = worm[POS(i, j)].unconditional_status;
if (status == UNKNOWN)
return gtp_success("undecided");
return gtp_success("%s", status_to_string(status));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnugo-devel] Patch: Current version in CVS doesn't compile,
Inge Wallin <=