Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[BUG] Appending by arr[@]//(#e)/... crashes Zsh on WSL
- X-seq: zsh-workers 44859
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: [BUG] Appending by arr[@]//(#e)/... crashes Zsh on WSL
- Date: Mon, 21 Oct 2019 15:30:05 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=7W7Pv9dJ5RA4eavGauiOUpTeLL6imiLA1b9ZPEPgJcw=; b=mNQsk/r74ge24ZbJppM0TEvdXbHIRJuoljeWcBqlkL4kLjQ4XlA/8xDVYpEXeQW4Z6 BITqakUnj/fys4KVtPGvKnKc094Nbf510SOdOwGE9hW04cJuU1YPBLeSCaiSJTHz5hTS enKa5jjMj7AszV5w1EcjNtbKk2RxqPe5rfVhixrVy7k9wdZkl309trDGI7HVTDMAFT6c SG4I33q3ZlJnmyqvQ4BbGhLRB6thz3Fno8i5OFglAbOwdm5hlFHpW1dyrM1L4noJquOf wLQVvtVr/I47m1kwSoV6dJGuSmVm9gnbrzadS0rHbvXR0vtSjSdJrOyq+z/Ixgn6hFss K7OA==
- 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
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author