Module Name: src Committed By: kre Date: Sun Jun 18 07:50:46 UTC 2017
Modified Files: src/bin/sh: expand.c Log Message: NFC: DEBUG mode only change. Fix botched cleanup of one TRACE(). To generate a diff of this commit: cvs rdiff -u -r1.116 -r1.117 src/bin/sh/expand.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/bin/sh/expand.c diff -u src/bin/sh/expand.c:1.116 src/bin/sh/expand.c:1.117 --- src/bin/sh/expand.c:1.116 Sat Jun 17 07:22:12 2017 +++ src/bin/sh/expand.c Sun Jun 18 07:50:46 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: expand.c,v 1.116 2017/06/17 07:22:12 kre Exp $ */ +/* $NetBSD: expand.c,v 1.117 2017/06/18 07:50:46 kre Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)expand.c 8.5 (Berkeley) 5/15/95"; #else -__RCSID("$NetBSD: expand.c,v 1.116 2017/06/17 07:22:12 kre Exp $"); +__RCSID("$NetBSD: expand.c,v 1.117 2017/06/18 07:50:46 kre Exp $"); #endif #endif /* not lint */ @@ -537,8 +537,8 @@ expari(const char *p) recordregion(begoff, begoff + q - 1 - expdest, 0); adjustment = q - expdest - 1; STADJUST(adjustment, expdest); /* move expdest to end */ - VTRACE(DBG_EXPAND, ("expari: adding %d \"%s\", produced \"%s\" " - "returning \"%.5s...\"\n", adjustment, stackblock() + begoff, p)); + VTRACE(DBG_EXPAND, ("expari: adding %d \"%s\", returning \"%.5s...\"\n", + adjustment, stackblock() + begoff, p)); return p; }