Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2002:
[Freeciv-Dev] Re: CivServer: start / end command (PR#1786)
Home

[Freeciv-Dev] Re: CivServer: start / end command (PR#1786)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: DHerding@xxxxxx, freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: CivServer: start / end command (PR#1786)
From: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Tue, 23 Jul 2002 13:08:40 +0200

On Sun, Jul 21, 2002 at 03:40:33PM +0200, Reinier Post wrote:
> You can't start a game once a game has been started before because
> nobody has checked the code to free all the allocated data structures
> created once the game starts, and to make sure a second game_init()
> actually reinitialises everything properly.  (Perhaps some code relies
> on the initial zero value of statically allocated data.  I love C.)

Actually the client does make multiple calls to game_init. However the
files in server/*.c remain to be checked.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  +#if defined(__alpha__) && defined(CONFIG_PCI)
  +       /*
  +        * The meaning of life, the universe, and everything. Plus
  +        * this makes the year come out right.
  +        */
  +       year -= 42;
  +#endif
    -- Patch for 1.3.2 (kernel/time.c) from Marcus Meissner


[Prev in Thread] Current Thread [Next in Thread]