Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author


On 2012-04-23, Peter Stephenson <Peter.Stephenson@xxxxxxx> wrote:
> On Mon, 23 Apr 2012 09:21:23 -0700
> Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>> On Apr 23,  6:10pm, Mikael Magnusson wrote:
>> }
>> } http://www.zsh.org/mla/workers/2010/msg00013.html
>> And
>> http://www.zsh.org/mla/workers/2010/msg00015.html
> Those are basically saying yes, the current set up has problems but we'd
> quite like something.  Hence my immediate suggestions of what we
> *actually* do.
> The only additional matter arising is that it appears quite a lot of
> people would be happy with the limit defaulting off.

I replied with the link because you didn't refer to the previous
discussion at all, so I wasn't sure if you remembered it :).

The problem with the current approach is that it only limits accessing
an array beyond a certain index, even if it's already larger, and you
can create arrays of any size by other means. To me it seems like the
limit is applied in the wrong place at least. If there are places that
unexpectedly create large arrays, we should add the safeguards in
those places, if possible.

Mikael Magnusson

Messages sorted by: Reverse Date, Date, Thread, Author