shithub: plan9front

Download patch

ref: 24bd67f990fde5f25783293f57f651c93ce19125
parent: a73f41bf4ee5fbee20391922ed56c0310e3ccae9
author: Igor Böhm <igor@9lab.org>
date: Tue Oct 5 05:40:30 EDT 2021

acme: remove superfluous print arguments (patch from plan9port)

--- a/sys/src/cmd/acme/exec.c	Tue Oct  5 05:27:45 2021
+++ b/sys/src/cmd/acme/exec.c	Tue Oct  5 05:40:30 2021
@@ -176,14 +176,14 @@
 		if(n <= EVENTSIZE)
 			winevent(t->w, "%c%d %d %d %d %.*S\n", c, aq0, aq1, f, n, n, r);
 		else
-			winevent(t->w, "%c%d %d %d 0 \n", c, aq0, aq1, f, n);
+			winevent(t->w, "%c%d %d %d 0 \n", c, aq0, aq1, f);
 		if(q0!=aq0 || q1!=aq1){
 			n = q1-q0;
 			bufread(t->file, q0, r, n);
 			if(n <= EVENTSIZE)
 				winevent(t->w, "%c%d %d 0 %d %.*S\n", c, q0, q1, n, n, r);
 			else
-				winevent(t->w, "%c%d %d 0 0 \n", c, q0, q1, n);
+				winevent(t->w, "%c%d %d 0 0 \n", c, q0, q1);
 		}
 		if(a){
 			winevent(t->w, "%c0 0 0 %d %s\n", c, utflen(a), a);