mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 16:50:58 +01:00
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.
This commit is contained in:
parent
da603d0a00
commit
cba1d41ffc
2 changed files with 5 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue