From cba1d41ffc5c544d01e2ba67be414914b45e80e7 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 29 May 2015 12:17:18 +0100 Subject: 2037: ${functions[foo]} shouldn't be unmetafied. When passed back from the parameter-specific "get" handler it's still in the shell's internals, so remains metafied. This caused mayhem with UTF-8 characters in function bodies. --- 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 55157a90c..04d448529 100644 --- a/Src/Modules/parameter.c +++ b/Src/Modules/parameter.c @@ -410,11 +410,6 @@ getfunction(UNUSED(HashTable ht), const char *name, int dis) } else h = dyncat(start, t); zsfree(t); - /* - * TBD: Is this unmetafy correct? Surely as this - * is a parameter value it stays metafied? - */ - unmetafy(h, NULL); if (shf->redir) { t = getpermtext(shf->redir, NULL, 1); -- cgit 1.4.1