Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [BUG] Appending by arr[@]//(#e)/... crashes Zsh on WSL
- X-seq: zsh-workers 44860
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [BUG] Appending by arr[@]//(#e)/... crashes Zsh on WSL
- Date: Mon, 21 Oct 2019 15:35:06 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=4bAPkr3kJKGrnAtF36HqDW2Xsxo81THArwYvhxneysU=; b=kWvSyBGthb2x+9rzKTLAVRidNGaVUfoAuDpdLJADXFB0WMZ1dQMKRnXgRZVXg2PzqY 0xnrgLvWKSYd8AjGJ3O7KtTljqfXDEHzU6E7v5o/GuWSIhHuLic70OJ0sOvxGDncVzxV xHcgQWJ/Ns8J5931Lm7imZS2py2S8KvvX0hEqBd+HJdx5ov2KNAR5e6BBKfTEV/UEcnc Hfr8A5ss4JX4KZVhmyTCaCaYs9ySOZN4O5Io7qiETe9uhdaAvmnAHpSqw6uR2IxWnqxu VPFJOz0l7MRJp0Vd0Ac+i8AEbLh3SAEX8T26SugOYX36p4NUwAtqQhvPNlx7eFPfjU/0 2dZw==
- In-reply-to: <CAKc7PVAKrRviCrvvXfkmyHFBz3O4urMZqiPEc-gt-L9mVTJpoA@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>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVAKrRviCrvvXfkmyHFBz3O4urMZqiPEc-gt-L9mVTJpoA@mail.gmail.com>
PS. The commit might seem to be doing more, but in an investigation
branch the step was only the append-method switch:
https://github.com/zdharma/fast-syntax-highlighting/commit/6590
On Mon, 21 Oct 2019 at 15:30, Sebastian Gniazdowski
<sgniazdowski@xxxxxxxxx> wrote:
>
> Hello,
> I've just fixed a long standing bug in F-Sy-H:
>
> https://github.com/zdharma/fast-syntax-highlighting/issues/146
>
> by a patch that changed appending to an array from:
>
> arr=( ${arr[@]//(#e)/an-appendage} )
>
> with a manual loop:
>
> for __ in ${arr[@]}; do
> __s+=( ${__}an-appendage )
> done
>
> The exact commit is:
> https://github.com/zdharma/fast-syntax-highlighting/commit/9a6f
>
> I guess that a Valgrind run would be helpful. BTW. How are the
> automatic Valgrind tests doing? They would be helpful now.
>
> --
> Sebastian Gniazdowski
> News: https://twitter.com/ZdharmaI
> IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
> Blog: http://zdharma.org
--
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author