From dcffad8326878c1a4c539b9b32c6b497f4032e5d Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 3 Jun 2016 10:28:03 +0100 Subject: 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. --- Src/Modules/parameter.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'Src/Modules') diff --git a/Src/Modules/parameter.c b/Src/Modules/parameter.c index edb051785..98bcaba6e 100644 --- a/Src/Modules/parameter.c +++ b/Src/Modules/parameter.c @@ -487,11 +487,6 @@ scanfunctions(UNUSED(HashTable ht), ScanFunc func, int flags, int dis) strcat(pm.u.str, " \"$@\""); } else pm.u.str = dyncat(start, t); - /* - * TBD: Is this unmetafy correct? Surely as this - * is a parameter value it stays metafied? - */ - unmetafy(pm.u.str, NULL); zsfree(t); if (shf->redir) { -- cgit 1.4.1