Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2003:
[Freeciv-Dev] Re: (PR#6182) remove some static map-sized arrays
Home

[Freeciv-Dev] Re: (PR#6182) remove some static map-sized arrays

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#6182) remove some static map-sized arrays
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 19 Sep 2003 06:40:55 -0700
Reply-to: rt@xxxxxxxxxxxxxx

Gregory Berkolaiko wrote:
> Sorry about a late answer, it was bounced yesterday.
> 
> On Wed, 17 Sep 2003, Jason Short wrote:
> 
> 
>>>BTW, I appreciate the elegance of using  
>>>     mem = realloc(mem, ..)                  (1)
>>>instead of
>>>     if (!mem) {
>>>       mem = malloc(...)                     (2)
>>>     }
>>
>>Since you may run multiple games with one civserver, the realloc (or 
>>some other cleverness) is necessary.
> 
> 
> Can you do it now?  IIRC no.  And why would you want to?  It's much easier 
> to start another process, easier to control and all.

I'm pretty sure you can do it now.  Per made a patch for this some time 
ago.  Of course nobody ever does it so it may not work...

jason




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