[freeciv-ai] Re: (PR#7342) cm patch: heap-allocate the combinations
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[freeciv-ai] Re: (PR#7342) cm patch: heap-allocate the combinations |
From: |
"Benoit Hudson" <bh@xxxxxxxxxxxxxxxxxxx> |
Date: |
Mon, 19 Jul 2004 19:10:50 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=7342 >
On Mon, Jul 19, 2004 at 07:12:11AM -0700, Jason Short wrote:
> > [bhudson - Wed Apr 14 00:25:16 2004]:
> > > [i-freeciv-lists@xxxxxxxxxxxxx - Sun Feb 01 03:18:38 2004]:
> > > We should add a check into fc_(re)malloc. A malloc over 20mb should be
> > > denied.
> >
> > Here's a patch to do just that, and I've removed MAX_COMBINATIONS.
>
> Cool. But the patch doesn't apply anymore.
The file moved, but the patch still applies. Do:
patch utility/mem.c < 20mb-max.patch
-- Benoît
- [freeciv-ai] Re: (PR#7342) cm patch: heap-allocate the combinations,
Benoit Hudson <=
|
|