Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: workers/40626 (commit 6c476c22) causes multiple test failures
- X-seq: zsh-workers 40656
- From: Sebastian Gniazdowski <psprint@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: workers/40626 (commit 6c476c22) causes multiple test failures
- Date: Mon, 27 Feb 2017 09:31:45 +0000 (UTC)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1488198164; bh=/CHxJ9axRcZKpJAjTP8x8tXJveSAsDZJesWj+gnvC50=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=lbDyq+ojtWWEFH9KVN8PCOakIZlNJYQhkQLgo9icjD7XATinwNN+xzTHYXeDAbT72OVihVrpS8fGfQGDkEQfka0kS7QJzk/lnWxIz7bm1kiJJf8TWSI+V/HZyiID/NMvzYaT2n2ZuxRD7VAWKQ7K0TIY9QiQskfaNo+QAaQ5WnLppnhVRdBqZFvB0YXTWz05LTKx0qkQ1rnuOwarKK0nOnlHEiJifB0Syq3JlqyFcxsH9QUfztKO44lV54bHquILrzBUJiRL+a8K+QP6sv2ahG3tWvWk4YwAwuOF+ojDzIF6apVWqgugASF3cJA+zmbAu4kXuCNGS9f0RbL9jv4WmQ==
- In-reply-to: <170226114216.ZM4201@torch.brasslantern.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: <170225160455.ZM15040@torch.brasslantern.com> <20170226061620.GA3729@fujitsu.shahaf.local2> <170226114216.ZM4201@torch.brasslantern.com>
- Reply-to: Sebastian Gniazdowski <psprint@xxxxxxxxx>
On Sunday, February 26, 2017 8:42 PM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> I suspect this is what comes of some attempt to optimize assignments.
It's impossible, hashes weren't optimized. BTW options+=( ), etc. still segfault. Added:
fprintf( stderr, "Pointer of old: %p, pointer of new: %p\n", pm->u.hash, ht );
fflush( stderr );
to setpmoptions(). Shows nicely what you've described in comment in code, don't know how to obtain the same pointer of which you mention, but you can revert to 5.1.1, apply above fprintf, and see it will be still the same. Any problem is impossible because hashes weren't optimized, and optimizations are guarded by: v->pm->gsu.a->setfn == arrsetfn.
--
Sebastian Gniazdowski
psprint@xxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author