diff options
author | Peter Stephenson <pws@zsh.org> | 2016-06-03 10:28:03 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2016-06-03 10:28:52 +0100 |
commit | dcffad8326878c1a4c539b9b32c6b497f4032e5d (patch) | |
tree | 365e2a1311d0b244d7026443edc0b4c10f9ea39e /Test | |
parent | f84a5da8c211ca1ee4cc2c656cfae79a598562cb (diff) | |
download | zsh-dcffad8326878c1a4c539b9b32c6b497f4032e5d.tar.gz zsh-dcffad8326878c1a4c539b9b32c6b497f4032e5d.tar.xz zsh-dcffad8326878c1a4c539b9b32c6b497f4032e5d.zip |
38586: Metafication problem with $functions
If treated as a complete associative array or scanned (retrieving individual values was not affected), it incorrectly unmetafied the value so multibyte characters got confused. Add test.
Diffstat (limited to 'Test')
-rw-r--r-- | Test/D07multibyte.ztst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Test/D07multibyte.ztst b/Test/D07multibyte.ztst index 39ba5ef8b..dedf2417a 100644 --- a/Test/D07multibyte.ztst +++ b/Test/D07multibyte.ztst @@ -553,3 +553,12 @@ 0:${(q+)...} with printable multibyte characters >ホ >'She said "ホ". I said "You can'\''t '\''ホ'\'' me!' + +# This will silently succeed if zsh/parameter isn't available + (zmodload zsh/parameter >/dev/null 2>&1 + f() { + : $(:) + "↓" + } + : $functions) +0:Multibtye handled of functions parameter |