sh: Fix build with -DDEBUG=2.

With the new expansion code (word splitting during instead of after other
expansion processing), tracing the result of command substitution is no
longer possible, so stop trying.
This commit is contained in:
Jilles Tjoelker 2017-03-19 21:18:53 +00:00
parent 2e184b72c3
commit a54caffda0

View File

@ -522,10 +522,7 @@ expbackq(union node *cmd, int quoted, int flag, struct worddest *dst)
exitstatus = waitforjob(in.jp, (int *)NULL);
ungrabstackstr(p, dest);
}
TRACE(("expbackq: size=%td: \"%.*s\"\n",
((dest - stackblock()) - startloc),
(int)((dest - stackblock()) - startloc),
stackblock() + startloc));
TRACE(("expbackq: done\n"));
expdest = dest;
INTON;
}