summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Rosin <peda@lysator.liu.se>2013-08-23 20:54:19 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2013-08-23 20:54:19 +1000
commit14f70561a50fc8eba75b818a4705fed44da2ba2e (patch)
treeffaf59da24f789b4d442c9ed3b2bac2e3a678fc0
parent[MAN] Markup fixes in manual for mandoc 1.12.1 (diff)
downloaddash-14f70561a50fc8eba75b818a4705fed44da2ba2e.tar.gz
dash-14f70561a50fc8eba75b818a4705fed44da2ba2e.zip
[VAR] Add newline when tracing in poplocalvars
Signed-off-by: Peter Rosin <peda@lysator.liu.se>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--ChangeLog4
-rw-r--r--src/var.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a813002..9500c87 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@
 
 	* Propagate EXP_QPAT in subevalvar.
 
+2013-03-12  Peter Rosin <peda@lysator.liu.se>
+
+	* Add newline when tracing in poplocalvars.
+
 2013-01-10  Jérémie Courrèges-Anglas <jca+dash@wxcvbn.org>
 
 	* Markup fixes in manual for mandoc 1.12.1.
diff --git a/src/var.c b/src/var.c
index dc90249..c35e925 100644
--- a/src/var.c
+++ b/src/var.c
@@ -547,7 +547,7 @@ poplocalvars(int keep)
 	while ((lvp = next) != NULL) {
 		next = lvp->next;
 		vp = lvp->vp;
-		TRACE(("poplocalvar %s", vp ? vp->text : "-"));
+		TRACE(("poplocalvar %s\n", vp ? vp->text : "-"));
 		if (keep) {
 			int bits = VSTRFIXED;