[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] Gunnar's patch
From: |
Gunnar Farneback |
Subject: |
Re: [gnugo-devel] Gunnar's patch |
Date: |
Thu, 25 Oct 2001 23:41:54 +0200 |
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:
> Anyone besides me having trouble compiling Gunnar's patch?
>
> After this patch, mkpat is broke on my machine. But Gunnar
> has no problem on his.
The appended patch probably solves the problem.
/Gunnar
--- mkpat.c.orig Thu Oct 25 23:37:37 2001
+++ mkpat.c Thu Oct 25 23:37:47 2001
@@ -948,7 +948,7 @@
generate_autohelper_code(int funcno, int number_of_params, int *labels)
{
int i;
- char varnames[3][5];
+ char varnames[MAXPARAMS][5];
for (i = 0; i < number_of_params; i++) {
if (labels[i] == (int) 't')