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;
 }
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to