diff options
author | Jilles Tjoelker <jilles@FreeBSD.org> | 2017-03-19 21:18:53 +0000 |
---|---|---|
committer | Jilles Tjoelker <jilles@FreeBSD.org> | 2017-03-19 21:18:53 +0000 |
commit | a54caffda027a6b48bb4315b90d782d5d098bc68 (patch) | |
tree | 860e03f3ca47af20775d629ba17f6384d5516994 /bin | |
parent | 2e184b72c3a85be3504bcfedb40a28f331a7e63e (diff) | |
download | src-a54caffda027a6b48bb4315b90d782d5d098bc68.tar.gz src-a54caffda027a6b48bb4315b90d782d5d098bc68.zip |
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.
Notes
Notes:
svn path=/head/; revision=315585
Diffstat (limited to 'bin')
-rw-r--r-- | bin/sh/expand.c | 5 |
1 files changed, 1 insertions, 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; } |