From 6fc030bbf948f924fe7fcbb700b282abd1872a96 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Wed, 25 Aug 1999 14:41:02 +0000 Subject: zsh-workers/7482 --- Src/exec.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Src/exec.c') diff --git a/Src/exec.c b/Src/exec.c index 91f95fe24..d37acd902 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -1799,8 +1799,11 @@ execcmd(Cmd cmd, int input, int output, int how, int last1) is_exec = 1; } - if (args && !(cflags & BINF_NOGLOB)) + if (args && !(cflags & BINF_NOGLOB)) { + LinkList oargs = args; globlist(args); + args=oargs; + } if (errflag) { lastval = 1; goto err; -- cgit 1.4.1