From bd70d684fcf40ff1fba07ec69bd08e1ce40cbd2f Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 12 May 2008 13:50:42 +0000 Subject: 25002: only ZLE should update attributes resulting from prompt expansion --- Src/subst.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Src/subst.c') diff --git a/Src/subst.c b/Src/subst.c index 1645764ec..7906f80bd 100644 --- a/Src/subst.c +++ b/Src/subst.c @@ -2699,7 +2699,7 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int ssub) unmetafy(*ap, &len); untokenize(*ap); tmps = unmetafy(promptexpand(metafy(*ap, len, META_NOALLOC), - 0, NULL, NULL), &len); + 0, NULL, NULL, NULL), &len); *ap = dupstring(tmps); free(tmps); } @@ -2710,7 +2710,7 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int ssub) unmetafy(val, &len); untokenize(val); tmps = unmetafy(promptexpand(metafy(val, len, META_NOALLOC), - 0, NULL, NULL), &len); + 0, NULL, NULL, NULL), &len); val = dupstring(tmps); free(tmps); } -- cgit 1.4.1