From a54caffda027a6b48bb4315b90d782d5d098bc68 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sun, 19 Mar 2017 21:18:53 +0000 Subject: [PATCH] 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. --- bin/sh/expand.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bin/sh/expand.c b/bin/sh/expand.c index ce353a5f5d63..7f3a8ab6c72c 100644 --- a/bin/sh/expand.c +++ b/bin/sh/expand.c @@ -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; }