zsh-workers
 help / color / mirror / code / Atom feed
* [BUG] Appending by arr[@]//(#e)/... crashes Zsh on WSL
@ 2019-10-21 13:30 Sebastian Gniazdowski
  2019-10-21 13:35 ` Sebastian Gniazdowski
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Gniazdowski @ 2019-10-21 13:30 UTC (permalink / raw)
  To: Zsh hackers list

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-21 13:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-21 13:30 [BUG] Appending by arr[@]//(#e)/... crashes Zsh on WSL Sebastian Gniazdowski
2019-10-21 13:35 ` Sebastian Gniazdowski

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).