Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2017 21:18:53 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r315585 - head/bin/sh
Message-ID:  <201703192118.v2JLIrPj034431@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jilles
Date: Sun Mar 19 21:18:53 2017
New Revision: 315585
URL: https://svnweb.freebsd.org/changeset/base/315585

Log:
  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.

Modified:
  head/bin/sh/expand.c

Modified: head/bin/sh/expand.c
==============================================================================
--- head/bin/sh/expand.c	Sun Mar 19 20:51:28 2017	(r315584)
+++ head/bin/sh/expand.c	Sun Mar 19 21:18:53 2017	(r315585)
@@ -522,10 +522,7 @@ expbackq(union node *cmd, int quoted, in
 		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;
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703192118.v2JLIrPj034431>