Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2006:
[Freeciv-Dev] (PR#10039) size of global worklist is too small
Home

[Freeciv-Dev] (PR#10039) size of global worklist is too small

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#10039) size of global worklist is too small
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 15 Feb 2006 13:13:08 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=10039 >

This patch bumps max_len_worklist up to 64.

Interestingly this doesn't look like it breaks network compatibility. 
The worklist reading code can handle worklists of any length.  Worklist
entries are simply passed to append_worklist which will discard the
extra ones.

-jason

Index: common/worklist.h
===================================================================
--- common/worklist.h   (revision 11592)
+++ common/worklist.h   (working copy)
@@ -18,7 +18,7 @@
 
 #include "fc_types.h"
 
-#define MAX_LEN_WORKLIST 16
+#define MAX_LEN_WORKLIST 64
 #define MAX_NUM_WORKLISTS 16
 
 /* a worklist */

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#10039) size of global worklist is too small, Jason Short <=