Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: mikachu/badarrays (Re: Valgrind testing, ideas)
- X-seq: zsh-workers 41183
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxx>
- Subject: Re: mikachu/badarrays (Re: Valgrind testing, ideas)
- Date: Tue, 30 May 2017 22:47:28 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=B53uOoufa0v4ynQcnIrIvzhAKZtJAqQtyuWWZDpKvqA=; b=XeRimjAYbWkbvtNmOnQao5aEK7arw0acHB3BB7M06AQAhTJKzwHivODoG+xIl42mdB PDRyRz9bRHCPw+iXXoT+NGLt+LRj140t0i/QgUx3DkoJfUTAKo1MOEdFNsELggvcRnaX dk3woWoI8gclYRMAEm3B8JSZfRIW8Nr/pf/8hh+1rvHYKM2BCVUid75HzQmBZ/nwIWe+ xqCrfav9BGT6mQxO+wfvcIPO2PtMSV1Ah3gHeaRtrWNNpjdNGveAChJBYSyVBh+YeKRA j/3+BVaFZe+wjELLWGySx/MyOf5K5Zz8xA2RZP0enUxPsgWF2RVJh7OxAumVC8/B0KQg c4Ew==
- In-reply-to: <CAHYJk3QEJ__xMgiMNS8O8yLaPaF_XeYmwYTRaG-Dfrba4cmNWg@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <etPan.5927b758.12200854.1a9@MacMini.local> <170528124337.ZM9444@torch.brasslantern.com> <CAHYJk3QEJ__xMgiMNS8O8yLaPaF_XeYmwYTRaG-Dfrba4cmNWg@mail.gmail.com>
On May 29, 3:21pm, Mikael Magnusson wrote:
}
} Well, it never worked in the first place, that's why i put "bad" in
} the name. It's basically just a documentation of the places I found
} that would need to be updated to use a cached length value, but since
} it doesn't work I guess I didn't find all of them, or I misunderstood
} some parts of the code that I changed...
It also appears we've run out of bits for PM_CACHELEN and PM_CHECKEN,
the 19 and 20 bit positions are are now occupied by PM_DONTIMPORT_SUID
and PM_SINGLE, though I suppose PM_KSHSTORED and PM_ZSHSTORED could do
double duty as they won't apply to arrays and functions at once.
With respect to "it doesn't work" -- in commits f4ab07b4 and b7c2ddf6
you say you're adding typeset -C and typeset -c to control PM_CACHELEN
and PM_CHECKLEN but looking at the diffs you only added the argument
parsing; I can't find anywhere that PM_CACHELEN or PM_CHECKLEN are ever
assigned to the parameter flags?
I believe I've now merged params.c ... I tried forcing both of the new
flags on for non-special PM_ARRAY params in createparam(), and all tests
seem to pass except those involving the $match array, which implies one
of us did something wrong in setarrvalue() for post_assignment_length.
I think.
--
Barton E. Schaefer
Messages sorted by:
Reverse Date,
Date,
Thread,
Author