[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]
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
[Freeciv-Dev] Re: (PR#6182) remove some static map-sized arrays, Per I. Mathisen, 2003/09/19
[Freeciv-Dev] Re: (PR#6182) remove some static map-sized arrays, Per I. Mathisen, 2003/09/19
|
|