Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.bin/make

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 Laight:

Home | Main Index | Thread Index | Old Index