On Mon, May 21, 2012 at 06:30:03AM +0000, Simon J. Gerraty wrote:
> Module Name: src
> Committed By: sjg
> Date: Mon May 21 06:30:03 UTC 2012
>
> Modified Files:
> src/usr.bin/make: cond.c
>
> Log Message:
> In meta mode, level 0 can legitimately see > 64 nested .if's
If 64 nested .if's can happen I'd be surprised if increasing it to 128
will suffice.
Given the cost is one byte per .if level - although there is a lot
of other associated buffering going on - setting the limit in the 1000s
wouldn't significantly affect makes's memory footprint.
(IIRC there used to be a two dimensional array!)
David
--
David Laight: [email protected]